I am writing application in nodejs for sending and recieving sms in PDU mode.I use wavecom GSM modem(7-bit encoding) to send sms. It also support 8 bit(AT+CSMP=1,167,0,8) encoding scheme.
I can send alpha numeric character properly.But I can’t send some character like ([,],| etc).
Here string :
AT+CMGS=14
0001030C911989890878800004015B
Text String : [
But I recieve some junk character. Any Idea?
And how to send multipart sms. I have refer this, and this but I does not get desired output. can anyone suggest 8-bit(7-bit encoding scheme) text encoding scheme?
Please Help me…
Thanks,
Finally I got the answer 🙂
This characters([,],|) are encode as two characters like
[is encode as1B1E(Combination of escape character and < sign)]is encode as1B20(Combination of escap character and > sign)So whenever I fond such characters I replaced it with corresponding value then I use 7 bit encoding. It’s Work good…
So my encoding string for [ is
And for “[hello]”
Thanks once again..