DecodePdu

From IRON Test Suite
Revision as of 19:25, 16 April 2020 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

This command decodes specified PDU buffer. This command cannot be used in remote.

COMMAND

Command Input arguments Returns
DecodePdu Port index, PDU buffer 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 07911326040000F0040B911346610089F60000208062917314080CC8F71D149697
41F977FD07
SMSC: +31624000000F
PDU type: SMS-DELIVER
Phone number: +31641600986
Alphabet type: default GSM7.
SMS has no message class meaning.
SMS date: 02/08/26
SMS time: 19:37:41+80
Message text: <How are you?>.