SecureDfuTransport
Kable-based transport for the Nordic Secure DFU (Secure DFU over BLE) protocol.
Usage:
triggerButtonlessDfu — connect to the device in normal mode and trigger reboot into DFU mode.
connectToDfuMode — scan for the device in DFU mode and establish the DFU GATT session.
transferInitPacket / transferFirmware — send .dat then .bin.
abort — send ABORT to the device before closing (on cancellation or error).
close — tear down the connection.
Constructors
Functions
Scans for the device in DFU mode (address or address+1) and establishes the GATT connection, enabling notifications on the Control Point.
Sends the DFU init packet (.dat file). The device verifies this against the bootloader's security requirements before accepting firmware.
Connects to the device running normal firmware and writes to the Buttonless DFU characteristic so the bootloader takes over. The device disconnects and reboots.