Difference between revisions of "Sending and receiving sms"
(→AT Commands Manual) |
(→AT Commands Manual) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* Power the board using a 5V (max 5A) DC adapter. | * Power the board using a 5V (max 5A) DC adapter. | ||
* Log in to the VAYU/VAYU2/VIBEQ/ARCA-V2 using any of the techniques explained in this document. | * Log in to the VAYU/VAYU2/VIBEQ/ARCA-V2 using any of the techniques explained in this document. | ||
− | * Set VAYU/VAYU2/VIBEQ/ARCA-V2 into AT commands mode by using | + | * Set VAYU/VAYU2/VIBEQ/ARCA-V2 into AT commands mode by using its respective AT command port. |
$ minicom -D /dev/ttyUSB0 | $ minicom -D /dev/ttyUSB0 | ||
− | '''NOTE:''' Verify the USB port as it is different for different modems. | + | '''NOTE:''' Verify the USB AT command port from respective product's wiki page, as it is different for different modems. |
- Now execute the following AT commands to send a message: | - Now execute the following AT commands to send a message: | ||
Line 32: | Line 32: | ||
<CR>-carriage return | <CR>-carriage return | ||
− | |||
==Receiving a message== | ==Receiving a message== | ||
Line 48: | Line 47: | ||
==AT Commands Manual== | ==AT Commands Manual== | ||
− | The AT Command Manual for the 2G modem can be downloaded from [http:// | + | The AT Command Manual for the 2G modem can be downloaded from [http://wiki.yantrr.com/images/7/76/SIM800_Series_AT_Command_Manual_V1.10.pdf SIM800_Series_AT Command Manual_V1.10.pdf | VAYU-2G] |
− | + | ||
− | + | ||
− | The AT Command Manual for the VAYU2-3GUC20-G can be downloaded from [http:// | + | The AT Command Manual for the VAYU2-3GUC20-G can be downloaded from [http://wiki.yantrr.com/images/2/28/Quectel_UC20_AT_Commands_Manual_V1.5.pdf Quectel_UC20_AT_Commands_Manual_V1.5.pdf | VAYU2-3GUC20-*] |
− | The AT Command Manual for the VAYU2-4GEC25-* can be downloaded from [http:// | + | The AT Command Manual for the VAYU2-4GEC25-* can be downloaded from [http://wiki.yantrr.com/images/4/42/Quectel_EC25%26EC21_AT_Commands_Manual_V1.1.pdf Quectel_EC25&EC21_AT_Commands_Manual_V1.1.pdf | VAYU2-4GEC25-*] |
The AT Command Manual for the 3GH-D Module is available on request. Contact Yantrr support. | The AT Command Manual for the 3GH-D Module is available on request. Contact Yantrr support. |
Latest revision as of 02:31, 7 January 2020
SMS
Now we will try to send and receive messages using our VAYU/VAYU2/VIBEQ/ARCA-V2. For this you have to follow these steps:
Sending a message
- Insert a micro SIM card in the 6 pin micro sim connector.
- Power the board using a 5V (max 5A) DC adapter.
- Log in to the VAYU/VAYU2/VIBEQ/ARCA-V2 using any of the techniques explained in this document.
- Set VAYU/VAYU2/VIBEQ/ARCA-V2 into AT commands mode by using its respective AT command port.
$ minicom -D /dev/ttyUSB0
NOTE: Verify the USB AT command port from respective product's wiki page, as it is different for different modems.
- Now execute the following AT commands to send a message:
AT OK
This checks whether AT commands are responding or not.
AT+COPS?
This gives the details of your Internet service provider.
AT+CSQ
This signify the signal strength of your network.
AT+CMGF=1
This command is used to set the format of short message in TEXT mode.
AT+CMGS=”PHONE NUMBER TO WHOM MESSAGE IS TO BE SEND” <CR> “HELLO” <Ctrl-Z>
This command is used to send short messages.
<CR>-carriage return
Receiving a message
AT OK
AT+CMGF=1
AT+CMGL=”ALL”
This command lists all the available messages stored in the memory.
AT+CMGR=1
This command shows a particular message(in this case message stored at index 1 in the memory will be displayed)
AT Commands Manual
The AT Command Manual for the 2G modem can be downloaded from SIM800_Series_AT Command Manual_V1.10.pdf | VAYU-2G
The AT Command Manual for the VAYU2-3GUC20-G can be downloaded from Quectel_UC20_AT_Commands_Manual_V1.5.pdf | VAYU2-3GUC20-*
The AT Command Manual for the VAYU2-4GEC25-* can be downloaded from Quectel_EC25&EC21_AT_Commands_Manual_V1.1.pdf | VAYU2-4GEC25-*
The AT Command Manual for the 3GH-D Module is available on request. Contact Yantrr support.