Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This section refers to the following sample application(s):

  • 01-join

Table of Contents

 


Joining a network consists of the following steps:

...

Tip

Refer to the SmartMesh IP User's Guide for a detailed description of the joining process.

...


The 

Include Page
_def_ocsdk_stack
_def_ocsdk_stack
 sends events to the application to indicate the step of the joining process it is at. The DN_API_LOC_EV_OPERATIONAL event indicates that the 
Include Page
_def_mote
_def_mote
 has successfully joined the network.

...

Once the device is joined, the 01-join sample application starts a task which sends a packet to the manager over the wireless network every 10s. You can connect the ApiExplorer application from the 

Include Page
_def_smsdk
_def_smsdk
 to your 
Include Page
_def_mgr
_def_mgr
 and subscribe to data notifications to see the packets being received at the 
Include Page
_def_mgr
_def_mgr
:

Image Modified

Tip

Refer to the following documentation for the

Include Page
_def_smsdk
_def_smsdk
:

You can also use the ApiExplorer application to send arbitrary data to the mote, using the sendData command:

Image Modified

The 01-join sample application prints details about the received data over CLI:

No Format
acketpacket received:
 - sourceAddr: ff020000000000000000000000000002
 - sourcePort: 60000
 - data:       (4 bytes) aabbccdd

...