Xbee network

Hi,

i have a problem building a Wireless sensor network. Im using 3 arduinos and 3 xbees (one coordinator connected to PC and 2 routers to send data). I have configured the Xbees in Xctu , api mode 2 for routers and api 1 for coordinator. Im trying to send test data from router 1 to coordinator but i keep getting unknown characters with my message.

Thank you in advance

Screenshot_3.jpg

Screenshot_4.jpg

Screenshot_5.jpg

I routinely ignore people that post pictures of text.

It also works on AT mode and the code for coordinator and router 1 and router 2 are

for coordinator
void setup{
Serial.begin(9600);
}
void loop{

if(Serial.available()>0){
Serial.write(Serial.read());
delay(1000);
}
}

for routers for both routers only differences in there, a message send from routers

void setup(){
Serial.begin(9600);
}
void loop(){
Serial.write("code from router 1 or 2");
Serial.println(" ");
delay(1000);

}