...
Info |
---|
This section refers to the following sample application(s):
|
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 | ||||
---|---|---|---|---|
|
DN_API_LOC_EV_OPERATIONAL
event indicates that the Include Page | ||||
---|---|---|---|---|
|
...
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 | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Tip | ||||||
---|---|---|---|---|---|---|
Refer to the following documentation for the
|
You can also use the ApiExplorer
application to send arbitrary data to the mote, using the sendData
command:
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 |
...
It uses a single task (sendTask
) which:
- waits for the mote to the
loc_task
helper module to have joined the network , (by pending on thejoinedSem
semaphore semaphore); - every 10s, send a UDP packet to the IPv6 address of the manager
...
- .