diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-23 22:53:18 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-05-23 22:53:18 +0200 |
commit | c3c61544e91bf456ffbda96df4f5fff45d1bc12f (patch) | |
tree | b713809ee5f2cbadc462f5cae808f6daaf9e94be /CAN-binder/low-can-binding/binding/low-can-hat.hpp | |
parent | e78758eab6b6582af0d1a86f3a56012499fb2308 (diff) |
Implement filtering on subscription. WIP
Change-Id: I232bdfe75335d0266d582b4974d8378632aceeae
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/binding/low-can-hat.hpp')
-rw-r--r-- | CAN-binder/low-can-binding/binding/low-can-hat.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-hat.hpp b/CAN-binder/low-can-binding/binding/low-can-hat.hpp index b3384d77..c0756f81 100644 --- a/CAN-binder/low-can-binding/binding/low-can-hat.hpp +++ b/CAN-binder/low-can-binding/binding/low-can-hat.hpp @@ -31,6 +31,12 @@ extern "C" struct afb_binding_interface; extern const struct afb_binding_interface *binder_interface; +struct event_filter_t { + double frequency; + double min; + double max; +}; + void on_no_clients(std::string message); int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata); |