Hi Friends,
The following is the initialization I am doing on fibocom G610 module
String("AT&F0\r"); //Master Reset
Delay_62ms();
String("AT\r"); // Basic Command ATTENTION
Delay_62ms();
String("AT+CMGF=1\r"); // Text Mode
Delay_62ms();
String("ATE0\r"); // Echo OFF
Delay_62ms();
String("AT+CNMI=3,1\r"); // Receive Unsolicited Interrupt Enable
Delay_62ms();
String("AT+CMGD=2,4\r"); // Delete All Messages With No Conditions
Delay_62ms_Caller(15);
When i send a message as "STS"
Ascii Value of S is 53
Ascii Value of T is 54
The module is reading the message body as following 6 Byte
array_data[1]=0x35 '5'
array_data[2]=0x33 '3'
array_data[3]=0x35 '5'
array_data[4]=0x34 '4'
array_data[5]=0x35 '5'
array_data[6]=0x33 '3'
The remaining data that is date, time and message sender number are in text format only, only the message body as above.
Thank You, Good Day
The following is the initialization I am doing on fibocom G610 module
String("AT&F0\r"); //Master Reset
Delay_62ms();
String("AT\r"); // Basic Command ATTENTION
Delay_62ms();
String("AT+CMGF=1\r"); // Text Mode
Delay_62ms();
String("ATE0\r"); // Echo OFF
Delay_62ms();
String("AT+CNMI=3,1\r"); // Receive Unsolicited Interrupt Enable
Delay_62ms();
String("AT+CMGD=2,4\r"); // Delete All Messages With No Conditions
Delay_62ms_Caller(15);
When i send a message as "STS"
Ascii Value of S is 53
Ascii Value of T is 54
The module is reading the message body as following 6 Byte
array_data[1]=0x35 '5'
array_data[2]=0x33 '3'
array_data[3]=0x35 '5'
array_data[4]=0x34 '4'
array_data[5]=0x35 '5'
array_data[6]=0x33 '3'
The remaining data that is date, time and message sender number are in text format only, only the message body as above.
Thank You, Good Day