C
Possible Values:
SCAN_STATE_IDLE
SCAN_STATE_BEACON
SCAN_STATE_ENERGY
SCAN_STATE_DISCOVER
Set to SCAN_STATE_BEACON
to start an active scan. Beacons will be emitted from PROP_MAC_SCAN_BEACON
.
Set to SCAN_STATE_ENERGY
to start an energy scan. Channel energy result will be reported by emissions of PROP_MAC_ENERGY_SCAN_RESULT
(per channel).
Set to SCAN_STATE_DISOVER
to start a Thread MLE discovery scan operation. Discovery scan result will be emitted from PROP_MAC_SCAN_BEACON
.
Value switches to SCAN_STATE_IDLE
when scan is complete.
A(C)
S
(uint16)Ccdd
(or Cct(ESSc)t(iCUdd)
)Octets: | 1 | 1 | 2 | n | 2 | n |
---|---|---|---|---|---|---|
Fields: | CH | RSSI | MAC_LEN | MAC_DATA | NET_LEN | NET_DATA |
Scan beacons have two embedded structures which contain information about the MAC layer and the NET layer. Their format depends on the MAC and NET layer currently in use. The format below is for an 802.15.4 MAC with Thread:
C
: Channelc
: RSSI of the beacont
: MAC layer properties (802.15.4 layer shown below for convenience)E
: Long addressS
: Short addressS
: PAN-IDc
: LQIi
: Protocol NumberC
: FlagsU
: Network Named
: XPANIDd
: Steering dataExtra parameters may be added to each of the structures in the future, so care should be taken to read the length that prepends each structure.
E
The 802.15.4 long address of this node.
This property is only present on NCPs which implement 802.15.4
S
The 802.15.4 short address of this node.
This property is only present on NCPs which implement 802.15.4
S
The 802.15.4 PANID this node is associated with.
This property is only present on NCPs which implement 802.15.4
b
Set to true to enable raw MAC frames to be emitted from PROP_STREAM_RAW
. See (#prop-stream-raw).
C
Possible Values:
Id | Name | Description |
---|---|---|
0 | MAC_PROMISCUOUS_MODE_OFF | Normal MAC filtering is in place. |
1 | MAC_PROMISCUOUS_MODE_NETWORK | All MAC packets matching network are passed up the stack. |
2 | MAC_PROMISCUOUS_MODE_FULL | All decoded MAC packets are passed up the stack. |
See (#prop-stream-raw).
Cc
This property is emitted during energy scan operation per scanned channel with following format:
C
: Channelc
: RSSI (in dBm)L
The (user-specified) data poll (802.15.4 MAC Data Request) period in milliseconds. Value zero means there is no user-specified poll period, and the network stack determines the maximum period based on the MLE Child Timeout.
If the value is non-zero, it specifies the maximum period between data poll transmissions. Note that the network stack may send data request transmissions more frequently when expecting a control-message (e.g., when waiting for an MLE Child ID Response).
This property is only present on NCPs which implement 802.15.4.
A(T(Ec))
CAP_MAC_WHITELIST
Structure Parameters:
E
: EUI64 address of nodec
: Optional RSSI-override value. The value 127 indicates that the RSSI-override feature is not enabled for this address. If this value is omitted when setting or inserting, it is assumed to be 127. This parameter is ignored when removing.b
CAP_MAC_WHITELIST
b
Set to true to enable radio source matching or false to disable it. This property is only available if the SPINEL_CAP_MAC_RAW
capability is present. The source match functionality is used by radios when generating ACKs. The short and extended address lists are used for settings the Frame Pending bit in the ACKs.
A(S)
Configures the list of short addresses used for source matching. This property is only available if the SPINEL_CAP_MAC_RAW
capability is present.
Structure Parameters:
S
: Short address for hardware generated ACKsA(E)
Configures the list of extended addresses used for source matching. This property is only available if the SPINEL_CAP_MAC_RAW
capability is present.
Structure Parameters:
E
: EUI64 address for hardware generated ACKsA(T(E))
CAP_MAC_WHITELIST
Structure Parameters:
E
: EUI64 address of nodeb
CAP_MAC_WHITELIST