diff --git a/src/platform/nrf52/NRF52Bluetooth.cpp b/src/platform/nrf52/NRF52Bluetooth.cpp index bfa3887e..0347c2b0 100644 --- a/src/platform/nrf52/NRF52Bluetooth.cpp +++ b/src/platform/nrf52/NRF52Bluetooth.cpp @@ -244,6 +244,8 @@ void NRF52Bluetooth::setup() Bluefruit.Periph.setConnectCallback(onConnect); Bluefruit.Periph.setDisconnectCallback(onDisconnect); + bledfu.begin(); // Install the DFU helper + // Configure and Start the Device Information Service DEBUG_MSG("Configuring the Device Information Service\n"); bledis.setModel(optstr(HW_VERSION)); @@ -254,7 +256,7 @@ void NRF52Bluetooth::setup() DEBUG_MSG("Configuring the Battery Service\n"); blebas.begin(); blebas.write(0); // Unknown battery level for now - bledfu.begin(); // Install the DFU helper + // Setup the Heart Rate Monitor service using // BLEService and BLECharacteristic classes