Loading...
Searching...
No Matches
gsm_04_80.h File Reference

GSM TS 04.80 definitions (Supplementary Services Specification, Formats and Coding). More...

Go to the source code of this file.

## Macros

#define | GSM0480_MTYPE_RELEASE_COMPLETE 0x2A
#define | GSM0480_MTYPE_FACILITY 0x3A
#define | GSM0480_MTYPE_REGISTER 0x3B
#define | GSM0480_IE_FACILITY 0x1C
#define | GSM0480_IE_SS_VERSION 0x7F
#define | GSM0480_CTYPE_INVOKE 0xA1
#define | GSM0480_CTYPE_RETURN_RESULT 0xA2
#define | GSM0480_CTYPE_RETURN_ERROR 0xA3
#define | GSM0480_CTYPE_REJECT 0xA4
#define | GSM0480_COMPIDTAG_INVOKE_ID 0x02
#define | GSM0480_COMPIDTAG_LINKED_ID 0x80
#define | GSM0480_OPERATION_CODE 0x02
#define | GSM_0480_SEQUENCE_TAG 0x30
#define | GSM_0480_SET_TAG 0x31
#define | GSM_0480_ERROR_CODE_TAG 0x02
#define | GSM_0480_PROBLEM_CODE_TAG_GENERAL 0x80
#define | GSM_0480_PROBLEM_CODE_TAG_INVOKE 0x81
#define | GSM_0480_PROBLEM_CODE_TAG_RETURN_RESULT 0x82
#define | GSM_0480_PROBLEM_CODE_TAG_RETURN_ERROR 0x83
#define | GSM_0480_GEN_PROB_CODE_UNRECOGNISED 0x00
#define | GSM_0480_GEN_PROB_CODE_MISTYPED 0x01
#define | GSM_0480_GEN_PROB_CODE_BAD_STRUCTURE 0x02
#define | GSM_0480_INVOKE_PROB_CODE_DUPLICATE_INVOKE_ID 0x00
#define | GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_OPERATION 0x01
#define | GSM_0480_INVOKE_PROB_CODE_MISTYPED_PARAMETER 0x02
#define | GSM_0480_INVOKE_PROB_CODE_RESOURCE_LIMITATION 0x03
#define | GSM_0480_INVOKE_PROB_CODE_INITIATING_RELEASE 0x04
#define | GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_LINKED_ID 0x05
#define | GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_RESPONSE 0x06
#define | GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_OPERATION 0x07
#define | GSM_0480_RESULT_PROB_CODE_UNRECOGNISED_INVOKE_ID 0x00
#define | GSM_0480_RESULT_PROB_CODE_RETURN_RESULT_UNEXPECTED 0x01
#define | GSM_0480_RESULT_PROB_CODE_MISTYPED_PARAMETER 0x02
#define | GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_INVOKE_ID 0x00
#define | GSM_0480_ERROR_PROB_CODE_RETURN_ERROR_UNEXPECTED 0x01
#define | GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_ERROR 0x02
#define | GSM_0480_ERROR_PROB_CODE_UNEXPECTED_ERROR 0x03
#define | GSM_0480_ERROR_PROB_CODE_MISTYPED_PARAMETER 0x04
#define | GSM0480_OP_CODE_REGISTER_SS 0x0A
#define | GSM0480_OP_CODE_ERASE_SS 0x0B
#define | GSM0480_OP_CODE_ACTIVATE_SS 0x0C
#define | GSM0480_OP_CODE_DEACTIVATE_SS 0x0D
#define | GSM0480_OP_CODE_INTERROGATE_SS 0x0E
#define | GSM0480_OP_CODE_NOTIFY_SS 0x10
#define | GSM0480_OP_CODE_REGISTER_PASSWORD 0x11
#define | GSM0480_OP_CODE_GET_PASSWORD 0x12
#define | GSM0480_OP_CODE_PROCESS_USS_DATA 0x13
#define | GSM0480_OP_CODE_FORWARD_CHECK_SS_IND 0x26
#define | GSM0480_OP_CODE_PROCESS_USS_REQ 0x3B
#define | GSM0480_OP_CODE_USS_REQUEST 0x3C
#define | GSM0480_OP_CODE_USS_NOTIFY 0x3D
#define | GSM0480_OP_CODE_FORWARD_CUG_INFO 0x78
#define | GSM0480_OP_CODE_SPLIT_MPTY 0x79
#define | GSM0480_OP_CODE_RETRIEVE_MPTY 0x7A
#define | GSM0480_OP_CODE_HOLD_MPTY 0x7B
#define | GSM0480_OP_CODE_BUILD_MPTY 0x7C
#define | GSM0480_OP_CODE_FORWARD_CHARGE_ADVICE 0x7D
#define | GSM0480_ERR_CODE_UNKNOWN_SUBSCRIBER 0x01
#define | GSM0480_ERR_CODE_ILLEGAL_SUBSCRIBER 0x09
#define | GSM0480_ERR_CODE_BEARER_SERVICE_NOT_PROVISIONED 0x0A
#define | GSM0480_ERR_CODE_TELESERVICE_NOT_PROVISIONED 0x0B
#define | GSM0480_ERR_CODE_ILLEGAL_EQUIPMENT 0x0C
#define | GSM0480_ERR_CODE_CALL_BARRED 0x0D
#define | GSM0480_ERR_CODE_ILLEGAL_SS_OPERATION 0x10
#define | GSM0480_ERR_CODE_SS_ERROR_STATUS 0x11
#define | GSM0480_ERR_CODE_SS_NOT_AVAILABLE 0x12
#define | GSM0480_ERR_CODE_SS_SUBSCRIPTION_VIOLATION 0x13
#define | GSM0480_ERR_CODE_SS_INCOMPATIBILITY 0x14
#define | GSM0480_ERR_CODE_FACILITY_NOT_SUPPORTED 0x15
#define | GSM0480_ERR_CODE_ABSENT_SUBSCRIBER 0x1B
#define | GSM0480_ERR_CODE_SYSTEM_FAILURE 0x22
#define | GSM0480_ERR_CODE_DATA_MISSING 0x23
#define | GSM0480_ERR_CODE_UNEXPECTED_DATA_VALUE 0x24
#define | GSM0480_ERR_CODE_PW_REGISTRATION_FAILURE 0x25
#define | GSM0480_ERR_CODE_NEGATIVE_PW_CHECK 0x26
#define | GSM0480_ERR_CODE_NUM_PW_ATTEMPTS_VIOLATION 0x2B
#define | GSM0480_ERR_CODE_UNKNOWN_ALPHABET 0x47
#define | GSM0480_ERR_CODE_USSD_BUSY 0x48
#define | GSM0480_ERR_CODE_MAX_MPTY_PARTICIPANTS 0x7E
#define | GSM0480_ERR_CODE_RESOURCES_NOT_AVAILABLE 0x7F
#define | ASN1_BOOLEAN_TAG 0x01
#define | ASN1_INTEGER_TAG 0x02
#define | ASN1_BIT_STRING_TAG 0x03
#define | ASN1_OCTET_STRING_TAG 0x04
#define | ASN1_NULL_TYPE_TAG 0x05
#define | ASN1_OBJECT_ID_TAG 0x06
#define | ASN1_UTF8_STRING_TAG 0x0C
#define | ASN1_PRINTABLE_STRING_TAG 0x13
#define | ASN1_IA5_STRING_TAG 0x16
#define | ASN1_UNICODE_STRING_TAG 0x1E

## Detailed Description

GSM TS 04.80 definitions (Supplementary Services Specification, Formats and Coding).

## Macro Definition Documentation

## ASN1_BIT_STRING_TAG

#define ASN1_BIT_STRING_TAG 0x03

## ASN1_BOOLEAN_TAG

#define ASN1_BOOLEAN_TAG 0x01

## ASN1_IA5_STRING_TAG

#define ASN1_IA5_STRING_TAG 0x16

Referenced by parse_process_uss_data().

## ASN1_INTEGER_TAG

#define ASN1_INTEGER_TAG 0x02

## ASN1_NULL_TYPE_TAG

#define ASN1_NULL_TYPE_TAG 0x05

Referenced by gsm0480_gen_reject().

## ASN1_OBJECT_ID_TAG

#define ASN1_OBJECT_ID_TAG 0x06

## ASN1_OCTET_STRING_TAG

#define ASN1_OCTET_STRING_TAG 0x04

Referenced by gsm0480_create_unstructuredSS_Notify(), gsm0480_gen_ussd_resp_7bit(), parse_process_uss_req(), and parse_ss_for_bs_req().

## ASN1_PRINTABLE_STRING_TAG

#define ASN1_PRINTABLE_STRING_TAG 0x13

## ASN1_UNICODE_STRING_TAG

#define ASN1_UNICODE_STRING_TAG 0x1E

## ASN1_UTF8_STRING_TAG

#define ASN1_UTF8_STRING_TAG 0x0C

## GSM0480_COMPIDTAG_INVOKE_ID

#define GSM0480_COMPIDTAG_INVOKE_ID 0x02

Referenced by gsm0480_gen_reject(), gsm0480_gen_return_error(), gsm0480_gen_ussd_resp_7bit(), gsm0480_wrap_invoke(), parse_ss_invoke(), and parse_ss_return_result().

## GSM0480_COMPIDTAG_LINKED_ID

#define GSM0480_COMPIDTAG_LINKED_ID 0x80

Referenced by parse_ss_invoke().

## GSM0480_CTYPE_INVOKE

#define GSM0480_CTYPE_INVOKE 0xA1

Referenced by gsm0480_parse_facility_ie(), and gsm0480_wrap_invoke().

## GSM0480_CTYPE_REJECT

#define GSM0480_CTYPE_REJECT 0xA4

Referenced by gsm0480_gen_reject(), and gsm0480_parse_facility_ie().

## GSM0480_CTYPE_RETURN_ERROR

#define GSM0480_CTYPE_RETURN_ERROR 0xA3

Referenced by gsm0480_gen_return_error(), and gsm0480_parse_facility_ie().

## GSM0480_CTYPE_RETURN_RESULT

#define GSM0480_CTYPE_RETURN_RESULT 0xA2

Referenced by gsm0480_gen_ussd_resp_7bit(), and gsm0480_parse_facility_ie().

## GSM0480_ERR_CODE_ABSENT_SUBSCRIBER

#define GSM0480_ERR_CODE_ABSENT_SUBSCRIBER 0x1B

## GSM0480_ERR_CODE_BEARER_SERVICE_NOT_PROVISIONED

#define GSM0480_ERR_CODE_BEARER_SERVICE_NOT_PROVISIONED 0x0A

## GSM0480_ERR_CODE_CALL_BARRED

#define GSM0480_ERR_CODE_CALL_BARRED 0x0D

## GSM0480_ERR_CODE_DATA_MISSING

#define GSM0480_ERR_CODE_DATA_MISSING 0x23

## GSM0480_ERR_CODE_FACILITY_NOT_SUPPORTED

#define GSM0480_ERR_CODE_FACILITY_NOT_SUPPORTED 0x15

## GSM0480_ERR_CODE_ILLEGAL_EQUIPMENT

#define GSM0480_ERR_CODE_ILLEGAL_EQUIPMENT 0x0C

## GSM0480_ERR_CODE_ILLEGAL_SS_OPERATION

#define GSM0480_ERR_CODE_ILLEGAL_SS_OPERATION 0x10

## GSM0480_ERR_CODE_ILLEGAL_SUBSCRIBER

#define GSM0480_ERR_CODE_ILLEGAL_SUBSCRIBER 0x09

## GSM0480_ERR_CODE_MAX_MPTY_PARTICIPANTS

#define GSM0480_ERR_CODE_MAX_MPTY_PARTICIPANTS 0x7E

## GSM0480_ERR_CODE_NEGATIVE_PW_CHECK

#define GSM0480_ERR_CODE_NEGATIVE_PW_CHECK 0x26

## GSM0480_ERR_CODE_NUM_PW_ATTEMPTS_VIOLATION

#define GSM0480_ERR_CODE_NUM_PW_ATTEMPTS_VIOLATION 0x2B

## GSM0480_ERR_CODE_PW_REGISTRATION_FAILURE

#define GSM0480_ERR_CODE_PW_REGISTRATION_FAILURE 0x25

## GSM0480_ERR_CODE_RESOURCES_NOT_AVAILABLE

#define GSM0480_ERR_CODE_RESOURCES_NOT_AVAILABLE 0x7F

## GSM0480_ERR_CODE_SS_ERROR_STATUS

#define GSM0480_ERR_CODE_SS_ERROR_STATUS 0x11

## GSM0480_ERR_CODE_SS_INCOMPATIBILITY

#define GSM0480_ERR_CODE_SS_INCOMPATIBILITY 0x14

## GSM0480_ERR_CODE_SS_NOT_AVAILABLE

#define GSM0480_ERR_CODE_SS_NOT_AVAILABLE 0x12

## GSM0480_ERR_CODE_SS_SUBSCRIPTION_VIOLATION

#define GSM0480_ERR_CODE_SS_SUBSCRIPTION_VIOLATION 0x13

## GSM0480_ERR_CODE_SYSTEM_FAILURE

#define GSM0480_ERR_CODE_SYSTEM_FAILURE 0x22

## GSM0480_ERR_CODE_TELESERVICE_NOT_PROVISIONED

#define GSM0480_ERR_CODE_TELESERVICE_NOT_PROVISIONED 0x0B

## GSM0480_ERR_CODE_UNEXPECTED_DATA_VALUE

#define GSM0480_ERR_CODE_UNEXPECTED_DATA_VALUE 0x24

## GSM0480_ERR_CODE_UNKNOWN_ALPHABET

#define GSM0480_ERR_CODE_UNKNOWN_ALPHABET 0x47

## GSM0480_ERR_CODE_UNKNOWN_SUBSCRIBER

#define GSM0480_ERR_CODE_UNKNOWN_SUBSCRIBER 0x01

## GSM0480_ERR_CODE_USSD_BUSY

#define GSM0480_ERR_CODE_USSD_BUSY 0x48

## GSM0480_IE_FACILITY

#define GSM0480_IE_FACILITY 0x1C

Referenced by gsm0480_create_ussd_resp(), gsm0480_extract_ie_by_tag(), gsm0480_wrap_facility(), and parse_ss_info_elements().

## GSM0480_IE_SS_VERSION

#define GSM0480_IE_SS_VERSION 0x7F

Referenced by parse_ss_info_elements().

## GSM0480_MTYPE_FACILITY

#define GSM0480_MTYPE_FACILITY 0x3A

Referenced by gsm0480_extract_ie_by_tag(), and parse_ss().

## GSM0480_MTYPE_REGISTER

#define GSM0480_MTYPE_REGISTER 0x3B

Referenced by gsm0480_create_ussd_notify(), gsm0480_extract_ie_by_tag(), and parse_ss().

## GSM0480_MTYPE_RELEASE_COMPLETE

#define GSM0480_MTYPE_RELEASE_COMPLETE 0x2A

Referenced by gsm0480_create_release_complete(), gsm0480_create_ussd_release_complete(), gsm0480_create_ussd_resp(), gsm0480_extract_ie_by_tag(), and parse_ss().

## GSM0480_OP_CODE_ACTIVATE_SS

#define GSM0480_OP_CODE_ACTIVATE_SS 0x0C

Referenced by parse_ss_invoke().

## GSM0480_OP_CODE_BUILD_MPTY

#define GSM0480_OP_CODE_BUILD_MPTY 0x7C

## GSM0480_OP_CODE_DEACTIVATE_SS

#define GSM0480_OP_CODE_DEACTIVATE_SS 0x0D

Referenced by parse_ss_invoke().

## GSM0480_OP_CODE_ERASE_SS

#define GSM0480_OP_CODE_ERASE_SS 0x0B

## GSM0480_OP_CODE_FORWARD_CHARGE_ADVICE

#define GSM0480_OP_CODE_FORWARD_CHARGE_ADVICE 0x7D

## GSM0480_OP_CODE_FORWARD_CHECK_SS_IND

#define GSM0480_OP_CODE_FORWARD_CHECK_SS_IND 0x26

## GSM0480_OP_CODE_FORWARD_CUG_INFO

#define GSM0480_OP_CODE_FORWARD_CUG_INFO 0x78

## GSM0480_OP_CODE_GET_PASSWORD

#define GSM0480_OP_CODE_GET_PASSWORD 0x12

## GSM0480_OP_CODE_HOLD_MPTY

#define GSM0480_OP_CODE_HOLD_MPTY 0x7B

## GSM0480_OP_CODE_INTERROGATE_SS

#define GSM0480_OP_CODE_INTERROGATE_SS 0x0E

Referenced by parse_ss_invoke().

## GSM0480_OP_CODE_NOTIFY_SS

#define GSM0480_OP_CODE_NOTIFY_SS 0x10

## GSM0480_OP_CODE_PROCESS_USS_DATA

#define GSM0480_OP_CODE_PROCESS_USS_DATA 0x13

Referenced by parse_ss_invoke(), and parse_ss_return_result().

## GSM0480_OP_CODE_PROCESS_USS_REQ

#define GSM0480_OP_CODE_PROCESS_USS_REQ 0x3B

Referenced by gsm0480_gen_ussd_resp_7bit(), parse_ss_invoke(), and parse_ss_return_result().

## GSM0480_OP_CODE_REGISTER_PASSWORD

#define GSM0480_OP_CODE_REGISTER_PASSWORD 0x11

## GSM0480_OP_CODE_REGISTER_SS

#define GSM0480_OP_CODE_REGISTER_SS 0x0A

## GSM0480_OP_CODE_RETRIEVE_MPTY

#define GSM0480_OP_CODE_RETRIEVE_MPTY 0x7A

## GSM0480_OP_CODE_SPLIT_MPTY

#define GSM0480_OP_CODE_SPLIT_MPTY 0x79

## GSM0480_OP_CODE_USS_NOTIFY

#define GSM0480_OP_CODE_USS_NOTIFY 0x3D

Referenced by gsm0480_create_ussd_notify(), parse_ss_invoke(), and parse_ss_return_result().

## GSM0480_OP_CODE_USS_REQUEST

#define GSM0480_OP_CODE_USS_REQUEST 0x3C

Referenced by parse_ss_invoke(), and parse_ss_return_result().

## GSM0480_OPERATION_CODE

#define GSM0480_OPERATION_CODE 0x02

Referenced by gsm0480_gen_ussd_resp_7bit(), gsm0480_wrap_invoke(), and parse_ss_invoke().

## GSM_0480_ERROR_CODE_TAG

#define GSM_0480_ERROR_CODE_TAG 0x02

Referenced by gsm0480_gen_return_error().

## GSM_0480_ERROR_PROB_CODE_MISTYPED_PARAMETER

#define GSM_0480_ERROR_PROB_CODE_MISTYPED_PARAMETER 0x04

## GSM_0480_ERROR_PROB_CODE_RETURN_ERROR_UNEXPECTED

#define GSM_0480_ERROR_PROB_CODE_RETURN_ERROR_UNEXPECTED 0x01

## GSM_0480_ERROR_PROB_CODE_UNEXPECTED_ERROR

#define GSM_0480_ERROR_PROB_CODE_UNEXPECTED_ERROR 0x03

## GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_ERROR

#define GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_ERROR 0x02

## GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_INVOKE_ID

#define GSM_0480_ERROR_PROB_CODE_UNRECOGNISED_INVOKE_ID 0x00

## GSM_0480_GEN_PROB_CODE_BAD_STRUCTURE

#define GSM_0480_GEN_PROB_CODE_BAD_STRUCTURE 0x02

## GSM_0480_GEN_PROB_CODE_MISTYPED

#define GSM_0480_GEN_PROB_CODE_MISTYPED 0x01

## GSM_0480_GEN_PROB_CODE_UNRECOGNISED

#define GSM_0480_GEN_PROB_CODE_UNRECOGNISED 0x00

## GSM_0480_INVOKE_PROB_CODE_DUPLICATE_INVOKE_ID

#define GSM_0480_INVOKE_PROB_CODE_DUPLICATE_INVOKE_ID 0x00

## GSM_0480_INVOKE_PROB_CODE_INITIATING_RELEASE

#define GSM_0480_INVOKE_PROB_CODE_INITIATING_RELEASE 0x04

## GSM_0480_INVOKE_PROB_CODE_MISTYPED_PARAMETER

#define GSM_0480_INVOKE_PROB_CODE_MISTYPED_PARAMETER 0x02

## GSM_0480_INVOKE_PROB_CODE_RESOURCE_LIMITATION

#define GSM_0480_INVOKE_PROB_CODE_RESOURCE_LIMITATION 0x03

## GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_OPERATION

#define GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_OPERATION 0x07

## GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_RESPONSE

#define GSM_0480_INVOKE_PROB_CODE_UNEXPECTED_LINKED_RESPONSE 0x06

## GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_LINKED_ID

#define GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_LINKED_ID 0x05

## GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_OPERATION

#define GSM_0480_INVOKE_PROB_CODE_UNRECOGNISED_OPERATION 0x01

## GSM_0480_PROBLEM_CODE_TAG_GENERAL

#define GSM_0480_PROBLEM_CODE_TAG_GENERAL 0x80

## GSM_0480_PROBLEM_CODE_TAG_INVOKE

#define GSM_0480_PROBLEM_CODE_TAG_INVOKE 0x81

## GSM_0480_PROBLEM_CODE_TAG_RETURN_ERROR

#define GSM_0480_PROBLEM_CODE_TAG_RETURN_ERROR 0x83

## GSM_0480_PROBLEM_CODE_TAG_RETURN_RESULT

#define GSM_0480_PROBLEM_CODE_TAG_RETURN_RESULT 0x82

## GSM_0480_RESULT_PROB_CODE_MISTYPED_PARAMETER

#define GSM_0480_RESULT_PROB_CODE_MISTYPED_PARAMETER 0x02

## GSM_0480_RESULT_PROB_CODE_RETURN_RESULT_UNEXPECTED

#define GSM_0480_RESULT_PROB_CODE_RETURN_RESULT_UNEXPECTED 0x01

## GSM_0480_RESULT_PROB_CODE_UNRECOGNISED_INVOKE_ID

#define GSM_0480_RESULT_PROB_CODE_UNRECOGNISED_INVOKE_ID 0x00

## GSM_0480_SEQUENCE_TAG

#define GSM_0480_SEQUENCE_TAG 0x30

Referenced by gsm0480_create_notifySS(), gsm0480_create_unstructuredSS_Notify(), gsm0480_gen_ussd_resp_7bit(), parse_process_uss_req(), parse_ss_for_bs_req(), and parse_ss_return_result().

## GSM_0480_SET_TAG

#define GSM_0480_SET_TAG 0x31