nRF5 SDK for Thread v0.11.0
Data Structures | Typedefs | Enumerations
Types

This module includes the platform abstraction for a radio frame. More...

Data Structures

struct  otRadioFrame
 

Typedefs

typedef enum otRadioCaps otRadioCaps
 
typedef struct otRadioFrame otRadioFrame
 
typedef enum otRadioState otRadioState
 

Enumerations

enum  {
  OT_RADIO_FRAME_MAX_SIZE = 127, OT_RADIO_CHANNEL_MIN = 11, OT_RADIO_CHANNEL_MAX = 26, OT_RADIO_SUPPORTED_CHANNELS = 0xffff << OT_RADIO_CHANNEL_MIN,
  OT_RADIO_SYMBOLS_PER_OCTET = 2, OT_RADIO_BIT_RATE = 250000, OT_RADIO_BITS_PER_OCTET = 8, OT_RADIO_SYMBOL_TIME = ((OT_RADIO_BITS_PER_OCTET / OT_RADIO_SYMBOLS_PER_OCTET) * 1000000) / OT_RADIO_BIT_RATE,
  OT_RADIO_LQI_NONE = 0, OT_RADIO_RSSI_INVALID = 127
}
 
enum  otRadioCaps {
  OT_RADIO_CAPS_NONE = 0, OT_RADIO_CAPS_ACK_TIMEOUT = 1, OT_RADIO_CAPS_ENERGY_SCAN = 2, OT_RADIO_CAPS_TRANSMIT_RETRIES = 4,
  OT_RADIO_CAPS_CSMA_BACKOFF = 8
}
 
enum  otRadioState { OT_RADIO_STATE_DISABLED = 0, OT_RADIO_STATE_SLEEP = 1, OT_RADIO_STATE_RECEIVE = 2, OT_RADIO_STATE_TRANSMIT = 3 }
 

Detailed Description

This module includes the platform abstraction for a radio frame.

Typedef Documentation

typedef enum otRadioCaps otRadioCaps

This enum represents radio capabilities.

typedef struct otRadioFrame otRadioFrame

This structure represents an IEEE 802.15.4 radio frame.

typedef enum otRadioState otRadioState

This structure represents the state of a radio. Initially, a radio is in the Disabled state.

Enumeration Type Documentation

anonymous enum
Enumerator
OT_RADIO_FRAME_MAX_SIZE 

aMaxPHYPacketSize (IEEE 802.15.4-2006)

OT_RADIO_CHANNEL_MIN 

2.4 GHz IEEE 802.15.4-2006

OT_RADIO_CHANNEL_MAX 

2.4 GHz IEEE 802.15.4-2006

OT_RADIO_SUPPORTED_CHANNELS 

2.4 GHz IEEE 802.15.4-2006

OT_RADIO_SYMBOLS_PER_OCTET 

2.4 GHz IEEE 802.15.4-2006

OT_RADIO_BIT_RATE 

2.4 GHz IEEE 802.15.4 (kilobits per second)

OT_RADIO_BITS_PER_OCTET 

Number of bits per octet.

OT_RADIO_LQI_NONE 

LQI measurement not supported.

OT_RADIO_RSSI_INVALID 

Invalid or unknown RSSI value.

This enum represents radio capabilities.

Enumerator
OT_RADIO_CAPS_NONE 

None.

OT_RADIO_CAPS_ACK_TIMEOUT 

Radio supports AckTime event.

OT_RADIO_CAPS_ENERGY_SCAN 

Radio supports Energy Scans.

OT_RADIO_CAPS_TRANSMIT_RETRIES 

Radio supports transmission retry logic with collision avoidance (CSMA).

OT_RADIO_CAPS_CSMA_BACKOFF 

Radio supports CSMA backoff for frame transmission (but no retry).

This structure represents the state of a radio. Initially, a radio is in the Disabled state.


Documentation feedback | Developer Zone | Subscribe | Updated