- The method `otGetChildInfoByIndex()` is changed to return thread
error `NotFound` when there is no valid child with given index.
- Usage of this method is updated in `NcpBase` and `cli` to iterate
over all children.
* Add more flexibility to diagnostic module
- Pass otInstance to otPlatDiagProcess
- Add handler for channel change in diag.c
- Add handler for tx power change in diag.c
- Add handler for frame received in diag.c
- Add handler for alarm fired in diag.c
- Add support for new diag.c handlers in diag_process.cpp
* Add custom diagnostic commands to nrf52840
* Minor fixes
- New OpenThread API `otMessageSetDirectTransmission()` to force
a message to forwarded using direct transmission even if the
destination is a sleepy-node.
- The new API is used from `NcpBase` from set handler of insecure
network stream spinel `STREAM_NET_INSECURE` property.
- Defines a new mac counter to track number of frame transmission
failures due to abort error `kThreadError_Abort`.
- Adds a corresponding spinel property `CNTR_TX_ERR_ABORT` and its
get handler.
* Note in API description that SED poll period is separated from child timeout.
* Allow reattach of SED that detached from it's parent but did not timeout.
This change updates the NCP related files to use `otMessage` and
`otMessageQueue` APIs to replace the direct calls into OpenThread
internal `Message` and `MessageQueue` classes.
This commit makes the following changes:
- It adds a new OpenThread API named `otNetworkSettingsErase()` to
allow caller to erase all the settings stored on non-volatile
memory.
- It exposes the same functionality through `SPINEL_CMD_NET_CLEAR`
spinel command. It also makes `SPINEL_CMD_NET_CLEAR` implementation
non-optional (not tied to `CAP_NET_SAVE` capability).
- Replace Preferred and Valid Lifetimes with a flag.
- Introduce new otDhcpAddress type for maintaining Preferred and Valid Lifetimes.
- Reduces RAM usage by 128 bytes.
This commit adds support to get history-bitmap value from
jam-detection module. It also adds a corresponding spinel property
and a get handler for the new property in `NcpBase`.
The history bitmap provides information about current state of jamming
detection module for monitoring/debugging purpose. It returns a 64-bit
value where each bit corresponds to one second interval starting with
bit 0 for the most recent interval and bit 63 for the oldest intervals
(63 sec earlier). The bit is set to 1 if the jamming detection module
observed/detected high signal level during the corresponding one second
interval.
This commit contains the following changes:
- Introducing `JamDetector` class as the core of signal jamming
detection.
- Adding new OpenThread APIs related to jamming detection.
- Adding support in `NcpBase` for jamming detection spinel
properties.