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

Vipul Rahane closed MYNEWT-667.
-------------------------------
    Resolution: Fixed

> 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
> - Allow accepting type in hex, use strtol() instead of atoi() for parsing 
> type in the sensor read cmd.



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

Reply via email to