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/21 20:34:00 UTC

[jira] [Resolved] (MYNEWT-815) SensorAPI: Add type field to data_func and listener

     [ https://issues.apache.org/jira/browse/MYNEWT-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vipul Rahane resolved MYNEWT-815.
---------------------------------
    Resolution: Fixed

> 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
>              Labels: bno055, sensors
>             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)