modem icon indicating copy to clipboard operation
modem copied to clipboard

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

Open alexislg2 opened this issue 9 years ago • 4 comments

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 avatar Sep 09 '14 11:09 alexislg2

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

alexislg2 avatar Sep 09 '14 15:09 alexislg2

@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.

emilsedgh avatar Sep 09 '14 16:09 emilsedgh

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

alexislg2 avatar Sep 09 '14 16:09 alexislg2

Sure, @alexislg2, I would appreciate that :)

emilsedgh avatar Sep 09 '14 16:09 emilsedgh