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

DFU buttonless get correct handle for notify but not for write

Hallo

Im trying to get the system into DFU mode from a PC application (not the Nordic connect)

The DFU works perfectly with the Connect application and nordic tools

Im developping a PC GUI and Im able to control all other services,

However when trying to implement the Enter bootloader command I have a problem

it does get the 'enable notifications' correctly with handle 0x19 (which equal to the CCCD Handle)

but when sending a write command it receives it with a 0x18 handle for some reason,

aren't the handle the same ?

for my PC software Im using pygatt and both subscribe (for notification enable) and write use the same uuid - 8e400001-f315-4f60-9fb8-838830daea50

Would appreciate any inputs here

Thanks!

 

Related