microbit: HOTFIX: BLE Notification bug in MicroBitDFUService
Hotfix of a minor bug in the MicroBitDFU Service that prevented BLE notifications from being sent on the FlashCode characterisitic. Needed as the Samsung companion app is dependent on this functionality to enable BLE programmming of the micro:bit.master
parent
ff1faab0ab
commit
a17830030e
|
@ -234,7 +234,7 @@ void MicroBitDFUService::releaseFlashCode()
|
|||
{
|
||||
flashCode = NRF_FICR->DEVICEID[0];
|
||||
|
||||
ble.updateCharacteristicValue(microBitDFUServiceFlashCodeCharacteristicHandle, (uint8_t *)&flashCode, sizeof(uint32_t));
|
||||
ble.gattServer().notify(microBitDFUServiceFlashCodeCharacteristicHandle,(uint8_t *)&flashCode, sizeof(uint32_t));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue