Hi,
I am using the sample from arduino website as below.
I am wondering why when sending with characters like @ $, The recipient will display other character?
How to received the exactly characters @ $ ?
Please advise.
Hi,
I am using the sample from arduino website as below.
I am wondering why when sending with characters like @ $, The recipient will display other character?
How to received the exactly characters @ $ ?
Please advise.
Hi,
How did you send/receive SMS? Between two shields? With a smartphone to send or to receive?
Please, tell us more details.
Dear davidgoth,
The device i connected is arduino uno + GSM modem. I try input the @ characters with serial monitor to send it. my smart phone received the different characters.
But when i try with smart phone to send out to another smart phone, it can received perfect @ characters.
It could be a problem about encode/decode configuration.
Upload this sketch;
#include <SoftwareSerial.h>
#include <string.h>
char incoming_char = 0;
SoftwareSerial cell(2,3);
void setup()
{
// Initialize serial ports for communication.
Serial.begin(9600);
// Reset
Serial.println("Start Reset");
pinMode(7, OUTPUT);
digitalWrite(7, HIGH);
delay(12000);
digitalWrite(7, LOW);
delay(1000);
Serial.println("End Reset");
cell.begin(9600) ;
Serial.println("Enter your AT commands (with CR & NL)...");
}
void loop()
{
if(cell.available() > 0)
{
incoming_char = cell.read();
if((incoming_char >= ' ') && (incoming_char<='z'))
Se rial.print(incoming_char);
else
{
Serial.print("%");
Serial.print((int) incoming_char);
Serial.print("%");
if(incoming_char == 10)
Serial.println();
}
}
if(Serial.available() > 0)
{
incoming_char = Serial.read();
cell.print(incoming_char);
}
}
And, enter the next commands with 'Both CR/LF' configuration in Serial Monitor:
AT+CSCS?
AT+CSMP?
AT+CMGF?
AT+QSMSCODE?
Post the output responsed.