-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Description
I noticed that in all the example accessories there is always some sort of polling loop updating a char value.
I think it would be good to add a getter_callback (in addition to the setter_callback) that is called when an iOS client requests a char value. Then the request can trigger a sensor poll, returning the most recent data, updating the local value, and sending any notifications.
This would also remove the need for an explicit polling loop in most cases.
Metadata
Metadata
Assignees
Labels
No labels