I have the drop in networking professional development kit: ConnectportX2, 2xRS232 interface boards and 1xUSB interface board, all with XBEE Znet2.5 router/end device AT firmware 1241. All interface boards are each connected to a separate PC. My problem is understanding where API and AT mode come into the picture. I understand the difference, but how do you use it?
Is API and Transparrent mode only used when configuring the modems? Since my modems currently have AT firmware on them, i ran a few tests such as the “helloworld” program that uses sockets and it works ok. Communicating between two modems via the terminal tab in XCTU works fine too. My understanding is that i’ve been doing all this in AT mode since that’s the type of firmware loaded onto the modems, right?
When i change the firmware to XBEE Znet2.5 router/end device API, enable API in PC settings, and try the same thing, it doesnt work as well as before. For example, when running the “hello world” program again, nothing happens. When i try communicating from one pc to the other via the terminal tab, i get these funny characters and each letter is displayed on a new line after the same set of funny characters.
So, can someone please help me understand how this API and AT commands/operation is used. I have read thru the manual numerous times but i cant seem to understand how to go about using this. It only kinda explains the difference between them. It does explain how to use it in a way, but i dont get how it fits into the picture. How does it fit into a picture where you have a python script running? Are they both independant of each other? If i create a program using python and upload it to the gateway, how does API and AT affect my program??
I am very sorry for the basic questions, i am fairly new to this and am trying to use Zigbee/Xbee for a project i have to work on. The aim of my project is to eventually run network where the Xbee modems would eventually be integrated with moisture sensors and communicate that data to a local host (which i’m assuming is my ConnectportX2 Gateway) in a mesh network. I thought i’d test the communication of these modems by using them to talk between different PC’s first to explore how they work before i use them with my moisture sensors. Any help would be greatly appreciated!!!
Thank you in advance
MTM