Decoding PDU Manually and Sending Empty SMS?
amilkh opened this issue · 2 comments
How can I send an empty SMS with python-messaging?
I was trying to use your returned PDU and locate and set the TP-PID octet using this guide on SMS data format, but was not able to parse the output PDU.
SmsSubmit("125", "hello")
yields 001100038121F50000FF05E8329BFD06
What are the first 6 octets, 001100 for?
Also, if I ignore those and I am understanding correctly:
03 = length of to address (3 octets)
81 = unknown phone number type
21F5 = 125 phone number
00 = TP-PID??
00 = TP-DCS??
FF 05 E8 32 9B FD 06 = time stamp??
At this point, I think I am doing something wrong. I don't think this is following the same format as that guide.
Any ideas?
I guess you need to read more specs :) This is not an issue, it's a question of GSM/MMS. Grab PDUspy and play with it.
Yes, you were right. I found this web-page, VERY helpful: http://www.dreamfabric.com/sms/