diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-05-02 22:37:16 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-04 10:41:07 +0200 |
commit | 4d7e49bc0a094c27352f43cad0a8556a9bd3befa (patch) | |
tree | 3fd99823c8ea055b28910bc236bcb58b20d5594c /tests/sms/sms_test.ok | |
parent | c4cc924074bff7e560380851d92782b255083075 (diff) |
sms: Implement encoding the address as alphanumeric type
The number of digits is the number of used octets times two (two
digits per octet). The result has been successfully dissected by
wireshark. It has not been tested with real phones.
Diffstat (limited to 'tests/sms/sms_test.ok')
-rw-r--r-- | tests/sms/sms_test.ok | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/sms/sms_test.ok b/tests/sms/sms_test.ok index 915a59c8..a71567de 100644 --- a/tests/sms/sms_test.ok +++ b/tests/sms/sms_test.ok @@ -12,4 +12,10 @@ Decode case 5: return value 40 (expected 40) Encoding some tests and printing number of septets/octets SEPTETS: 8 OCTETS: 7 Done +Testing gsm340_gen_oa +Result: len(12) data(14 81 21 43 65 87 09 21 43 65 87 19 ) +Result: len(12) data(14 a1 21 43 65 87 09 21 43 65 87 19 ) +Result: len(2) data(00 91 ) +Result: len(9) data(0e d0 4f 78 d9 2d 9c 0e 01 ) +Result: len(12) data(14 d0 4f 78 d9 2d 9c 0e c3 e2 31 19 ) OK |