35#ifndef LR1110_BOOTLOADER_TYPES_H
36#define LR1110_BOOTLOADER_TYPES_H
63#define LR1110_BL_VERSION_LENGTH ( 4 )
68#define LR1110_BL_PIN_LENGTH ( 4 )
73#define LR1110_BL_CHIP_EUI_LENGTH ( 8 )
78#define LR1110_BL_JOIN_EUI_LENGTH ( 8 )
enum lr1110_bootloader_chip_modes_e lr1110_bootloader_chip_modes_t
Chip modes.
lr1110_bootloader_reset_status_e
Reset status.
Definition lr1110_bootloader_types.h:118
@ LR1110_BOOTLOADER_RESET_STATUS_CLEARED
Definition lr1110_bootloader_types.h:119
@ LR1110_BOOTLOADER_RESET_STATUS_SYSTEM
Definition lr1110_bootloader_types.h:122
@ LR1110_BOOTLOADER_RESET_STATUS_EXTERNAL
Definition lr1110_bootloader_types.h:121
@ LR1110_BOOTLOADER_RESET_STATUS_RTC_RESTART
Definition lr1110_bootloader_types.h:125
@ LR1110_BOOTLOADER_RESET_STATUS_ANALOG
Definition lr1110_bootloader_types.h:120
@ LR1110_BOOTLOADER_RESET_STATUS_WATCHDOG
Definition lr1110_bootloader_types.h:123
@ LR1110_BOOTLOADER_RESET_STATUS_IOCD_RESTART
Definition lr1110_bootloader_types.h:124
#define LR1110_BL_JOIN_EUI_LENGTH
Length in bytes of a join EUI.
Definition lr1110_bootloader_types.h:78
#define LR1110_BL_PIN_LENGTH
Length in bytes of a PIN.
Definition lr1110_bootloader_types.h:68
lr1110_bootloader_command_status_e
Command status.
Definition lr1110_bootloader_types.h:132
@ LR1110_BOOTLOADER_CMD_STATUS_OK
Definition lr1110_bootloader_types.h:135
@ LR1110_BOOTLOADER_CMD_STATUS_PERR
Definition lr1110_bootloader_types.h:134
@ LR1110_BOOTLOADER_CMD_STATUS_DATA
Definition lr1110_bootloader_types.h:136
@ LR1110_BOOTLOADER_CMD_STATUS_FAIL
Definition lr1110_bootloader_types.h:133
#define LR1110_BL_CHIP_EUI_LENGTH
Length in bytes of a chip EUI.
Definition lr1110_bootloader_types.h:73
enum lr1110_bootloader_command_status_e lr1110_bootloader_command_status_t
Command status.
uint8_t lr1110_bootloader_chip_eui_t[LR1110_BL_CHIP_EUI_LENGTH]
Fixed-length array to store a chipEUI.
Definition lr1110_bootloader_types.h:93
lr1110_bootloader_chip_modes_e
Chip modes.
Definition lr1110_bootloader_types.h:104
@ LR1110_BOOTLOADER_CHIP_MODE_SLEEP
Definition lr1110_bootloader_types.h:105
@ LR1110_BOOTLOADER_CHIP_MODE_RX
Definition lr1110_bootloader_types.h:109
@ LR1110_BOOTLOADER_CHIP_MODE_STBY_XOSC
Definition lr1110_bootloader_types.h:107
@ LR1110_BOOTLOADER_CHIP_MODE_STBY_RC
Definition lr1110_bootloader_types.h:106
@ LR1110_BOOTLOADER_CHIP_MODE_TX
Definition lr1110_bootloader_types.h:110
@ LR1110_BOOTLOADER_CHIP_MODE_LOC
Definition lr1110_bootloader_types.h:111
@ LR1110_BOOTLOADER_CHIP_MODE_FS
Definition lr1110_bootloader_types.h:108
uint8_t lr1110_bootloader_join_eui_t[LR1110_BL_JOIN_EUI_LENGTH]
Fixed-length array to store a joinEUI.
Definition lr1110_bootloader_types.h:98
uint8_t lr1110_bootloader_pin_t[LR1110_BL_PIN_LENGTH]
Fixed-length array to store a PIN.
Definition lr1110_bootloader_types.h:88
enum lr1110_bootloader_reset_status_e lr1110_bootloader_reset_status_t
Reset status.
struct lr1110_bootloader_stat1_s lr1110_bootloader_stat1_t
Status register 1 structure definition.
struct lr1110_bootloader_stat2_s lr1110_bootloader_stat2_t
Status register 2 structure definition.
struct lr1110_bootloader_version_s lr1110_bootloader_version_t
Bootloader version structure definition.
Status register 1 structure definition.
Definition lr1110_bootloader_types.h:143
bool is_interrupt_active
Definition lr1110_bootloader_types.h:145
uint8_t command_status
Definition lr1110_bootloader_types.h:144
Status register 2 structure definition.
Definition lr1110_bootloader_types.h:152
bool is_running_from_flash
Definition lr1110_bootloader_types.h:155
uint8_t reset_status
Definition lr1110_bootloader_types.h:153
uint8_t chip_mode
Definition lr1110_bootloader_types.h:154
Bootloader version structure definition.
Definition lr1110_bootloader_types.h:162
uint8_t hw
Definition lr1110_bootloader_types.h:163
uint8_t type
Definition lr1110_bootloader_types.h:164
uint16_t fw
Definition lr1110_bootloader_types.h:165