-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
enhancementNew feature or requestNew feature or requestnot-reviewedIssue that needs reviewedIssue that needs reviewed
Description
I'm building a BLE door controller and need to generate a new nonce every time someone reads from my characteristic. Right now I can only handle writes with WriteValueEvent, but reads just return whatever value is stored.
What I need:
Generate a fresh nonce each time a client reads from my characteristic (for security reasons).
Possible solutions:
- Make ReadValueAsync virtual
- Add a ReadValueEvent like we have for writes
- Some other callback for reads
This is for a door access system where each client needs a unique challenge to prevent replay attacks.
Any ideas how to make this work with the current library?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnot-reviewedIssue that needs reviewedIssue that needs reviewed