K2InformaticsGmbH / smpp_parser

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

no function clause matching smpp:b2a(<<"dest_bearer_type">>). #61

Closed walter-weinmann closed 6 years ago

walter-weinmann commented 6 years ago
=== Reason: no function clause matching smpp:b2a(<<"dest_bearer_type">>) (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 400)
  in function  smpp:'-json2internal/1-fun-1-'/3 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 13)
  in call from lists:foldl/3 (lists.erl, line 1263)
  in call from smpp:encode/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/src/smpp.erl, line 165)
  in call from smpp_test_utils:encode_decode/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/src/smpp_test_utils.erl, line 47)
  in call from compacted_submit_sm_SUITE:test_compacted/1 (d:/K2/smpp_parser_idea/smpp_parser/_build/test/lib/smpp_parser/test/generated/ct/compacted_submit_sm_SUITE.erl, line 49)
  in call from test_server:ts_tc/3 (test_server.erl, line 1546)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1062)

Example:

 {"submit_sm_issue_61",
  "00 00 00 68 00 00 00 04 00 00 00 00 00 00 00 01 55 53 53 44 00 00 06 31 39 "
  "32 2E 31 2E 31 2E 31 30 00 02 03 31 39 32 2E 31 2E 31 2E 31 30 00 01 02 00 "
  "39 39 31 30 32 31 31 34 35 31 34 31 34 34 38 2B 00 39 39 30 39 32 32 31 35 "
  "35 32 34 32 30 30 30 52 00 01 00 00 1F 04 54 68 69 73 02 0B 00 02 30 5A 00 "
  "07 00 01 00"}