i thought of buying a gsm module for my project and i found this http://www.rhydolabz.com/index.php?main_page=product_info&cPath=122&products_id=559
and there is a code in it
void main()
{
SerialPortInit(); /* Serial Communication – 9600-N-8-1 */
Send2Gsm("AT\r\n"); /* Transmit AT to the module – Module sends OK */
DelayS(2); /* 2 sec delay */
Send2Gsm("ATE0\r\n"); /* Echo Off */
DelayS(2); /* 2 sec delay */
Send2Gsm("AT+CMGF=1\r\n"); /* Switch to text mode */
DelayS(2); /* 2 sec delay */
Send2Gsm("AT+CMGS=\"+919447367176\"\r\n"); /* Send SMS to a cell number */
DelayS(2); /* 2 sec delay */
Send2Gsm("TEST DATA FROM RhydoLABZ-COCHIN"); /* Input SMS Data */
SerialTx(0x1a); /* Ctrl-Z indicates end of SMS */
DelayS(2); /* 2 sec delay */
while(1);
}
Function Description
SerialPortInit – Module to initialize serial communication parameters
Send2Gsm -- Module to transmit a string of data through Serial Port
SerialTx – Module to transmit a byte through serial port
is it possible to adapt this to arduino?
( i think yes and my doubt is regarding "SERIAL.PRINT" does it support the above function)
please confirm guys i need to decide on buying it.....