ANCS Service.
Copyright (c) 2017-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
void | ancs_enable (ancs_prf_t *anp_data, at_ble_handle_t handle) |
Initializing Ancs data. More... | |
void | ancs_init (ancs_prf_t *ancs_data) |
Initializing Ancs data. More... | |
void ancs_enable | ( | ancs_prf_t * | anp_data, |
at_ble_handle_t | handle | ||
) |
Initializing Ancs data.
Enabling ANCS service.
[in] | service | data [in] servcie handle |
References ancs_prf::ancs_serv, ANCS_SERV_UUID, AT_BLE_UUID_128, at_ble_primary_service_found_t::conn_handle, at_ble_primary_service_found_t::service_uuid, at_ble_uuid_t::type, at_ble_uuid_t::uuid, and UUID_128BIT_LEN.
Referenced by anp_client_connected_state_handler().
void ancs_init | ( | ancs_prf_t * | ancs_data | ) |