[
https://issues.apache.org/jira/browse/MYNEWT-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vipul Rahane updated MYNEWT-667:
--------------------------------
Description:
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
was:
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
> 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)