DecodePdu

From Ultiroam User Docs
Revision as of 11:04, 27 March 2025 by Administrator (talk | contribs) (Administrator moved page R2D2 - DecodePdu to DecodePdu without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This command decodes specified PDU buffer.

COMMAND

Command Line Arguments Returns
DecodePdu PortIndex,PDUBuffer Decoded PDU, in the case of error, Error Code

OUTPUT
Decoded information from PDU in the following format: "SMSC: %s\nPDU type: %s\n Phone number: %s\n Alphabet type: %s\n SMS class: %s\n SMS date: %s\nSMS time: %s\n Message text: %s\n",smsc_number, dest_number, alphabet_type, sms_class, sms_date, sms_time,message_text

EXAMPLE

~# DecodePdu 001100098121436587F900000B17C8329BFD064D9B5362999DB697E565B96BFC6E8700

SMSC: +33123456789
PDU type: SMS-DELIVER
Phone number: +33666666789
Alphabet type: default GSM7.
SMS has no message class meaning.
SMS date: 02/08/26
SMS time: 19:37:41+80
Message text: <Hello?>.