You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Vipul Rahane (JIRA)" <ji...@apache.org> on 2017/07/20 18:06:00 UTC
[jira] [Created] (MYNEWT-815) SensorAPI: Add type field to
data_func and listener
Vipul Rahane created MYNEWT-815:
-----------------------------------
Summary: SensorAPI: Add type field to data_func and listener
Key: MYNEWT-815
URL: https://issues.apache.org/jira/browse/MYNEWT-815
Project: Mynewt
Issue Type: Bug
Security Level: Public (Viewable by anyone)
Components: Sensor Framework
Reporter: Vipul Rahane
Assignee: Vipul Rahane
Fix For: v1_1_0_rel
This ticket takes care of the following:
- Adding type field as a parameter to data_func callback and the listener function. It helps in letting the callback and listener know which type of data the callback or the listener is looking at.
- Fixing bno055 driver read function so that all data can be read instead of reading data for a single sensor type.
- Calling listener only for a specific type, filtering based on the mask. Earlier the listener would not honor the listener.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)