Functions | |
sdk_err_t | pass_client_init (pass_c_evt_handler_t evt_handler) |
Register PASS Client event handler. More... | |
sdk_err_t | pass_c_disc_srvc_start (uint8_t conn_idx) |
Discovery Phone Alert Status Service on peer. More... | |
sdk_err_t | pass_c_alert_status_notify_set (uint8_t conn_idx, bool is_enable) |
Enable or disable peer Alert Status characteristic notify. More... | |
sdk_err_t | pass_c_ringer_set_notify_set (uint8_t conn_idx, bool is_enable) |
Enable or disable peer Ringer Setting characteristic notify. More... | |
sdk_err_t | pass_c_alert_status_read (uint8_t conn_idx) |
Read Alert Status characteristic value. More... | |
sdk_err_t | pass_c_ringer_set_read (uint8_t conn_idx) |
Read Ringer Setting characteristic value. More... | |
sdk_err_t | pass_c_ctrl_point_set (uint8_t conn_idx, uint8_t ctrl_value) |
Set Control Point characteristic value. More... | |
sdk_err_t pass_c_alert_status_notify_set | ( | uint8_t | conn_idx, |
bool | is_enable | ||
) |
Enable or disable peer Alert Status characteristic notify.
[in] | conn_idx | Index of connection. |
[in] | is_enable | True or false. |
sdk_err_t pass_c_alert_status_read | ( | uint8_t | conn_idx | ) |
Read Alert Status characteristic value.
[in] | conn_idx | Index of connection. |
sdk_err_t pass_c_ctrl_point_set | ( | uint8_t | conn_idx, |
uint8_t | ctrl_value | ||
) |
Set Control Point characteristic value.
[in] | conn_idx | Index of connection. |
[in] | ctrl_value | Value of control point. |
sdk_err_t pass_c_disc_srvc_start | ( | uint8_t | conn_idx | ) |
Discovery Phone Alert Status Service on peer.
[in] | conn_idx | Index of connection. |
sdk_err_t pass_c_ringer_set_notify_set | ( | uint8_t | conn_idx, |
bool | is_enable | ||
) |
Enable or disable peer Ringer Setting characteristic notify.
[in] | conn_idx | Index of connection. |
[in] | is_enable | True or false. |
sdk_err_t pass_c_ringer_set_read | ( | uint8_t | conn_idx | ) |
Read Ringer Setting characteristic value.
[in] | conn_idx | Index of connection. |
sdk_err_t pass_client_init | ( | pass_c_evt_handler_t | evt_handler | ) |
Register PASS Client event handler.
[in] | evt_handler | Phone Alert Status Service Client event handler. |