Re: debounce/debounce.h

2018-08-28 Thread marko kiiskila
Thanks,

what I meant to say was that minimally one of the header files should be renamed
for builds to work :) Although similar paths to the header is probably also 
confusing.

> On Aug 28, 2018, at 6:04 PM, Christopher Collins  wrote:
> 
> I added the second one (util/debounce) without checking if another one
> already existed.  I'll come up with a new name for util/debounce today
> and submit a PR.
> 
> Chris
> 
> On Tue, Aug 28, 2018 at 05:33:22PM +0300, marko kiiskila wrote:
>> mynewt-core has 2 debounce packages. Trying to include both packages
>> within a project is giving me trouble.
>> 
>> I think one should be renamed. Which one?
>> 
>> [marko@IsMyLaptop:~/src2/incubator-mynewt-blinky/repos/apache-mynewt-core]$ 
>> find . -name debounce.h
>> ./hw/drivers/debounce/include/debounce/debounce.h
>> ./util/debounce/include/debounce/debounce.h
>> 



Re: debounce/debounce.h

2018-08-28 Thread Christopher Collins
I added the second one (util/debounce) without checking if another one
already existed.  I'll come up with a new name for util/debounce today
and submit a PR.

Chris

On Tue, Aug 28, 2018 at 05:33:22PM +0300, marko kiiskila wrote:
> mynewt-core has 2 debounce packages. Trying to include both packages
> within a project is giving me trouble.
> 
> I think one should be renamed. Which one?
> 
> [marko@IsMyLaptop:~/src2/incubator-mynewt-blinky/repos/apache-mynewt-core]$ 
> find . -name debounce.h
> ./hw/drivers/debounce/include/debounce/debounce.h
> ./util/debounce/include/debounce/debounce.h
> 


debounce/debounce.h

2018-08-28 Thread marko kiiskila
mynewt-core has 2 debounce packages. Trying to include both packages
within a project is giving me trouble.

I think one should be renamed. Which one?

[marko@IsMyLaptop:~/src2/incubator-mynewt-blinky/repos/apache-mynewt-core]$ 
find . -name debounce.h
./hw/drivers/debounce/include/debounce/debounce.h
./util/debounce/include/debounce/debounce.h



newtmgr connect to BLE device using static random address

2018-08-28 Thread Daniele Biagetti

Hello everyone,

I'm trying to connect to a Bluetooth mesh node running the Zephyr OS 
using the newtmgr.


I'm able to correctly connect to the device while it is advertising with 
a given name, for example BLEDimmer01, with the command:


sudo newtmgr --conntype ble --connstring 'peer_name=BLEDimmerf01' echo test

but I have not found a way to connect with the same node using the 
static random MAC address, I tried several command line option like the 
following, without success


sudo newtmgr --conntype ble --connstring 
'own_addr_type=rpa_rnd,peer_id=C9:48:0B:8B:8A:9F' echo test



Can anyone help me?


Thank you very much

Daniele