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

ancs on pca10028

I have a a new pca10028 DK board and a pca10000 dongle. Using Keil v5.14 and Nordic SDK v7.2 I can compile, download and test several pack examples (e.g. ble_app_hrs, ble_app_alert_notification) to pca10028 and test them using Master Control Panel v3.7.1 or lightblue on a iOS handset.

However I could not follow the instructions for experimental_ble_app_ancs. I can successfully compile and download experimental_ble_app_ancs to the pca10028. A Putty terminal displays uart printfs including "BLE ANCS”. Using lightblue I see "ANCC" peripheral, and I can connect and see notifications and attributes (by adding printf statements) in the terminal.

However I cannot successfully test experimental_ble_app_ancs with the Master Control Panel. In master control panel I select the pca10000 dongle, load the ANCS_central.bin, stop and re-start the server, start discovery, select the ANCC device, and click connect, bond, discover services. I always get a link loss during bonding and then see BTLE_CONNECTION_TIMEOUT in the terminal.

How do I successfully use master control panel to test experimental_ble_app_ancs? Since lightblue works, I suspect that the default settings for ANCS_central.bin are incorrect.

Parents
  • I tried your setup here now and on the first attempt I selected the ANCS device and then I pushed "Bond". When I did this I ran into the same behavior as you do. If I however select the same device, but before bond I push "Connect" and then "Bond" and then discover services everything was working as intended.

    Which MEFW are you using on the PCA10000? Make sure you use the 0.9 version of MEFW.

Reply
  • I tried your setup here now and on the first attempt I selected the ANCS device and then I pushed "Bond". When I did this I ran into the same behavior as you do. If I however select the same device, but before bond I push "Connect" and then "Bond" and then discover services everything was working as intended.

    Which MEFW are you using on the PCA10000? Make sure you use the 0.9 version of MEFW.

Children
No Data
Related