The token system stores such non-volatile information as the manufacturing ID, channel number, transmit power, and various pieces of information that the application needs to be persistent between device power cycles. The token system is design to abstract implementation details and simplify interacting with differing non-volatile systems. The majority of tokens are stored in Simulated EEPROM or NVM3 (in Flash) where they can be rewritten. Manufacturing tokens are stored in dedicated regions of flash and are not designed to be rewritten.
Refer to the Token module for a detailed description of the token system.
Refer to the Simeeprom module for a detailed description of the necessary support functions for Simulated EEPROM.
Refer to the simeeprom2 module for a detailed description of the necessary support functions for Simulated EEPROM, version 2.
Refer to the nvm3 module for a detailed description of the necessary support functions for NVM3.
token-stack.h for stack token definitions.
token-manufacturing.h for manufaturing token definitions.
- Simulated EEPROM, version 2 is only supported on EM335x chips.
NVM3 is currently only supported on EFx32 chips.