Secure DFU mode for OTA updates with pin (#1789)

This commit is contained in:
Ben Meadors
2022-10-12 10:31:39 -05:00
committed by GitHub
parent 1db08b3b0e
commit b59e928589

View File

@@ -244,6 +244,7 @@ void NRF52Bluetooth::setup()
Bluefruit.Periph.setConnectCallback(onConnect); Bluefruit.Periph.setConnectCallback(onConnect);
Bluefruit.Periph.setDisconnectCallback(onDisconnect); Bluefruit.Periph.setDisconnectCallback(onDisconnect);
bledfu.setPermission(SECMODE_ENC_WITH_MITM, SECMODE_ENC_WITH_MITM);
bledfu.begin(); // Install the DFU helper bledfu.begin(); // Install the DFU helper
// Configure and Start the Device Information Service // Configure and Start the Device Information Service