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/03/13 21:48:41 UTC

[jira] [Commented] (MYNEWT-667) SensorAPI: Shell: Invalid type in read crashes device and print type in user friendly manner

    [ https://issues.apache.org/jira/browse/MYNEWT-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923019#comment-15923019 ] 

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

Commit 3f4a64d442d513cb39bbd7ae265a5c9c4da38318 in incubator-mynewt-core's branch refs/heads/develop from [~vrahane]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=3f4a64d ]

 MYNEWT-667 SensorAPI: Shell:

- Invalid type in read crashes device and print type in user friendly manner
- Error handling was not taken care of Sensor type is bit field, printing it
  out as individual bits is better than printing the entire bitmap
- Also allow printing accepting type in hex, use strtol() instead of atoi()
  for parsing type


> SensorAPI: Shell: Invalid type in read crashes device and print type in user friendly manner
> --------------------------------------------------------------------------------------------
>
>                 Key: MYNEWT-667
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-667
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Vipul Rahane
>            Assignee: Vipul Rahane
>             Fix For: v1_1_0_rel
>
>
> Shell: Invalid type in read crashes device
> - Error handling was not taken care of
> - Sensor type is bit field, printing it out as individual bits is better than printing the entire bitmap
> - Also allow printing accepting type in hex, use strtol() instead of atoi() for parsing type



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)