I am trying to establish a connection between a router and a coordinator in AT mode with 0 as destination address of router and FFFF as destination address (low) of coordinator . I am interfacing this with an arduino . even without a print statement on the coordinator end , the serial monitor is printing the transmitted symbol. And if I try to check for the received symbol and try to print a different symbol , the serial monitor shows the same symbol as transmitted. Please refer the code.
Transmitting end:
void setup()
{
Serial.begin(19200);
}
void loop()
{
Serial.println(‘a’);
}
Coordinator end: code 1:
void setup()
{
Serial.begin(19200);
}
void loop()
{
// without any code
}
Coordinator end: code 2:
void setup()
{
Serial.begin(19200);
}
void loop()
{
char data = Serial.read();
if(data==‘a’)
{
Serial.println(“transmitting”);
}
else
{
}
}
Do I need to make changes u=in the X ctu setup.