65 switch (hardwareBoard) {
115 "%u%02u%02u%02u%02u%02u",
#define ACR01B13B
Definition: cs_Boards.h:64
#define CS_USB_DONGLE
Definition: cs_Boards.h:49
#define ACR01B2G
Definition: cs_Boards.h:84
#define PCA10100
Definition: cs_Boards.h:41
#define GUIDESTONE
Definition: cs_Boards.h:46
#define ACR01B2E
Definition: cs_Boards.h:81
#define ACR01B1A
Definition: cs_Boards.h:54
#define ACR01B1B
Definition: cs_Boards.h:56
#define ACR01B1D
Definition: cs_Boards.h:59
#define ACR01B1C
Definition: cs_Boards.h:58
#define ACR01B15A
Definition: cs_Boards.h:65
#define ACR01B2B
Definition: cs_Boards.h:73
#define PCA10040
Definition: cs_Boards.h:39
#define ACR01B2C
Definition: cs_Boards.h:76
#define ACR01B2A
Definition: cs_Boards.h:70
#define ACR01B1E
Definition: cs_Boards.h:60
#define ACR01B10D
Definition: cs_Boards.h:62
#define CR01R02v4
Definition: cs_Boards.h:92
#define ACR01B10B
Definition: cs_Boards.h:61
#define PCA10036
We use part of the UICR to store information about the hardware board.
Definition: cs_Boards.h:37
#define PCA10056
Definition: cs_Boards.h:43
static const char * get_hardware_version()
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Oct 21,...
Definition: cs_HardwareVersions.h:59
static char versionString[12]
Definition: cs_HardwareVersions.h:110
static const char * get_hardware_version_from_uicr(const cs_uicr_data_t *uicrData)
Definition: cs_HardwareVersions.h:112
uint32_t getHardwareBoard()
Get the hardware board from UICR, or the default board if none is set in UICR.
Struct with all the Crownstone fields in UICR.
Definition: cs_UicrPacket.h:20
uint8_t productFamily
Definition: cs_UicrPacket.h:27
uint8_t major
Definition: cs_UicrPacket.h:37
struct cs_uicr_data_t::@35::@38 fields
uint8_t region
Definition: cs_UicrPacket.h:26
uint8_t productType
Definition: cs_UicrPacket.h:25
uint8_t patch
Definition: cs_UicrPacket.h:35
union cs_uicr_data_t::@35 productRegionFamily
uint8_t minor
Definition: cs_UicrPacket.h:36
union cs_uicr_data_t::@36 majorMinorPatch