Skip to content

Callbacks for characteristic read operations #71

Open
@ghost

Description

I’d like the API to provide the ability to have callbacks relating to characteristic read operations. A common trick is to use the authorisation flag on characteristics so that all reads get intercepted and you can then do whatever you want in the implementation, returning true (i.e. authorised) at the end.

Read callbacks might be used to

  • increment or recalculate a characteristic value "on demand"
  • trigger a real time read from a sensor
  • and so on....

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions