XBee API Mode
Posted: Wed Feb 06, 2019 9:55 am
Hi Everyone just found MegunoLink an I am in the process of evaluating it. So far very favorable but I have hit a major snag.
I need to use xbee's in API mode. So far I have spent 2 days with little progress.
I initially set my Teensy 3.2, communications and interface panels up to use serial and that works great. Progressed up to using Xbee's in Transparent mode, again works great.
I have reconfigured the XBee's to API, and there it falls apart.
Set the Xbee's to API mode 2
Used connection manager to connect to the local Xbee with the address of the remote XBee
I can send commands via XBee from the interface to the Teensy.
I can not work out how to send commands from the Teensy to the Interface.
I can send data to the Message Monitor if I use the wifi library, but don't know the protocol for sending to the interface.
So XBees are set up and talking but cant get the data through.
My question really is how do I tell Arduino (Teensy) to use XBee protocol and destination address 0 (Coordinator).
I would be grateful if any one is using this configuration, could supply me with an arduino sketch for Megunolink and arduino with an XBee in API mode.
I can't find documentation anywhere to solve this.
Regards
JohnE
I need to use xbee's in API mode. So far I have spent 2 days with little progress.
I initially set my Teensy 3.2, communications and interface panels up to use serial and that works great. Progressed up to using Xbee's in Transparent mode, again works great.
I have reconfigured the XBee's to API, and there it falls apart.
Set the Xbee's to API mode 2
Used connection manager to connect to the local Xbee with the address of the remote XBee
I can send commands via XBee from the interface to the Teensy.
I can not work out how to send commands from the Teensy to the Interface.
I can send data to the Message Monitor if I use the wifi library, but don't know the protocol for sending to the interface.
So XBees are set up and talking but cant get the data through.
My question really is how do I tell Arduino (Teensy) to use XBee protocol and destination address 0 (Coordinator).
I would be grateful if any one is using this configuration, could supply me with an arduino sketch for Megunolink and arduino with an XBee in API mode.
I can't find documentation anywhere to solve this.
Regards
JohnE