diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gsm/gsm0480.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/osmocom/gsm/gsm0480.h b/include/osmocom/gsm/gsm0480.h index 05c26dfc..b0b6aa29 100644 --- a/include/osmocom/gsm/gsm0480.h +++ b/include/osmocom/gsm/gsm0480.h @@ -67,6 +67,18 @@ struct ss_request { uint8_t ussd_text[GSM0480_USSD_OCTET_STRING_LEN]; /** + * Represents the data of either an INVOKE, either + * a RETURN_RESULT component 'as is'. Useful when + * decoding is not supported or not desired. + * + * Shall be always followed by its length (in bytes) + * and DCS (Data Coding Scheme). + */ + uint8_t ussd_data[GSM0480_USSD_OCTET_STRING_LEN]; + uint8_t ussd_data_len; /* Length in bytes */ + uint8_t ussd_data_dcs; /* Data Coding Scheme */ + + /** * GSM TS 04.80, section 3.3 "Transaction identifier" * See GSM TS 04.07, section 11.2.3 for details. */ |