Wirepas SDK
|
App side handling of feature lock bits
Definition in file lock_bits.h.
Go to the source code of this file.
Functions | |
bool | LockBits_isKeySet (void) |
Check if a feature lock key is set. More... | |
bool | LockBits_isFeaturePermitted (uint32_t lock_bits) |
Check if a feature is permitted. More... | |
Enumerations | |
enum | lock_bits_e { LOCK_BITS_DSAP_DATA_TX = 0x00000001, LOCK_BITS_MSAP_STACK_START = 0x00000004, LOCK_BITS_MSAP_STACK_STOP = 0x00000008, LOCK_BITS_MSAP_APP_CONFIG_WRITE = 0x00000010, LOCK_BITS_MSAP_APP_CONFIG_READ = 0x00000020, LOCK_BITS_MSAP_ATTR_WRITE = 0x00000040, LOCK_BITS_MSAP_ATTR_READ = 0x00000080, LOCK_BITS_CSAP_ATTR_WRITE = 0x00000100, LOCK_BITS_CSAP_ATTR_READ = 0x00000200, LOCK_BITS_CSAP_FACTORY_RESET = 0x00001000, LOCK_BITS_MSAP_SCRATCHPAD_START = 0x00002000, LOCK_BITS_MSAP_SCRATCHPAD_STATUS = 0x00008000, LOCK_BITS_MSAP_GET_NBORS = 0x00200000, LOCK_BITS_MSAP_SCAN_NBORS = 0x00400000, LOCK_BITS_MSAP_SINK_COST_WRITE = 0x02000000, LOCK_BITS_MSAP_SINK_COST_READ = 0x04000000, LOCK_BITS_REMOTE_API_TX = 0x20000000, LOCK_BITS_OTAP = 0x80000000 } |
Feature lock bits. More... | |
bool LockBits_isFeaturePermitted | ( | uint32_t | lock_bits | ) |
Check if a feature is permitted.
lock_bits | One or more lock bits to check |
bool LockBits_isKeySet | ( | void | ) |
Check if a feature lock key is set.
enum lock_bits_e |
Feature lock bits.
Definition at line 25 of file lock_bits.h.