Functions
Functions
BLE Services » Phone Alert Status Service (PASS)

## Functions
sdk_err_t | pass_service_init (pass_init_t *p_pass_init)
| Initialize a Phone Alert Status Service instance and add in the DB. More...
uint8_t | pass_ringer_setting_get (void)
| Get Ringer Setting value. More...
void | pass_ringer_setting_set (uint8_t conn_idx, uint8_t new_setting)
| Set Ringer Setting value. More...
void | pass_alert_status_set (uint8_t conn_idx, uint8_t new_status)
| Set Alert Status value. More...

## Detailed Description

## Function Documentation

## ◆ pass_alert_status_set()

void pass_alert_status_set | ( | uint8_t | conn_idx,
|  | uint8_t | new_status
| ) |  |

Set Alert Status value.

Parameters

  [in] | conn_idx | Connnection index.
  [in] | new_status | New Alert Status value.

## ◆ pass_ringer_setting_get()

uint8_t pass_ringer_setting_get | ( | void |  | ) |

Get Ringer Setting value.

Returns
  Current Ringer Setting value.

## ◆ pass_ringer_setting_set()

void pass_ringer_setting_set | ( | uint8_t | conn_idx,
|  | uint8_t | new_setting
| ) |  |

Set Ringer Setting value.

Parameters

  [in] | conn_idx | Connnection index.
  [in] | new_setting | New Ringer Setting value.

## ◆ pass_service_init()

sdk_err_t pass_service_init | ( | pass_init_t * | p_pass_init | ) |

Initialize a Phone Alert Status Service instance and add in the DB.

Parameters

  [in] | p_pass_init | Pointer to PASS Service initialization variable.

Returns
  Result of service initialization.