diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2018-04-04 10:34:41 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2018-04-04 20:22:13 +0700 |
commit | a24ead01260b472dcdf5c18190468aac9b9f43cb (patch) | |
tree | 59a96c77226e2fdd543c900450be62fc9bbb0c2b /tests/coding/coding_test.c | |
parent | 9fb7e3a9fbee8a9cd80f617f634174de8321049a (diff) |
gsm0480: copy the raw USSD data, its DCS and length
As it was already documented before, the 'ss_request' struct has
a rudiment of deprecated 'ussd_request' struct - the 'ussd_text'
field. It represents the data either of an INVOKE component,
either of a RETURN_RESULT component, encoded as ASCII in case
if DCS is 0x0f (i.e. decoded by the code itself), otherwise
raw bytes 'as is'.
Previously, there was no possibility to distinguish between
ASCII and raw bytes with different DCS. Moreover, the payload
decoding is not desired in some cases.
Let's introduce the new fields, which will carry the raw
unmodified payload, its length and DCS (Data Coding Scheme).
Change-Id: Ia193d175021e145bb3b131290231f307dbefc64a
Diffstat (limited to 'tests/coding/coding_test.c')
0 files changed, 0 insertions, 0 deletions