Radio Types
This module includes the platform abstraction for a radio frame.
Summary
Typedefs |
|
---|---|
otExtAddress
|
typedefstruct otExtAddress
Represents the IEEE 802.15.4 Extended Address. |
otLinkMetrics
|
typedefstruct otLinkMetrics
Represents what metrics are specified to query. |
otMacKey
|
typedefstruct otMacKey
Represents a MAC Key. |
otMacKeyMaterial
|
typedefstruct otMacKeyMaterial
|
otMacKeyRef
|
typedef Represents a MAC Key Ref used by PSA. |
otPanId
|
typedefuint16_t
Represents the IEEE 802.15.4 PAN ID. |
otRadioCaps
|
typedefuint16_t
Represents radio capabilities. |
otRadioCoexMetrics
|
typedefstruct otRadioCoexMetrics
The following are valid radio state transitions: |
otRadioFrame
|
typedefstruct otRadioFrame
Represents an IEEE 802.15.4 radio frame. |
otRadioIeInfo
|
typedefstruct otRadioIeInfo
Represents the IEEE 802.15.4 Header IE (Information Element) related information of a radio frame. |
otRadioState
|
typedefenum otRadioState
Represents the state of a radio. |
otShortAddress
|
typedefuint16_t
Represents the IEEE 802.15.4 Short Address. |
Variables |
|
---|---|
OT_TOOL_PACKED_END
|
OT_TOOL_PACKED_BEGIN struct otExtAddress
|
Macros |
|
---|---|
CSL_IE_HEADER_BYTES_HI 0x0d
|
Fixed CSL IE header second byte.
|
CSL_IE_HEADER_BYTES_LO 0x04
|
Fixed CSL IE header first byte.
|
OT_EXT_ADDRESS_SIZE 8
|
Size of an IEEE 802.15.4 Extended Address (bytes)
|
OT_MAC_KEY_SIZE 16
|
Size of the MAC Key in bytes.
|
OT_PANID_BROADCAST 0xffff
|
IEEE 802.15.4 Broadcast PAN ID.
|
OT_TOOL_PACKED_END
|
Compiler-specific indication at the end of a byte packed class or struct.
|
Structs |
|
---|---|
otExtAddress |
Represents the IEEE 802.15.4 Extended Address. |
otLinkMetrics |
Represents what metrics are specified to query. |
otMacKey |
Represents a MAC Key. |
otMacKeyMaterial |
Represents a MAC Key. |
otRadioCoexMetrics |
The following are valid radio state transitions: |
otRadioFrame |
Represents an IEEE 802.15.4 radio frame. |
otRadioIeInfo |
Represents the IEEE 802.15.4 Header IE (Information Element) related information of a radio frame. |
Enumerations
Anonymous Enum 12
Anonymous Enum 12
Anonymous Enum 13
Anonymous Enum 13
Anonymous Enum 14
Anonymous Enum 14
Defines the frequency band channel range.
Anonymous Enum 15
Anonymous Enum 15
Defines constants that are used to indicate different radio capabilities.
See otRadioCaps
.
Anonymous Enum 16
Anonymous Enum 16
otRadioKeyType
otRadioKeyType
otRadioState
otRadioState
Represents the state of a radio.
Initially, a radio is in the Disabled state.
Typedefs
otMacKeyMaterial
struct otMacKeyMaterial otMacKeyMaterial
otPanId
uint16_t otPanId
Represents the IEEE 802.15.4 PAN ID.
otRadioCaps
uint16_t otRadioCaps
Represents radio capabilities.
The value is a bit-field indicating the capabilities supported by the radio. See OT_RADIO_CAPS_*
definitions.
otRadioCoexMetrics
struct otRadioCoexMetrics otRadioCoexMetrics
The following are valid radio state transitions:
(Radio ON) +----+ Enable() +-+ Receive() +---+ Transmit() +----+ | |----->| |----->| |-------->| | | Disabled | | Sleep | | Receive | | Transmit | | |<-----| |<-----| |<--------| | +----+ Disable() +-+ Sleep() +---+ Receive() +----+ (Radio OFF) or signal TransmitDone
During the IEEE 802.15.4 data request command the transition Sleep->Receive->Transmit can be shortened to direct transition from Sleep to Transmit if the platform supports the OT_RADIO_CAPS_SLEEP_TO_TX capability. Represents radio coexistence metrics.
otRadioIeInfo
struct otRadioIeInfo otRadioIeInfo
Represents the IEEE 802.15.4 Header IE (Information Element) related information of a radio frame.
otRadioState
enum otRadioState otRadioState
Represents the state of a radio.
Initially, a radio is in the Disabled state.
otShortAddress
uint16_t otShortAddress
Represents the IEEE 802.15.4 Short Address.
Variables
OT_TOOL_PACKED_END
OT_TOOL_PACKED_BEGIN struct otExtAddress OT_TOOL_PACKED_END
Macros
CSL_IE_HEADER_BYTES_HI
CSL_IE_HEADER_BYTES_HI 0x0d
Fixed CSL IE header second byte.
CSL_IE_HEADER_BYTES_LO
CSL_IE_HEADER_BYTES_LO 0x04
Fixed CSL IE header first byte.
OT_EXT_ADDRESS_SIZE
OT_EXT_ADDRESS_SIZE 8
Size of an IEEE 802.15.4 Extended Address (bytes)
OT_MAC_KEY_SIZE
OT_MAC_KEY_SIZE 16
Size of the MAC Key in bytes.
OT_PANID_BROADCAST
OT_PANID_BROADCAST 0xffff
IEEE 802.15.4 Broadcast PAN ID.
OT_TOOL_PACKED_END
OT_TOOL_PACKED_END
Compiler-specific indication at the end of a byte packed class or struct.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.