DecodePdu: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
m (Administrator moved page R2D2 - DecodePdu to DecodePdu without leaving a redirect)
 
(No difference)

Latest revision as of 11:04, 27 March 2025

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?>.