Tested if it still works. Text was: **321#
Testing parsing a USSD request and truncated versions
Result for 1 is 28
Result for 1 is 27
Result for 1 is 26
Result for 1 is 25
Result for 0 is 24
Result for 0 is 23
Result for 0 is 22
Result for 0 is 21
Result for 0 is 20
Result for 0 is 19
Result for 0 is 18
Result for 0 is 17
Result for 0 is 16
Result for 0 is 15
Result for 0 is 14
Result for 0 is 13
Result for 0 is 12
Result for 0 is 11
Result for 0 is 10
Result for 0 is 9
Result for 0 is 8
Result for 0 is 7
Result for 0 is 6
Result for 0 is 5
Result for 0 is 4
Result for 0 is 3
Mangling the container now
Result for 0 is 28
Result for 0 is 27
Result for 1 is 26
Result for 1 is 25
Result for 0 is 24
Result for 0 is 23
Result for 0 is 22
Result for 0 is 21
Result for 0 is 20
Result for 0 is 19
Result for 0 is 18
Result for 0 is 17
Result for 0 is 16
Result for 0 is 15
Result for 0 is 14
Result for 0 is 13
Result for 0 is 12
Result for 0 is 11
Result for 0 is 10
Result for 0 is 9
Result for 0 is 8
Result for 0 is 7
Result for 0 is 6
Result for 1 is 5
case test for 7 bit encode
original = 30 31 32 33 34 35 36 37
encoded = b0 98 6c 46 ab d9 6e
decoded = 30 31 32 33 34 35 36 37
original = 30 31 32 33 34 35 36
encoded = b0 98 6c 46 ab d9 1a
decoded = 30 31 32 33 34 35 36
original = 30 31 32 33 34 35 36 37 0d
encoded = b0 98 6c 46 ab d9 6e 0d
decoded = 30 31 32 33 34 35 36 37 0d
original = 30 31 32 33 34 35 36 0d
encoded = b0 98 6c 46 ab d9 1a 0d
decoded = 30 31 32 33 34 35 36 0d 0d
original = 30 31 32 33 34 35 0d
encoded = b0 98 6c 46 ab 35 1a
decoded = 30 31 32 33 34 35 0d
Checking GSM 04.80 USSD message generation.
original =
encoded =
decoded =
Created unstructuredSS_Notify (0x00): 30 08 04 01 0f 04 00 04 01 00
original = 66 6f 72 74 79 2d 74 77 6f
encoded = e6 b7 9c 9e 6f d1 ef 6f
decoded = 66 6f 72 74 79 2d 74 77 6f
Created unstructuredSS_Notify (0x42): 30 10 04 01 0f 04 08 e6 b7 9c 9e 6f d1 ef 6f 04 01 42