802.15.4 Receive Data example for mbed XBeeLib By Digi
Description
This example shows how to receive data from a remote XBee802 module.
A remote XBee module sends a packet to our local XBee module though the air. The local XBee module receives the packet and sends it to the mbed module through the serial port. This library decodes the packet and calls a user defined method to process the packet.
See Receiving Data from other module chapter for more information.
Common Setup
Make sure you have a valid Example Common Setup
Example Setup
This example does not require any additional setup.
Running the example
Build and deploy the example to the mbed module.
Reset the mbed module so the example starts. You should see the example debug information through the debug interface configured in the 'Local Setup' chapter.
While the example is running, go to the "Console" tab of the X-CTU connected to the remote XBee module. Press the
"Add API frame to the list" and paste following bytes that create a new broadcast transmit request packet:
7E 00 19 10 01 00 00 00 00 00 00 FF FF FF FE 00 00 48 65 6C 6C 6F 20 58 42 65 65 21 5A
Select the frame and press the "Send selected frame" button to send the frame ("Hello XBee!") to the XBee network.
Verify that the local XBee module has received the frame by accessing the debug interface console terminal. If it was successful, the "Hello XBee!" message will be displayed there.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
10:b9dc1600c409 | 2016-07-29 | hbujanda | Automatic upload |
9:fa108efea5d8 | 2016-07-28 | hbujanda | Automatic upload |
8:e99fb231fb77 | 2016-03-31 | hbujanda | Automatic upload |
7:2e6ea668bc9e | 2015-06-01 | spastor | Automatic upload |
6:e6b1ff1944c7 | 2015-05-18 | spastor | Automatic upload |
5:b4cf3c26e2ec | 2015-05-14 | hbujanda | Automatic upload |
4:2248b32c2753 | 2015-05-14 | hbujanda | Automatic upload |
3:4cb764d44eac | 2015-05-11 | hbujanda | Automatic upload |
2:1a8a4587b870 | 2015-05-08 | spastor | Automatic upload |
1:bf4296cf56cb | 2015-05-05 | spastor | Automatic upload |
0:155647ac203f | 2015-04-29 | hbujanda | Automatic upload |