Device Firmware Update (DFU) transport layer for Bluetooth low energy. More...
Data Structures | |
struct | ble_dfu_t |
DFU Service. More... | |
Macros | |
#define | BLE_DFU_CTRL_PT_UUID 0x0001 |
#define | BLE_DFU_PKT_CHAR_UUID 0x0002 |
#define | BLE_DFU_SERVICE_UUID 0xFE59 |
Enumerations | |
enum | ble_dfu_op_code_t { BLE_DFU_OP_CODE_CREATE_OBJECT = 0x01, BLE_DFU_OP_CODE_SET_RECEIPT_NOTIF = 0x02, BLE_DFU_OP_CODE_CALCULATE_CRC = 0x03, BLE_DFU_OP_CODE_EXECUTE_OBJECT = 0x04, BLE_DFU_OP_CODE_SELECT_OBJECT = 0x06, BLE_DFU_OP_CODE_RESPONSE = 0x60 } |
BLE DFU opcodes. More... | |
Device Firmware Update (DFU) transport layer for Bluetooth low energy.
The Device Firmware Update (DFU) Service is a GATT-based service that can be used for performing firmware updates over BLE. Note that this implementation uses vendor-specific UUIDs for the service and characteristics and is intended to demonstrate firmware updates over BLE.
#define BLE_DFU_CTRL_PT_UUID 0x0001 |
UUID of the DFU Control Point.
#define BLE_DFU_PKT_CHAR_UUID 0x0002 |
UUID of the DFU Packet Characteristic.
#define BLE_DFU_SERVICE_UUID 0xFE59 |
UUID of the DFU Service.
enum ble_dfu_op_code_t |
BLE DFU opcodes.
These types of opcodes are used in control point access.