Go to the documentation of this file.
66 #include "custom_config.h"
72 #define FAST_OTAS_CONNECTION_MAX (10 < CFG_MAX_CONNECTIONS ?\
73 10 : CFG_MAX_CONNECTIONS)
74 #define FAST_OTAS_MAX_DATA_LEN 244
75 #define BLE_UUID_FAST_OTA_SERVICE 0x1B, 0xD7, 0x90, 0xEC, 0xE8, 0xB9, 0x75, 0x80,\
76 0x0A, 0x46, 0x44, 0xD3, 0x01, 0x07, 0xED, 0xA6
78 #define FAST_OTA_PATTERN_VALUE 0x474f4f44
@ FAST_OTAS_EVT_CMD_NOTIFY_COMPLETE
sdk_err_t fast_otas_service_init(fast_otas_init_t *p_otas_init)
Add an FAST_OTA Service instance in the DB.
fast_otas_evt_type_t
FAST_OTA Service event type.
sdk_err_t fast_otas_notify_cmd_data(uint8_t conn_idx, uint8_t *p_data, uint16_t length)
Send data to peer device.
FAST_OTA Service initialization variable.
@ FAST_OTAS_EVT_CMD_NOTIFICATION_DISABLED
void(* fast_otas_evt_handler_t)(fast_otas_evt_t *p_evt)
FAST_OTA Service event handler type.
@ FAST_OTAS_EVT_CMD_NOTIFICATION_ENABLED
fast_otas_evt_handler_t evt_handler
@ FAST_OTAS_EVT_DATA_RECEIVE_DATA
fast_otas_evt_type_t evt_type
uint16_t sdk_err_t
SDK API result type.
@ FAST_OTAS_EVT_CMD_RECEIVE_DATA