PebbleOS
Loading...
Searching...
No Matches
Data Structures | Macros | Enumerations
shared_prf_storage_private.h File Reference
#include <pbl/bluetooth/types.h>
#include <pbl/kernel/compiler.h>

Data Structures

struct  SprfRootKeys
 BLE root keys field. More...
 
struct  SprfBlePairingData
 BLE pairing field, for the device most recently paired. More...
 
struct  SprfBlePairingName
 BLE pairing device name field. More...
 
struct  SprfPinnedAddress
 Pinned address field. More...
 
struct  SprfGettingStarted
 Onboarding (getting started) field. More...
 
struct  SprfLocalName
 Custom local device name field. More...
 
struct  SprfLocalIdentityAddress
 Local identity address field. More...
 
struct  SharedPRFData
 Legacy shared PRF storage contents. More...
 
struct  SharedPRFData.main_fw_scratch
 Area reserved for the normal firmware to stash pairing related data. More...
 

Macros

#define SPRF_PAGE_IDX_INVALID   ((uint16_t)~0)
 Page index meaning no valid entry has been found.
 
#define SPRF_MAX_NUM_PAGES_MULT(num)   ((num) * 3 / 4)
 Page index beyond which the region is compacted at boot.
 

Enumerations

enum  SprfValidFields { SprfValidFields_LocalEncryptionInfoValid = (1 << 0) , SprfValidFields_RemoteEncryptionInfoValid = (1 << 1) , SprfValidFields_RemoteIdentityInfoValid = (1 << 2) , SprfValidFields_RemoteSigningInfoValid = (1 << 3) }
 Valid parts of SprfBlePairingData. More...
 
enum  SprfMagic { SprfMagic_ValidEntry = 0x46525053 , SprfMagic_UnpopulatedEntry = 0xFFFFFFFF , SprfMagic_InvalidatedEntry = 0x0 }
 Entry header magic. More...