...
- Create the appropriate channel to communicate with the
Include Page |
---|
| _def_ocsdk_stack |
---|
| _def_ocsdk_stack |
---|
|
. - Initialize the "Local Interface Module".
- Optionally, configure the network identified of the mote.
- Optionally, create a UDP socket and bind it to the specified UDP port.
- Optionally, join a network.
- Optionally, post a semaphore indicating it has joined a network.
- Optionally, request a service to the .
- Optionally, post a semaphore indicating the service was granted.
The loc_task
helper module allows the sample applications to perform these routine actions by calling a single function.
Include Page |
---|
| _inc_ocfdk_doxygen_tip |
---|
| _inc_ocfdk_doxygen_tip |
---|
|
The 00-hello_common
Sample Application
This sample application is similar to the
00-hello
sample application, but relies on the
cli_task
and
loc_task
to initialize the CLI and
Include Page |
---|
| _def_ocfdkocsdk_stack |
---|
| _def_ocfdkocsdk_stack |
---|
|
.
When running the
00-hello_common
sample application, a first banner prints the name of the application and the version. A second banner prints the version of the
Include Page |
---|
| _def_ocfdkocsdk_stack |
---|
| _def_ocfdkocsdk_stack |
---|
|
.
No Format |
---|
> hello_common app, ver 1.0.0.1
SmartMeshIP stack, ver 1.2.1.3
>
> help
help <command>
Commands:
mtrace
mset
mget
minfo
mlog
mfs
mseti
mgeti
mshow
mxtal
mhwlog
> |