[jira] [Created] (MYNEWT-740) Text parsing package

2017-04-24 Thread Christopher Collins (JIRA)
Christopher Collins created MYNEWT-740:
--

 Summary: Text parsing package
 Key: MYNEWT-740
 URL: https://issues.apache.org/jira/browse/MYNEWT-740
 Project: Mynewt
  Issue Type: Improvement
Reporter: Christopher Collins
Assignee: Christopher Collins
 Fix For: v1_1_0_rel


Code to parse numbers and byte strings is duplicated in a lot of apps.  It 
would be good to create a general purpose package that does this.



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


[jira] [Commented] (MYNEWT-737) Make ble_hci_uart_tx_char more efficient

2017-04-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on MYNEWT-737:


Commit 5a869e3e2e791fd83e763a02fcecb4803de6ce37 in incubator-mynewt-core's 
branch refs/heads/master from [~wes3]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=5a869e3 
]

nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient

Per pull request review, add assert() if om is NULL. Did not
modify the rest of the code in case assert() is compiled out
by NDEBUG being defined.


> Make ble_hci_uart_tx_char more efficient
> 
>
> Key: MYNEWT-737
> URL: https://issues.apache.org/jira/browse/MYNEWT-737
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Nimble
>Affects Versions: v1_1_0_rel, v1_0_0_rel
>Reporter: William San Filippo
> Fix For: v1_1_0_rel
>
>
> Recently there was a bug fixed in ble_hci_uart_tx_char(). The original code 
> assumed a single mbuf but now that we have mbuf chains, the code could 
> probably be made more efficient, as using os_mbuf_copydata and os_mbuf_adj() 
> is a bit heavyweight for single mbuf copies



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


[jira] [Commented] (MYNEWT-737) Make ble_hci_uart_tx_char more efficient

2017-04-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on MYNEWT-737:


Commit 843e03dde5aaf3119ad348a70ba195e5b9ef7e36 in incubator-mynewt-core's 
branch refs/heads/master from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=843e03d 
]

This closes #243.

Merge remote-tracking branch 'wes3/ble_hci_uart2'

* wes3/ble_hci_uart2:
  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient
  nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient


> Make ble_hci_uart_tx_char more efficient
> 
>
> Key: MYNEWT-737
> URL: https://issues.apache.org/jira/browse/MYNEWT-737
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Nimble
>Affects Versions: v1_1_0_rel, v1_0_0_rel
>Reporter: William San Filippo
> Fix For: v1_1_0_rel
>
>
> Recently there was a bug fixed in ble_hci_uart_tx_char(). The original code 
> assumed a single mbuf but now that we have mbuf chains, the code could 
> probably be made more efficient, as using os_mbuf_copydata and os_mbuf_adj() 
> is a bit heavyweight for single mbuf copies



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


[jira] [Commented] (MYNEWT-737) Make ble_hci_uart_tx_char more efficient

2017-04-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on MYNEWT-737:


Commit be6ce3cc261f0fedee0807ce85aae0b287d13dd2 in incubator-mynewt-core's 
branch refs/heads/master from [~wes3]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=be6ce3c 
]

nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient

Modified the code in ble_hci_uart_tx_char to be faster. This
added a bit more code (should not have increased ram usage) and
should in general be faster than the old method and should also
free the mbufs slightly faster (each one is freed as it is
used).


> Make ble_hci_uart_tx_char more efficient
> 
>
> Key: MYNEWT-737
> URL: https://issues.apache.org/jira/browse/MYNEWT-737
> Project: Mynewt
>  Issue Type: Improvement
>  Components: Nimble
>Affects Versions: v1_1_0_rel, v1_0_0_rel
>Reporter: William San Filippo
> Fix For: v1_1_0_rel
>
>
> Recently there was a bug fixed in ble_hci_uart_tx_char(). The original code 
> assumed a single mbuf but now that we have mbuf chains, the code could 
> probably be made more efficient, as using os_mbuf_copydata and os_mbuf_adj() 
> is a bit heavyweight for single mbuf copies



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


[jira] [Updated] (MYNEWT-739) sensor_test app: improvements

2017-04-24 Thread Vipul Rahane (JIRA)

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

Vipul Rahane updated MYNEWT-739:

Summary: sensor_test app: improvements  (was: Sensor list shows only 
default sensor )

> sensor_test app: improvements
> -
>
> Key: MYNEWT-739
> URL: https://issues.apache.org/jira/browse/MYNEWT-739
> Project: Mynewt
>  Issue Type: Improvement
>  Components: drivers
> Environment: nRF52dk with Adafruit BNO055 sensor and Minicom
>Reporter: Sheela
>Assignee: Vipul Rahane
> Fix For: v1_1_0_rel
>
>
> This ticket will take care of any improvements we want for the app:
> 1. Built code from the tip to include Sensors.  Connected Adafruit BNO055 via 
> I2C interface to nRF52dk.  Modified Syscfg to "nrf52_sensor  
> syscfg=BNO055_I2CBUS=0:I2C_0=1" for the BNO055 sensor.
> Using sensors_test, issued 'sensor list' command which yielded "sensor dev = 
> color0, type = 0x8000 " as result.  
> Noticed that in syscfg the "TCS34725_PRESENT" was also set to '1' by default 
> and 'sensor list' automatically shows only that sensor.  
> sensor list should show all the sensors that are configured.
> In the app tcs34725_config() was failing which was causing the sensor list to 
> not get populated. 
> 2. Remove config, gpio toggle stats, gpio toggle logs from the app.



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


[jira] [Created] (MYNEWT-739) Sensor list shows only default sensor

2017-04-24 Thread Sheela (JIRA)
Sheela created MYNEWT-739:
-

 Summary: Sensor list shows only default sensor 
 Key: MYNEWT-739
 URL: https://issues.apache.org/jira/browse/MYNEWT-739
 Project: Mynewt
  Issue Type: Bug
  Components: drivers
 Environment: nRF52dk with Adafruit BNO055 sensor and Minicom
Reporter: Sheela
Assignee: Vipul Rahane
 Fix For: v1_1_0_rel


Built code from the tip to include Sensors.  Connected Adafruit BNO055 via I2C 
interface to nRF52dk.  Modified Syscfg to "nrf52_sensor 
syscfg=BNO055_I2CBUS=0:I2C_0=1" for the BNO055 sensor.

Using sensors_test, issued 'sensor list' command which yielded "sensor dev = 
color0, type = 0x8000 " as result.  

Noticed that in syscfg the "TCS34725_PRESENT" was also set to '1' by default 
and 'sensor list' automatically shows only that sensor.  

sensor list should show all the sensors that are configured.




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