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

Enabling Indications in Buttonless Secure DFU Service Without Bonds

Referring to the Nordic message sequence chart in the following link:

https://infocenter.nordicsemi.com/index.jsp

(Software Development Kit -> Previous Versions of nRF5 SDK -> Libraries -> BLE Services -> Buttonless Secure DFU Service-> Buttonless Secure DFU Service without bonds)

After writing a "1" into the characteristic UUID of the Buttonless Secure DFU Service Without Bonds,

We would like to know whether writing a "2" or a "1" would set indications to be enabled?

So in terms of using bluepy (running this with python on Raspberry Pi 3), it would be written either like this:

peripheral.writeCharacteristic(cccd_handle, b"\x02\x00", withResponse=True)

or 

peripheral.writeCharacteristic(cccd_handle, b"\x01\x00", withResponse=True)

Basically after writing a "1" to the characteristic UUID (of 0x8EC90003-F315-4F60-9FB8-838830DAEA50 for Buttonless DFU without bonds)  the documentation is quite vague on how to go about verifying whether writing the "1" was successfully able to place the target remote sensor into DFU mode.

Could you please clearly describe the necessary steps to put a target sensor into DFU mode ?

 

Parents
  • Thanks for the info and,

    To clarify, the user needs to place and click the mouse cursor within the bright pink rectangle area highlighted below, in order to successfully "click and modify (and type "0001") into the characteristic UUID to activate the DFU mode of the target sensor, after clicking the "play" button to the right of the text "Buttonless Secure DFU without bonds" - then and only then , would the target sensor reboot into the bootloader and from there advertise "DfuTarg" with the corresponding previous MAC address incremented by 1 i.e. the last octet to the right +1

Reply
  • Thanks for the info and,

    To clarify, the user needs to place and click the mouse cursor within the bright pink rectangle area highlighted below, in order to successfully "click and modify (and type "0001") into the characteristic UUID to activate the DFU mode of the target sensor, after clicking the "play" button to the right of the text "Buttonless Secure DFU without bonds" - then and only then , would the target sensor reboot into the bootloader and from there advertise "DfuTarg" with the corresponding previous MAC address incremented by 1 i.e. the last octet to the right +1

Children
Related