Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoding PDU Manually and Sending Empty SMS? #24

Closed
amilkh opened this issue Jul 3, 2012 · 2 comments
Closed

Decoding PDU Manually and Sending Empty SMS? #24

amilkh opened this issue Jul 3, 2012 · 2 comments

Comments

@amilkh
Copy link

amilkh commented Jul 3, 2012

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?

@pmarti
Copy link
Owner

pmarti commented Jul 4, 2012

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.

@pmarti pmarti closed this as completed Jul 4, 2012
@amilkh
Copy link
Author

amilkh commented Jul 15, 2012

Yes, you were right. I found this web-page, VERY helpful: http://www.dreamfabric.com/sms/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants