Functions | |
sdk_err_t | otas_service_init (otas_init_t *p_otas_init) |
Add an OTA Service instance in the DB. More... | |
void | ota_fw_save_addr_set (uint32_t dfu_fw_save_addr) |
DFU Firmware save address set. More... | |
sdk_err_t | otas_notify_tx_data (uint8_t conn_idx, uint8_t *p_data, uint16_t length) |
Send data to peer device. More... | |
void ota_fw_save_addr_set | ( | uint32_t | dfu_fw_save_addr | ) |
DFU Firmware save address set.
[in] | dfu_fw_save_addr | DFU firmware save addrss.. |
sdk_err_t otas_notify_tx_data | ( | uint8_t | conn_idx, |
uint8_t * | p_data, | ||
uint16_t | length | ||
) |
Send data to peer device.
[in] | conn_idx | Connection index |
[in] | p_data | The Pointer of send value |
[in] | length | The Lenth of send value |
sdk_err_t otas_service_init | ( | otas_init_t * | p_otas_init | ) |
Add an OTA Service instance in the DB.
[in] | p_otas_init | :Pointer to OTA Service environment variable |