Collaboration diagram for Functions:Functions | |
| sdk_err_t | otas_service_init (otas_init_t *p_otas_init) |
| Add an OTA Service instance in the DB. 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... | |
| uint16_t | otas_service_start_handle_get (void) |
| Provide the interface for other modules to obtain the ots service start handle . More... | |
| 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 |
| uint16_t otas_service_start_handle_get | ( | void | ) |
Provide the interface for other modules to obtain the ots service start handle .