* 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.
* Fix scanning behavior with default channel. Change logic around otPlatRadioGetTransmitBuffer so that the buffer becomes the property of OT post call. The MAC will keep a pointer to the tx buffer and pass it into otPlatRadioTransmit. This change should make the notion of retrying the transmit operation with the same buffer more intuitive.
This commit contains the following:
- APIs/typedefs in `ncp.h` to define handlers and callbacks
for a generic alternate (legacy) network stack
- Support in `NcpBase` for parsing and handling of legacy network
related commands/signals
- New legacy network related spinel properties
- Build feature "enable-legacy" to enable/disable this feature
* Add Coap Resources ACTIVE_GET and PENDING_GET to all devices
* Add 'address' parameter to dataset mgmtgetcommand CLI
* Use the specified destination address when sending MGMT_ACTIVR_GET.req and
MGMT_PENDING_GET.req, default to use Leader ALOC if the destination is not specified
* THCI update to take the destination address as a parameter in mgmtget API