Collaboration diagram for Functions:Functions | |
| sdk_err_t | dis_service_init (dis_init_t *p_dis_init) |
| Initialize a Device Information Service instance and add in the database. More... | |
| uint16_t | dis_service_start_handle_get (void) |
| Provide the interface for other modules to obtain the dis service start handle . More... | |
| sdk_err_t | dss_service_init (dss_evt_handler_t evt_handler) |
| Initialize a Device Synchronize Service instance and add in the database. More... | |
| sdk_err_t | dss_sync_op_result_send (uint8_t conn_idx, dss_evt_type_t evt_type, dss_rsp_id_t rsp_id) |
| Send Control Point Response. More... | |
| void | dss_sync_src_distribute (uint8_t conn_idx) |
| Distribute sync source to peer. More... | |
| void | dss_set_status (uint8_t conn_idx, dss_staus_t status) |
| Set dss status. More... | |
| void | dss_set_sync_params (uint8_t conn_idx, bool is_auto_enter_lp, bool is_auto_calib_drift) |
| Set Sync params. More... | |
| void | dss_set_lp_mode (uint8_t conn_idx, bool is_in_lp_mode) |
| Set Device whether in low power mode. More... | |
| sdk_err_t dis_service_init | ( | dis_init_t * | p_dis_init | ) |
Initialize a Device Information Service instance and add in the database.
| [in] | p_dis_init | Pointer to Device Information Service initialization variable. |
| uint16_t dis_service_start_handle_get | ( | void | ) |
Provide the interface for other modules to obtain the dis service start handle .
| sdk_err_t dss_service_init | ( | dss_evt_handler_t | evt_handler | ) |
Initialize a Device Synchronize Service instance and add in the database.
| [in] | evt_handler | DSS event handler. |
| void dss_set_lp_mode | ( | uint8_t | conn_idx, |
| bool | is_in_lp_mode | ||
| ) |
Set Device whether in low power mode.
| [in] | conn_idx | Connection index. |
| [in] | is_in_lp_mode | Is Device in low power mode. |
| void dss_set_status | ( | uint8_t | conn_idx, |
| dss_staus_t | status | ||
| ) |
Set dss status.
| [in] | conn_idx | Connection index. |
| [in] | status | Dss status. |
| void dss_set_sync_params | ( | uint8_t | conn_idx, |
| bool | is_auto_enter_lp, | ||
| bool | is_auto_calib_drift | ||
| ) |
Set Sync params.
| [in] | conn_idx | Connection index. |
| [in] | is_auto_enter_lp | Auto enter low power mode flag. |
| [in] | is_auto_calib_drift | Auto calibration drift flag. |
| sdk_err_t dss_sync_op_result_send | ( | uint8_t | conn_idx, |
| dss_evt_type_t | evt_type, | ||
| dss_rsp_id_t | rsp_id | ||
| ) |
Send Control Point Response.
| [in] | conn_idx | Connection index. |
| [in] | evt_type | Event type. |
| [in] | rsp_id | Response ID. |
| void dss_sync_src_distribute | ( | uint8_t | conn_idx | ) |
Distribute sync source to peer.
| [in] | conn_idx | Connection index. |