Using cputime and timeofday for SensorAPI samples

2017-03-31 Thread Vipul Rahane
Hello, Since a few days I have been working on adding cputime to sensor samples. This would help in doing interpolation of data coming from different sensors in a sensor network with sensors connected to different nodes. If multiple sensors are connected to the same device, this would help in

Re: nrf52dk hal_bsp_init() and sensor device creation

2017-03-31 Thread Vipul Rahane
Yes, that’s what I mean’t. Thanks Will. -Vipul > On Mar 31, 2017, at 5:37 PM, will sanfilippo wrote: > > I presume you mean “was getting too crowded” :-) > > Yeah, I copied that bsp to create this other bsp and noticed alot of sensor > dev creates in there. Not a big deal

nrf52dk hal_bsp_init() and sensor device creation

2017-03-31 Thread Vipul Rahane
Hello, I am changing nrf52dk hal_bsp_init() so that it calls sensor_device_create() instead of creating sensors separately. this is because hal_bsp_init() was not getting too crowded. Regards, Vipul Rahane

Re: Adding platform specific API to get public and/or random static address

2017-03-31 Thread will sanfilippo
Yep, except for one typo: ble_hw_get_public_addr() instead of ble_hs_get_public_addr(). I should have mentioned that, assuming we agree to this, the controller code will call that API and the host should not call it. I mentioned this API in case someone wants to modify how it works for them.

Re: Adding platform specific API to get public and/or random static address

2017-03-31 Thread Christopher Collins
On Fri, Mar 31, 2017 at 03:49:05PM -0700, will sanfilippo wrote: > Hello: > > There has been some discussion of this already on the list but nothing has > been done yet so I wanted to resurrect the conversation with some proposals. > > What we are trying to do here is the following: > 1) Have

Adding platform specific API to get public and/or random static address

2017-03-31 Thread will sanfilippo
Hello: There has been some discussion of this already on the list but nothing has been done yet so I wanted to resurrect the conversation with some proposals. What we are trying to do here is the following: 1) Have the controller get a public device address without it being hardcoded. 2) Have

Re: [apache/incubator-mynewt-core] PIC32 port (#218)

2017-03-31 Thread Sterling Hughes
Hi Julian, On 31 Mar 2017, at 1:54, Julian Ingram wrote: Hi Marko, The Microchip license: /*- * * Copyright (c) 2014, Microchip Technology Inc. and its subsidiaries ("Microchip") * All rights reserved. * This

RE: [apache/incubator-mynewt-core] PIC32 port (#218)

2017-03-31 Thread Julian Ingram
Hi Marko, The Microchip license: /*- * * Copyright (c) 2014, Microchip Technology Inc. and its subsidiaries ("Microchip") * All rights reserved. * This software is developed by Microchip Technology Inc. and its *