I have 2 arduino nodes with xbee’s configured in api mode.
The sending and receiving is working well but, whenever my programs reaches the xbee.send command, some weird characters are being printed on the screen. I have checked the baud rate and that should not be the problem.
Any suggestions?
Sounds like you have some issues with your code. What I would suggest is looking into your send.xbee command and see where else it is sending the data to in your code. You may even want to go to some blogs on Arduino and ask how to correct that in your code.
Try sending the same frame with XCTU and the module mounted to the PC. I think you will see that you will not have the same issue. That is providing you are not seeing the response frame.