Part of wader.contrib.pdu_sms.pdu View In Hierarchy
Method | __init__ | Create a PDU with encoding specified by
pduformat
|
Method | encode_pdu | Returns a tuple of message length and PDU |
Method | decode_pdu | Decodes a complete SMS pdu and returns a tuple strings |
Method | decode_cds_pdu | Decodes a complete CDS pdu and returns a tuple strings |
Create a PDU
with encoding specified by
pduformat
If pduformat
is None, it will try to infer the encoding
itself
Returns a tuple of message length and PDU
csca = SMSC number request_status = True, False msgref = currently ignored integer 0-255 msgvp = relative validity period as per ETSI (0xff == no validity) Message Encoding format defined by pduformat attribute SMSC can be ommited if phone can use internal defaultspdu
into 7-bit characters and returns the decoded
string