©2014 Seeed Technology Inc.
MB_2014_D02
15
Example of Mode operation
2.2
API Mode
API is simply a set of standard interfaces created to allow other MCU to interact with MeshBee.
For our purposes, API supports local operation and remote operation. For example, a host application
can send an “ATIO” frame to Coordinator A, A will set its GPIO when it receives this frame. The
most important thing to note is that APIs are specifically engineered to enable MeshBee to talk
efficiently to other MCU. The target of API-mode is to transmit highly structured data quickly and
reliably.
Remote led blink example
Sending commands over the wireless network to control the remote device is kind of
exhilarating, it is something you can accomplish in API mode.
Some kinds of AT commands can also be sent wirelessly for execution on remote device. Here,
we implement a remote IO control demo.
Hardware list:
Arduino
X1
MeshBee
X2
XBee shield X1
UartBeeV5 X1