Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Security Level: Public (Viewable by anyone)
-
None
Description
Current Behavior
When a peer enables notifications or indications via a write to a client characteristic configuration descriptor, the change only lasts for the lifetime of the connection.
Proposed Change
The current behavior is correct for non-bonded connections. However, for bonded peers, the values of the client characteristic configuration descriptors should persist across connections. Here are a few notes about the desired behavior:
- The persisted configuration is restored when a bonded connection is restored.
- The peripheral should remember whether a characteristic changed, even if particular peer is not connected. When the peer connects and the client characteristic configuration is restored, a notification or indication should be sent immediately if appropriate.