K2InformaticsGmbH / smpp_parser

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

TLV user_response_code not supported (4.8.4.62) #34

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 6 years ago

Example data_sm:

 {"data_sm",
  "00 00 00 36 00 00 01 03 00 00 00 00 F1 08 1F 22 57 41 50 00 03 09 31 39 32 "
  "2E 31 2E 31 2E 31 30 00 03 0A 31 39 32 2E 31 2E 31 2E 31 30 00 18 01 00 02 "
  "05 00 01 64"}
f().
D = <<"00 00 00 36 00 00 01 03 00 00 00 00 F1 08 1F 22 57 41 50 00 03 09 31 39 32 2E 31 2E 31 2E 31 30 00 03 0A 31 39 32 2E 31 2E 31 2E 31 30 00 18 01 00 02 05 00 01 64">>.
{ok, DStr} = smpp:decode(D).
smpp:encode(DStr).
DStr == D.
walter-weinmann commented 6 years ago

Issue in test data generation.