-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
I'm sending message with pdu mode, down exemple:
AT+CMGF=0
AT+CMGW=26
0011000D91551199368975F40000AA0CC8F71D14969741F977FD07
i'm change the paramiter from 0011... to 0031 for get status delivery report. in my incoming message receive this is message:
+CMGL: 3,1,,26
079155000511445006C10D91551199368975F4719041000250297190410002602940
in decode proccess return:
#<PDUTools::MessagePart:0x00563c76e71f18 @address="\u0011+EHi&b:tcA\f\u0004@\u0000()bA\f\u0004@\u00000)\u0000", @Body="", @timestamp=nil, @validity_period=nil, @user_data_header=nil>
or parameter address invalid.
PDUTools::Decoder.new("079155000511445006B70B911199339980F4719031815354297190318153742900").decode
PDUTools::Decoder::DecodeError: unknown address type: 0B
from /home/help/.rvm/gems/ruby-2.3.1/gems/pdu_tools-0.0.11/lib/pdu_tools/decoder.rb:76:in parse_address_type' from /home/help/.rvm/gems/ruby-2.3.1/gems/pdu_tools-0.0.11/lib/pdu_tools/decoder.rb:20:in decode'
from (irb):18
from /home/help/.rvm/rubies/ruby-2.3.1/bin/irb:11:in `
please help me.
Att.