This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About ANCS

Hi,

We survey APPLE's ANCS right now! But we have a question that need your help

We see the sample code experimental\ble_app_ancs There are 1 base uuid and 3 service ID(cp,ns,ds) those need to added.

sd_ble_uuid_vs_add(&ble_ancs_base_uuid128, &m_ancs_uuid_type); sd_ble_uuid_vs_add(&ble_ancs_cp_base_uuid128, &service_uuid.type); sd_ble_uuid_vs_add(&ble_ancs_ns_base_uuid128, &service_uuid.type); sd_ble_uuid_vs_add(&ble_ancs_ds_base_uuid128, &service_uuid.type);

About our product,we also have other functions to achieve(Like transfer data between phone and device,every 3 second to send HR data to phone),so we also create our service and characteristic

ble_uuid128_t nus_base_uuid = {0x82, 0xAF, 0x72, 0x37, 0x0F, 0x9D, 0x42, 0x9B, 0x8D, 0x05, 0x22, 0xA1, 0x24, 0x2E, 0x4D, 0x45}; sd_ble_uuid_vs_add(&nus_base_uuid, &ble_uuid.type); BLE_UUID_BLE_CUS_ASSIGN(ble_uuid, BLE_UUID_CURRENT_DATA_SERVICE); BLE_UUID_BLE_CUS_ASSIGN(ble_uuid, BLE_LDC_SERVICE_UUID);

How do we combine our service and ANCS? They can work at the same time it?

Thank you.

Related