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

send several messages to same recipient with short delay between each message #7

Open
alexislg2 opened this issue Sep 9, 2014 · 4 comments

Comments

@alexislg2
Copy link
Contributor

Hey, sorry me again...
When I send 2 long SMS (ie 3 messages concatenated in one) to same recipient almost simultaneously, my messages are received upside down, ie the beggining of the 1st message is concatenated with the end of the second and so on...
I don't know if this is due to the sender SIM card, the receiver SIM card, the modem.js programm, the phone itself
Any idea of how to avoid that?
thanks

@alexislg2
Copy link
Contributor Author

I know why this happens
It's because the CSMS code il always the same ('00') So the phone receiving the message cannot distinguish between the 2 SMS.
the pdu.js function generate() has to be modified.
I'll try to do so and will keep you in touch

@emilsedgh
Copy link
Owner

@alexislg2 According to spec, setting CSMS code to 00 means that modem will automatically define it.
Although I'm open to idea of pdu.js defining it.

@alexislg2
Copy link
Contributor Author

I add a random 8bit CSMS number and it works well. No more problem!
Do you want a PR for npm pdu ?

@emilsedgh
Copy link
Owner

Sure, @alexislg2, I would appreciate that :)

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