K2InformaticsGmbH / smpp_parser

A parser for SMPP protocol PDUs
Apache License 2.0
3 stars 1 forks source link

erlang:list_to_binary failed Reason: badarg: query_broadcast_sm_resp #78

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 6 years ago
Command: query_broadcast_sm_resp
PDU: "00 00 00 5C 80 00 01 12 00 00 00 00 00 00 00 01 74 68 69 73 5F 63 6F 75 6C 64 5F 62 65 5F 61 5F 6D 65 73 73 61 67 65 5F 69 64 00 04 27 00 01 09 06 06 00 23 01 6D 79 5F 62 72 6F 61 64 63 61 73 74 5F 61 72 65 61 5F 69 64 65 6E 74 69 66 69 65 72 5F 30 30 30 31 32 06 08 00 01 49"

00 00 00 5C # command_length
80 00 01 12 # command_id
00 00 00 00 # command_staus
00 00 00 01 # sequence_error
74 68 69 73 5F 63 6F 75 6C 64 5F 62 65 5F 61 5F 6D 65 73 73 61 67 65 5F 69 64 00 # message_id
TLV message_state
04 27 # parameter tag
00 01 # Length
09 # Value
TLV broadcast_area_identifier
06 06 # Parameter Tag
00 23 # Length
01 6D 79 5F 62 72 6F 61 64 63 61 73 74 5F 61 72 65 61 5F 69 64 65 6E 74 69 66 69 65 72 5F 30 30 30 31 32 
TLV broadcast_area_success
06 08 # Parameter Tag
00 01 # Length
49 # Value