Tipi di radio
Questo modulo include l'astrazione della piattaforma per un frame radio.
Riepilogo
Typedef |
|
---|---|
otExtAddress
|
typedefstruct otExtAddress
Questa struttura rappresenta l'indirizzo esteso IEEE 802.15.4. |
otLinkMetrics
|
typedefstruct otLinkMetrics
Questa struttura rappresenta le metriche specificate per la query. |
otMacKey
|
typedefstruct otMacKey
Questa struttura rappresenta una chiave MAC. |
otMacKeyMaterial
|
typedefstruct otMacKeyMaterial
|
otMacKeyRef
|
typedef Questo tipo rappresenta un riferimento chiave MAC utilizzato da PSA. |
otPanId
|
typedefuint16_t
Questo tipo rappresenta l'ID PAN di IEEE 802.15.4. |
otRadioCaps
|
typedefuint8_t
Questo tipo rappresenta le funzionalità radio. |
otRadioCoexMetrics
|
typedefstruct otRadioCoexMetrics
Di seguito sono riportate le transizioni di stato radio valide: |
otRadioFrame
|
typedefstruct otRadioFrame
Questa struttura rappresenta un frame radio IEEE 802.15.4. |
otRadioIeInfo
|
typedefstruct otRadioIeInfo
Questa struttura rappresenta le informazioni relative allo standard IEEE 802.15.4 Header IE (Information Information) di un frame radio. |
otRadioState
|
typedefenum otRadioState
Questa struttura rappresenta lo stato di una radio. |
otShortAddress
|
typedefuint16_t
Questo tipo rappresenta l'indirizzo breve IEEE 802.15.4. |
Variabili |
|
---|---|
OT_TOOL_PACKED_END
|
OT_TOOL_PACKED_BEGIN struct otExtAddress
|
Punti ristoro |
|
---|---|
otExtAddress |
Questa struttura rappresenta l'indirizzo esteso IEEE 802.15.4. |
otLinkMetrics |
Questa struttura rappresenta le metriche specificate per la query. |
otMacKey |
Questa struttura rappresenta una chiave MAC. |
otMacKeyMaterial |
Questa struttura rappresenta una chiave MAC. |
otRadioCoexMetrics |
Di seguito sono riportate le transizioni di stato radio valide: |
otRadioFrame |
Questa struttura rappresenta un frame radio IEEE 802.15.4. |
otRadioIeInfo |
Questa struttura rappresenta le informazioni relative allo standard IEEE 802.15.4 Header IE (Information Information) di un frame radio. |
Enumerazioni
enumerazione anonima
anonymous enum
Proprietà | |
---|---|
OT_RADIO_BITS_PER_OCTET
|
Numero di bit per ottetto. |
OT_RADIO_BIT_RATE
|
2,4 GHz IEEE 802.15.4 (bit al secondo) |
OT_RADIO_FRAME_MAX_SIZE
|
aMaxPHYPacketSize (IEEE 802.15.4-2006) |
OT_RADIO_FRAME_MIN_SIZE
|
Dimensione minima del frame FCS + CONTROL. |
OT_RADIO_LQI_NONE
|
Misurazione LQI non supportata. |
OT_RADIO_POWER_INVALID
|
Valore di potenza non valido o sconosciuto. |
OT_RADIO_RSSI_INVALID
|
Valore RSSI sconosciuto o non valido. |
OT_RADIO_SYMBOLS_PER_OCTET
|
IEEE 802.15.4-2006 a 2,4 GHz |
enumerazione anonima
anonymous enum
Questa enumerazione definisce la pagina canale.
Proprietà | |
---|---|
OT_RADIO_CHANNEL_PAGE_0
|
IEEE 802.15.4-2006 a 2,4 GHz |
OT_RADIO_CHANNEL_PAGE_0_MASK
|
IEEE 802.15.4-2006 a 2,4 GHz |
OT_RADIO_CHANNEL_PAGE_2
|
IEEE 802.15.4-2006 a 915 MHz |
OT_RADIO_CHANNEL_PAGE_2_MASK
|
IEEE 802.15.4-2006 a 915 MHz |
enumerazione anonima
anonymous enum
Questa enumerazione definisce l'intervallo di canale della banda di frequenza.
Proprietà | |
---|---|
OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MASK
|
IEEE 802.15.4-2006 a 2,4 GHz |
OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MAX
|
IEEE 802.15.4-2006 a 2,4 GHz |
OT_RADIO_2P4GHZ_OQPSK_CHANNEL_MIN
|
IEEE 802.15.4-2006 a 2,4 GHz |
OT_RADIO_915MHZ_OQPSK_CHANNEL_MASK
|
IEEE 802.15.4-2006 a 915 MHz |
OT_RADIO_915MHZ_OQPSK_CHANNEL_MAX
|
IEEE 802.15.4-2006 a 915 MHz |
OT_RADIO_915MHZ_OQPSK_CHANNEL_MIN
|
IEEE 802.15.4-2006 a 915 MHz |
enumerazione anonima
anonymous enum
Questa enumerazione definisce le costanti che vengono utilizzate per indicare le diverse capacità della radio.
Leggi i otRadioCaps
.
Proprietà | |
---|---|
OT_RADIO_CAPS_ACK_TIMEOUT
|
La radio supporta l'evento AckTime. |
OT_RADIO_CAPS_CSMA_BACKOFF
|
La radio supporta il backoff CSMA per la trasmissione dei frame (ma nessun nuovo tentativo). |
OT_RADIO_CAPS_ENERGY_SCAN
|
La radio supporta la scansione dell'energia. |
OT_RADIO_CAPS_NONE
|
La radio non supporta funzionalità. |
OT_RADIO_CAPS_RECEIVE_TIMING
|
La radio supporta rx a un'ora specifica. |
OT_RADIO_CAPS_SLEEP_TO_TX
|
La radio supporta la transizione diretta dal sonno a TX con CSMA. |
OT_RADIO_CAPS_TRANSMIT_RETRIES
|
La radio supporta la logica TX Riprova con la modalità di collisione (CSMA). |
OT_RADIO_CAPS_TRANSMIT_SEC
|
La radio supporta tx security. |
OT_RADIO_CAPS_TRANSMIT_TIMING
|
La radio supporta TX in un orario specifico. |
enumerazione anonima
anonymous enum
Questa enumerazione definisce costanti sulle dimensioni dell'intestazione IE in ACK.
Proprietà | |
---|---|
OT_ACK_IE_MAX_SIZE
|
Lunghezza massima per intestazione IE in ACK. |
OT_CSL_IE_SIZE
|
Dimensioni di contenuti IEL in byte. |
OT_ENH_PROBING_IE_DATA_MAX_SIZE
|
Lunghezza massima dei dati delle metriche dei link in Internet Explorer specifico per il fornitore. |
OT_IE_HEADER_SIZE
|
Dimensione dell'intestazione di IE in byte. |
otRadioKeyType
otRadioKeyType
Questa enumerazione definisce costanti relative ai tipi di chiavi.
Proprietà | |
---|---|
OT_KEY_TYPE_KEY_REF
|
Usa riferimento alla chiave. |
OT_KEY_TYPE_LITERAL_KEY
|
Utilizza i tasti letterali. |
otRadioState
otRadioState
Questa struttura rappresenta lo stato di una radio.
Inizialmente, una radio è in stato Disattivato.
Typedef
otExtAddress
struct otExtAddress otExtAddress
Questa struttura rappresenta l'indirizzo esteso IEEE 802.15.4.
otLinkMetrics
struct otLinkMetrics otLinkMetrics
Questa struttura rappresenta le metriche specificate per la query.
otMacKeyMaterial
struct otMacKeyMaterial otMacKeyMaterial
otMacKeyRef
otCryptoKeyRef otMacKeyRef
Questo tipo rappresenta un riferimento chiave MAC utilizzato da PSA.
otPanId
uint16_t otPanId
Questo tipo rappresenta l'ID PAN di IEEE 802.15.4.
otRadioCap
uint8_t otRadioCaps
Questo tipo rappresenta le funzionalità radio.
Il valore è un campo di bit che indica le funzionalità supportate dalla radio. Visualizza le definizioni di OT_RADIO_CAPS_*
.
otRadioCoexMetrics
struct otRadioCoexMetrics otRadioCoexMetrics
Di seguito sono riportate le transizioni di stato radio valide:
(Radio attiva) +----+ Enable() +-+ Receive() +---+ Transmit() +----+ | |-----> |-----> |--------> | | Disabilitata | | Sonno | | Ricevi | | Trasmissione | | |<-----| |<-----| |<--------| | | +----+ Enable() +-+ Sleep() +---+ Receive() +----+ (Radio OFF) o segnale TransmitDone
Durante il comando della richiesta di dati IEEE 802.15.4, la transizione Sleep->Receive->Transmit può essere abbreviata per indirizzare la transizione da Sleep a Transmit se la piattaforma supporta la funzionalità OT_RADIO_CAPS_SLEEP_TO_TX. Questa struttura rappresenta le metriche della coesistenza radiofonica.
OtRadioFrame
struct otRadioFrame otRadioFrame
Questa struttura rappresenta un frame radio IEEE 802.15.4.
otRadioIeInfo
struct otRadioIeInfo otRadioIeInfo
Questa struttura rappresenta le informazioni relative allo standard IEEE 802.15.4 Header IE (Information Information) di un frame radio.
otRadioState
enum otRadioState otRadioState
Questa struttura rappresenta lo stato di una radio.
Inizialmente, una radio è in stato Disattivato.
otShortAddress
uint16_t otShortAddress
Questo tipo rappresenta l'indirizzo breve IEEE 802.15.4.
Variabili
OGGER_PACKED_END
OT_TOOL_PACKED_BEGIN struct otExtAddress OT_TOOL_PACKED_END
Macro
CSL_IE_HEADLINE_BYTES_HI
CSL_IE_HEADER_BYTES_HI 0x0d
È stato corretto il secondo byte dell'intestazione CSL IE.
CSL_IE_HEADLINE_BYTES_LO
CSL_IE_HEADER_BYTES_LO 0x04
Primo byte dell'intestazione CSL di IE fisso.
TAG_EXT_ADDRESS_SIZE
OT_EXT_ADDRESS_SIZE 8
Dimensioni di un indirizzo esteso IEEE 802.15.4 (byte)
OTT_MAC_KEY_SIZE
OT_MAC_KEY_SIZE 16
Le dimensioni della chiave MAC in byte.
OT_PANID_BSTREAMCAST
OT_PANID_BROADCAST 0xffff
ID PAN di trasmissione IEEE 802.15.4.
OGGER_PACKED_END
OT_TOOL_PACKED_END
Indicazione specifica del compilatore alla fine di una classe o di un struct con byte.
Risorse
Gli argomenti di riferimento dell'API OpenThread provengono dal codice sorgente, disponibile su GitHub. Per ulteriori informazioni, o per contribuire alla nostra documentazione, consulta la pagina Risorse.