0

I'm wondering if we can send a unique character during the startDFU() method, so that the device can validate this character first and then initiate the firmware upgrade. Is this possible with this library (React native nordic dfu)?

Suvab
  • 43
  • 5
  • Why do you want to send this extra character? To allow only specific devices to perform a DFU? – Michael Kotzjan Mar 15 '21 at 06:55
  • @M.Kotzjan Yes, to allow only those devices that have the character to perform DFU. – Suvab Mar 16 '21 at 09:47
  • You could manually send a character to a characteristic of your choice using a normal BLE library before attempting the DFU. Is "React native nordic dfu" resetting you device into bootloader or are you manually doing it before the DFU? – Michael Kotzjan Mar 16 '21 at 10:31
  • I think, RN nordic dfu is doing it, – Suvab Mar 17 '21 at 12:46
  • Why do you need to do this extra authentication? Is using the secure DFU procedure with a signed DFU package not enough for you? You can prevent the usage of an unofficial dfu package and even a downgrade using an older package – Michael Kotzjan Mar 17 '21 at 12:59

0 Answers0