Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
softdevice: don't send a notify/indicate without a CCCD
sd_ble_gatts_hvx_noescape can only be called when the notify/indicate permission is set (and therefore a CCCD has been added). Without it, it will just return an error. This fixes a problem I found on the PineTime, while implementing the battery service.
- Loading branch information