Hi Guys
I just received my A6 GPRS Pro Série GPRS GSM Module.
I tested with an Arduino nano and It works ok.
I tested it with this code:
of course changing the necessary phone number.
SO, the sample codes seem to use only AT commands... @Erel used a similar approach with his gsm code module, but I am having trouble getting it to work, using the provided example.
Has any of you the same module? have you got any code to share?
Thanks in advance
I just received my A6 GPRS Pro Série GPRS GSM Module.
I tested with an Arduino nano and It works ok.
I tested it with this code:
B4X:
char phone_no[]="+33614687128";
void setup() {
Serial.begin(9600);
delay(300);
Serial.println("AT+CMGF=1");
delay(2000);
Serial.print("AT+CMGS=\"");
Serial.print(phone_no);
Serial.write(0x22);
Serial.write(0x0D); // hex equivalent of Carraige return
Serial.write(0x0A); // hex equivalent of newline
delay(2000);
Serial.print("GSM A6 test message!");
delay(500);
Serial.println (char(26));//the ASCII code of the ctrl+z is 26
}
void loop()
{
}
SO, the sample codes seem to use only AT commands... @Erel used a similar approach with his gsm code module, but I am having trouble getting it to work, using the provided example.
Has any of you the same module? have you got any code to share?
Thanks in advance