Download IEEE 802.15.4 MAC / PHY software layers

Transcript
SmartRF ® CC2420
Table of contents
1.
Abbreviations __________________________________________________4
2.
References _____________________________________________________5
3.
Revision History ________________________________________________6
3.1.
4.
MAC Interface changes from revision 0.62 to 0.7___________________________ 6
Introduction____________________________________________________7
5.
Software Interface_______________________________________________7
5.1.
5.2.
Naming Conventions _________________________________________________ 7
MAC Primitives _____________________________________________________ 8
5.2.1.
5.2.2.
5.2.3.
5.2.4.
5.3.
5.4.
5.5.
5.6.
MAC Sublayer Initialization ___________________________________________ 8
Power mode control _________________________________________________ 9
PD-SAP and PLME-SAP_____________________________________________ 10
MCPS-SAP _______________________________________________________ 10
5.6.1.
5.6.2.
5.7.
MCPS-DATA Primitives________________________________________________10
MCPS-PURGE Primitives_______________________________________________11
MLME-SAP_______________________________________________________ 11
5.7.1.
5.7.2.
5.7.3.
5.7.4.
5.7.5.
5.7.6.
5.7.7.
5.7.8.
5.7.9.
5.7.10.
5.7.11.
5.7.12.
5.7.13.
5.7.14.
5.7.15.
5.8.
5.9.
Requests______________________________________________________________8
Confirms _____________________________________________________________8
Indications ____________________________________________________________8
Responses ____________________________________________________________8
MLME-ASSOCIATE Primitives__________________________________________11
MLME-DISASSOCIATE Primitives ______________________________________12
MLME-BEACON-NOTIFY Primitives ____________________________________13
MLME-GET Primitives_________________________________________________13
MLME-GTS Primitives _________________________________________________13
MLME-ORPHAN Primitives ____________________________________________13
MLME-RESET Primitives ______________________________________________14
MLME-RX-ENABLE Primitives _________________________________________14
MLME-SCAN Primitives _______________________________________________14
MLME-COMM-STATUS Primitives ______________________________________14
MLME-SET Primitives _________________________________________________14
MLME-START Primitives ______________________________________________15
MLME-SYNC Primitives _______________________________________________15
MLME-SYNC-LOSS Primitives__________________________________________15
MLME-POLL Primitives________________________________________________16
MAC PIB _________________________________________________________ 16
MAC Sublayer Setup ________________________________________________ 19
5.9.1.
5.9.2.
5.9.3.
5.9.4.
5.9.5.
5.9.6.
5.9.7.
5.9.8.
5.10.
5.11.
5.12.
5.12.1.
5.12.2.
General _____________________________________________________________19
FFD / RFD___________________________________________________________20
ACL Size ____________________________________________________________20
Security _____________________________________________________________20
Sequential Freshness ___________________________________________________20
Number of PAN descriptors _____________________________________________20
RX Packet Pool Size ___________________________________________________20
TX Packet Pool Size ___________________________________________________21
Link Quality _____________________________________________________ 21
IEEE-Address____________________________________________________ 21
File Hierarchy____________________________________________________ 21
HAL - Hardware Abstraction Layer _______________________________________22
MAC library _________________________________________________________22
Chipcon AS SmartRF® CC2420 IEEE 802.15.4 MAC / PHY Software Layers, revision 0.7
Page 2 of 33