You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/07/21 20:32:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16096809#comment-16096809 ] 

ASF subversion and git services commented on MYNEWT-815:
--------------------------------------------------------

Commit 69de015b7c54e33c741fc0be7aee4ae184cf2901 in mynewt-core's branch refs/heads/master from [~vrahane]
[ https://gitbox.apache.org/repos/asf?p=mynewt-core.git;h=69de015 ]

MYNEWT-815 SensorAPI: Add type to data_func,listen


> 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)