mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
Spinel: Thread Border Agent Support (#1545)
This commit updates the Spinel protocol to support a host-based border-agent.
This commit is contained in:
committed by
Jonathan Hui
parent
024c44de5c
commit
8bf14cfbbd
@@ -236,8 +236,9 @@ The stable leader network data.
|
||||
|
||||
### PROP 5391: PROP_THREAD_JOINERS {#prop-thread-joiners}
|
||||
|
||||
* Type: Read-Write
|
||||
* Type: Insert/Remove Only (optionally Read-Write)
|
||||
* Packed-Encoding: `A(t(ULE))`
|
||||
* Required capability: `CAP_THREAD_COMMISSIONER`
|
||||
|
||||
Data per item is:
|
||||
|
||||
@@ -246,12 +247,14 @@ Data per item is:
|
||||
* `E`: Extended/long address (optional)
|
||||
|
||||
Passess Pre-Shared Key for the Device to the NCP in the commissioning process.
|
||||
When the Extended address is ommited all Devices which provided a valid PSKd are allowed to join the Thread Network.
|
||||
When the Extended address is ommited all Devices which provided a valid PSKd
|
||||
are allowed to join the Thread Network.
|
||||
|
||||
### PROP 5392: PROP_THREAD_COMMISSIONER_ENABLED {#prop-thread-commissioner-enabled}
|
||||
|
||||
* Type: Read-Write
|
||||
* Type: Write only (optionally Read-Write)
|
||||
* Packed-Encoding: `b`
|
||||
* Required capability: `CAP_THREAD_COMMISSIONER`
|
||||
|
||||
Set to true to enable the native commissioner. It is mandatory before adding the joiner to the network.
|
||||
|
||||
@@ -259,6 +262,7 @@ Set to true to enable the native commissioner. It is mandatory before adding the
|
||||
|
||||
* Type: Read-Write
|
||||
* Packed-Encoding: `b`
|
||||
* Required capability: `CAP_THREAD_BA_PROXY`
|
||||
|
||||
Set to true to enable the border agent proxy.
|
||||
|
||||
@@ -266,7 +270,22 @@ Set to true to enable the border agent proxy.
|
||||
|
||||
* Type: Read-Write-Stream
|
||||
* Packed-Encoding: `dSS`
|
||||
* Required capability: `CAP_THREAD_BA_PROXY`
|
||||
|
||||
Data per item is:
|
||||
|
||||
* `d`: CoAP frame
|
||||
* `S`: source/destination RLOC/ALOC
|
||||
* `S`: source/destination port
|
||||
|
||||
Octects: | 2 | *n* | 2 | 2
|
||||
---------|--------|------|---------|-------
|
||||
Fields: | Length | CoAP | locator | port
|
||||
|
||||
This property allows the host to send and receive border-agent-related
|
||||
CoAP requests/responses from the NCP's RLOC address. This allows the
|
||||
host driver to implement a Thread border agent.
|
||||
|
||||
|
||||
|
||||
|
||||
Octects: | *n* | 2 | 2
|
||||
---------|------|---------|------
|
||||
Fields: | CoAP | locator | port
|
||||
|
||||
Reference in New Issue
Block a user