Re: BLE HCI support on NRF52DK

2017-02-03 Thread Andrzej Kaczmarek
Hi Will, On Fri, Feb 3, 2017 at 7:08 PM, will sanfilippo wrote: > I might be getting a bit confused here so hopefully I am making some > sense. I seem to recall some discussion around this in the past but I cant > recall :-) Anyway... > > It is my understanding that the first

Re: BLE HCI support on NRF52DK

2017-02-06 Thread Andrzej Kaczmarek
possibility of the two scenarios described above happening. > > Regarding HW Error: that is something we can do in the controller as we > can look at the reason why the device reset and send a HW error event. > > > > On Feb 3, 2017, at 12:12 PM, Andrzej Kaczmarek < > andrzej.kaczma...

Re: [RFC] Using BLE device address in API

2017-02-01 Thread Andrzej Kaczmarek
received peer's identity address (after pairing) Also please find some comments below for further discussion. BR, Andrzej On Thu, Jan 26, 2017 at 5:59 PM, Christopher Collins <ccoll...@apache.org> wrote: > Hi Andrzej, > > On Thu, Jan 26, 2017 at 03:41:53PM +0100, Andrzej Kaczmare

[RFC] Using BLE device address in API

2017-01-26 Thread Andrzej Kaczmarek
Hi, I think it would be nice to do one more API refactoring before 1.0 release and simplify using BLE device address in API. The current state here is similar to what we had with UUIDs in ATT code, i.e. addresses are passed as pair of address type and address value and there is no common way to

Re: Using Eclipse for Mynewt development

2017-01-20 Thread Andrzej Kaczmarek
Hi all, I managed to find some time to write down a short tutorial (with pictures! ;-) ) on how to use Eclipse as IDE for Mynewt. This is based on my own experience and on what we use in our company with some "upgrades" after reading through Chris' and Chew's posts. You can find tutorial here:

Re: NimBLE host advertising data API

2017-01-27 Thread Andrzej Kaczmarek
Hi Chris, I created a pull request which also updates API to raw data for the opposite direction, i.e. from host to app. Application can still parse this to ble_hs_adv_fields since helper is now public, but has to do this explicitly. The advantage is that if application prefers to work on raw

Re: IDE used for Mynewt Development

2017-01-18 Thread Andrzej Kaczmarek
Hi Chew, On Wed, Jan 18, 2017 at 6:37 AM, Lm Chew wrote: > Hi, > > > Before moving to mynewt platform, I worked with Nordic SDK using Eclipse > IDE and uses CDT Parser to parse the makefile output to display useful > information in Eclipse. And was able to use the GDB to

[RFC] Refactor UUID handling in Nimble

2017-01-13 Thread Andrzej Kaczmarek
Hi, I've refactored Nimble code to use dedicated type for UUID handling instead of generic byte-array. Full diff is available here (it is split into several patches for now to separate changes in stack and apps): https://github.com/andrzej-kaczmarek/incubator-mynewt-core/c ompare/develop

Re: nimble: PTS: Fixes for L2CAP and SM

2016-11-30 Thread Andrzej Kaczmarek
Hi all, On Tue, Nov 29, 2016 at 11:29 PM, Łukasz Rymanowski < lukasz.rymanow...@codecoup.pl> wrote: > Hi guys, > > Me and my colleagues started to do PTS testing againts mynewt on > nrf52dk. For now we are looking into GAP, GATT, L2CAP and SMP and in > some point of time we will be contributing

Re: Problem to use newtmgr through ble

2017-03-16 Thread Andrzej Kaczmarek
Hi Chris, newtmgr probably requires just CAP_NET_ADMIN to open either raw or user channel socket so you could do sth like: sudo setcap cap_net_admin=+ep `which newtmgr` And no need for sudo anymore. Best regards, Andrzej On Thu, Mar 16, 2017 at 4:35 PM, Christopher Collins

Re: [RFC] Integrating SEGGER SystemView into Mynewt

2017-03-09 Thread Andrzej Kaczmarek
Hi Michal, On Thu, Mar 9, 2017 at 1:32 PM, Michał Narajowski < michal.narajow...@codecoup.pl> wrote: > Hi, > I'm working on wiring SEGGER SystemView to Mynewt. "SystemView can > record data from the target system while it is running. The recorded > data is analyzed and the system behavior is

Re: [VOTE] Graduation of podling Apache Mynewt to Top Level Project

2017-05-29 Thread Andrzej Kaczmarek
to an embedded OS optimized for networking and built for > remote > > > management of constrained devices that are incapable of running either > > > Linux or Android. > > > > > > > > RESOLVED, that the office of "Vice President, Apache Mynewt" be &

MYNEWT-526: Gap params update succeeds, but times out immediately after

2017-05-05 Thread Andrzej Kaczmarek
Hi, I created pull request which includes solution for MYNEWT-526 and few minor fixes: https://github.com/apache/incubator-mynewt-core/pull/257 This is not a fix, more like a workaround for a known problem in older versions of TI CC254x which cannot apply connection parameters after update if