Author |
Post |
|
#1 Fri May 17, 2013 06:55, 140 months ago.
|
Member
Registered: May 2013
Location: Portugal
|
Hello everyone,
I'm "desperate" and i hope you guys can help me.
I'm trying to send SMS using telnet connection and AT comands using the hardware "2N - VoiceBlue Lite", i think i've to use following commands:
AT!G=A6 Activation of SMS control(can be activated only in one session at same time) AT^SM=ch,len,pdu,csum Request to send a message via GSM module 0..31 or via any GSM module (ch=32). Possible answers: *smserr (busy,write) or *smsout
But i simple cannot find an example to understand the correct sintax/sequence of comands.
If i want to send the message "Hello World" to the cellphone number 9112312312, what would be the correct sequence/sintax of commands?
Any help or link to more information/examples would be very appreciated.
Thanks in advance.
ps: I apologize if this is not the correct forum but i'm really desperate.
|
|
#2 Mon May 20, 2013 07:47, 140 months ago.
|
Member
Registered: May 2013
Location: Portugal
Topic owner
|
hello,
Can you guys help me how to calculate the last param (csum) of the following command:
AT^SM=ch,len,pdu,csum
I understand the ch,len and pdu parameters but i'm having a hard time understanding the csum.
Thank you.
|
|
#3 Tue May 21, 2013 07:59, 140 months ago.
|
Member
Registered: May 2013
Location: Portugal
Topic owner
|
I've login by telnet to the 2N - VoiceBlue Lite. Executed the:
AT!G=A6 and received the OK msg.
But now i'm having trouble with the correct params for the AT^SR command, expecially the CSUM.
I've enconded a msg using de PDU Enconder. The param ch (module) active is number 0.
AT^SM=0,68,26069110090000F111000D92301569324394F50000AA0CC8F71D14969741F977FD07,??
ch = 0 (seen by using the commnd AT&QALL)
len = 68 Bytes, i'm using the function strlen() from PHP
But how do i calculate the correct csum?!
Thank you for you time.
|
|
#4 Thu May 30, 2013 16:35, 139 months ago.
|
Member
Registered: May 2013
Location: Neu-Isenburg, Germany
|
To send a SMS, U only need two commands.
#set textmode at+cmgf=1 OK
#send sms at+cmgs="[phone number]" >Hello World [Ctrl+Z] OK
PS: Do not use PDU mode, which is default !
Best Wishes Ralf Steffler
|