* Add initial commissioning commands support to the NCP
* Make GetPropertyHandler_THREAD_COMMISSIONER_ENABLED send true only if commissioner active, move commissioner state enum to oepnthread/types.h
* Use enum to return commissioner state, make spinel property return true only if Commissioner State Active
* Fix spinel documentation
* Do not drop CoAP requests with unknown options
If packets are dropped due to unrecognized options, then it should be done
according to RFC7252 Section 5.4.1., otherwise leave it for the user.
* Implement CoAP Header GetFirstOption
* Implement in Header
* Add to CoAP API
* Use in code
* Remove CoAP Header GetCurrentOption
* Correction in the comments
* Initialize CoAP Header before parsing
* Added most recent RSSI to child and neighbour tables
* Align = signs in mle_router Get{Router/Child}Info
* Fixed build errors, was using the wrong config before so wasnt actualy building the code
This commit adds support for the dynamic log level selection. Config
option `OPENTHREAD_CONFIG_ENABLE_DYNAMIC_LOG_LEVEL` can be used to
enable/disable this feature (default setting is disabled).
Note that the `OPENTHREAD_CONFIG_LOG_LEVEL` specifies the log level at
compile/build time. The dynamic log level feature (if enabled) only
allows decreasing log level from the compile time setting.
This commit also adds `SPINEL_PROP_DEBUG_NCP_LOG_LEVEL` as a new
spinel property to control the log level. The set/get handlers for
this property along with its documentation are also added.
This commit modifies some of the log related macros/methods so
to harmonize them all to require an `otInstance` as their first
argument.
If transmission of an indirect frame (frame to a sleepy child)
fails, the sender retransmits the frame following the reception of
a new data request command (a new data poll) from the sleepy child.
It is ensured that the re-transmissions use the same security frame
counter, key id, and data sequence number as the earlier attempts.
To realize this, info about the indirect transmissions (such as attempt
counter, frame counter, key id) is saved in the child table.
In `openthread-core-default-config.h` a set of new OpenThread options
are added to allow the maximum number of attempts to be configured
for both direct and indirect transmissions.
* Implement automatic Joiner removal feature.
* Save some RAM in JoinerRouter class.
* Specify timeout for each Joiner separately.
* Update Windows API files.
* Initial new API helpers
* Finish up API helper
* Update App to use new API helpers
* More cleanup and added support for preferred router ID
* Clean up state change handlers
* Add logging
* Some more clean up and redesign
* Added small readme for Windows App.
This commit adds/updates comments. It contains no code/logic change.
- Adds comments to describe expected behavior and use of source
address match feature and the related radio platform functions.
- Updates comments to describe the selection of poll period and the
`SetAssignPollPeriod()`.
- This commit adds a new radio capability `kRadioCapsCsmaBackOff` to
indicate that the radio supports CSMA backoff logic for frame
transmission (but no frame retry).
- The existing capability `kRadioCapsTransmitRetries` is not changed
and still indicates that the radio supports transmission retry logic
along with collision avoidance (CSMA).
- `Mac` implementation is updated accordingly.
* Expanded otGetParentInfo to populate the entire aParentInfo structure
* Added otGetParentAverageRssi function
* Use GetRouterId from rloc function instead of doing it manualy, and corrected documentation