Closed c-bik closed 6 years ago
@c-bik this has been fixed with https://github.com/K2InformaticsGmbH/smpp_parser/blob/master/src/smpp.erl#L206-L213 i think.
>smpp:decode(PDU).
{ok,#{broadcast_area_identifier => [#{details => <<"my_broadcast_area_identifier_00001">>, format => 2}],
broadcast_content_type => #{network_type => 3,service => 19},
broadcast_content_type_info =>
<<"my_broadcast_content_type_info_00004">>,
broadcast_frequency_interval =>
#{number => 9,time_unit => 14},
broadcast_rep_num => 0,command_id => <<"broadcast_sm">>,
command_length => 196,command_status => <<"ESME_ROK">>,
data_coding => <<"127">>,
message_id => <<"this_could_be_a_message_id">>,
priority_flag => 1,replace_if_present_flag => 0,
schedule_delivery_time => <<"990823165343000R">>,
sequence_number => 1,service_type => <<"WAP">>,
sm_default_msg_id => 255,source_addr => <<"168.0.0.1">>,
source_addr_npi => <<"Private">>,
source_addr_ton => <<"Unknown">>,
validity_period => <<"990310000000000R">>}}
Fixed as see comment above