Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows notifications not being sent on reconnection.
When Windows bonds with a device and subscribes to notifications/indications of the device characteristics it does not re-subscribe on subsequent connections. If a notification is sent when Windows reconnects it will overwrite the stored subscription value in the NimBLE stack configuration with an invalid value which results in notifications/indications not being sent. This change will ensure that no notification or indication is sent before authentication upon reconnection, avoiding the described issue described above.
- Loading branch information