DigiMesh Node Discovery example for mbed XBeeLib By Digi
Fork of XBeeZB_node_discovery by
Description
This example shows how to discover remote XBee modules based on their NI (Node Identifier) instead of using its 64-bit network address
The example demonstrates the two ways of discovering nodes:
- Search for all nodes to identify
- Search for only one node
See Discovering nodes in the network chapter for more information.
Common Setup
Make sure you have a valid Example Common Setup
Example Setup
You need to have your remote XBee module with a valid Node Identifier "NI" (Remember that by default its value is a space). Then customize the REMOTE_NODE_ID define in the application with that value.
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.
Once joined to the coordinator, the application will try to discover the remote XBee module with NI equal to the defined REMOTE_NODE_ID. If found, it will send it a 'hello' message. Check in the "Console" tab of the X-CTU connected to the remote XBee module that the message arrived.
Then a node discovery function callback will be registered and a node discovery performed. All remote XBee modules in the network should answer. This library will process each answer and call the registered callback. The callback sends a 'Hello neighbor!' message to each discovered remote XBee module. Check in the "Console" tab of the X-CTU connected to the remote XBee module that the message arrived.
History
Automatic upload
2016-07-29, by hbujanda [Fri, 29 Jul 2016 12:15:18 +0200] rev 11
Automatic upload
Initial commit
2016-07-28, by hbujanda [Thu, 28 Jul 2016 10:20:37 +0000] rev 10
Initial commit
Automatic upload
2016-07-28, by hbujanda [Thu, 28 Jul 2016 10:19:55 +0200] rev 9
Automatic upload
Automatic upload
2016-03-31, by hbujanda [Thu, 31 Mar 2016 11:41:31 +0200] rev 8
Automatic upload
Automatic upload
2015-06-01, by spastor [Mon, 01 Jun 2015 19:01:41 +0200] rev 7
Automatic upload
Automatic upload
2015-05-18, by spastor [Mon, 18 May 2015 13:19:14 +0200] rev 6
Automatic upload
Automatic upload
2015-05-14, by hbujanda [Thu, 14 May 2015 16:24:21 +0200] rev 5
Automatic upload
Automatic upload
2015-05-14, by hbujanda [Thu, 14 May 2015 16:07:58 +0200] rev 4
Automatic upload
Automatic upload
2015-05-11, by hbujanda [Mon, 11 May 2015 18:00:30 +0200] rev 3
Automatic upload
Automatic upload
2015-05-08, by spastor [Fri, 08 May 2015 11:53:15 +0200] rev 2
Automatic upload