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

Issue with custom service after adding DFU service

I'm using nRF52 + SDK11.0.0 + s132. I have a custom service (with a read characteristic and a separate notify characteristic). After adding the DFU service and uploading the application via a DFU (using nRF Connect), I noticed that the read characteristic sometimes does not give back the proper data to my custom Android app (not enough bytes are returned - expect 7 but get 2 since I only write 2). If I re-connect with the nRF Connect app and do a read all, then go back to my custom app, it seems to be okay from thereafter. What could cause this? Separately, how do I send raw bytes via nRF Connect (i.e., I want to send 0x00-00, but the app sends 0x30-30, which is the ASCII code)?

Related