S132 SoftDevice v1.0.0-3.alpha
Modules | Macros
SoftDevice Manager API

APIs for SoftDevice management. More...

Modules

 SoftDevice Manager Error Codes
 Error definitions for the SDM API.
 
 Defines
 
 Enumerations
 
 Types
 
 Functions
 

Macros

#define SOFTDEVICE_INFO_STRUCT_OFFSET   (0x2000)
 Defines the SoftDevice Information Structure location (address) as an offset from the start of the softdevice (without MBR)
 
#define SOFTDEVICE_INFO_STRUCT_ADDRESS   (SOFTDEVICE_INFO_STRUCT_OFFSET + MBR_SIZE)
 Defines the absolute Softdevice information structure location (address)
 
#define SD_SIZE_OFFSET   (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x08)
 Defines the offset for Softdevice size value relative to Softdevice base address.
 
#define SD_FWID_OFFSET   (SOFTDEVICE_INFO_STRUCT_OFFSET + 0x0C)
 Defines the offset for FWID value relative to Softdevice base address.
 
#define SD_SIZE_GET(baseaddr)   (*((uint32_t *) ((baseaddr) + SD_SIZE_OFFSET)))
 Defines a macro for retreiving the actual Softdevice size value from a given base address use MBR_SIZE when Softdevice is installed just above the MBR (the usual case)
 
#define SD_FWID_GET(baseaddr)   ((*((uint32_t *) ((baseaddr) + SD_FWID_OFFSET))) & 0xFFFF)
 Defines a macro for retreiving the actual FWID value from a given base address use MBR_SIZE when Softdevice is installed just above the MBR (the usual case)
 

Detailed Description

APIs for SoftDevice management.


This document was last updated on Thu Oct 15 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.