Looking for a automation where in the scripts should be able to send the CCCD within 1 second.

I am looking for a automation where in the scripts should be able to send the CCCD(Client Characteristic Configuration Descriptor) response within one second.

1.Which tool will be the ideal one? nRF connect for desktop or Master control panel or nRF connect Android App.
2.Does all these tools accept .xml file as script? (i have used xml in Android App).
3. From where i can get the default firmware for PCA10040 Board?
4.Lastly how to check the CCCD request using the xml file?

Note : I have a Nordic dev board PCA10040, which i think is also known as nRF52 DK)

Test setup:

Windows 10 

PCA10040 dev board

BLE Ver: 4.2

Parents
  • Hi 

    The challenge here is that you can't access any service until after you have performed service discovery. If you are bonded you can skip service discovery, but then you need to connect, pair and bond first. 

    Secondly, the nRF Connect app won't allow you to run any macro's or scripts automatically after connection, you need to start the script manually from the app. 

    Most likely the easiest way to do this is one of the following: 

    1) Use one of our mobile app templates and customize the app to add the functionality you need. 

    2) Use something like pc-ble-driver-py to control your nRF52DK, and have it connect to a device and set the CCCD as quickly as possible. 

    Best regards
    Torbjørn

  • Hi Torbjorn,

    Thank you for your valuable comment.

    I will try and and let you know if I need any further help.

    Meantime could you pls let me know from where i can find the mobile App template? Is it another App available in play store? Also where can i find the documentation for the same.

    Regards

    Johnson

Reply Children
Related