Bluetooth specification question after seeing Android 7.1.1 disconnect

2017-01-16 Thread will sanfilippo
Hello: Was wondering if there were any folks out there that could comment on something regarding a disconnect issue with an Android Phone running 7.1.1 and our bluetooth stack (the controller). What appears to be happening is this: * Nimble wants to do Data Length Extension and enqueues a

Re: stopping scan & adv in bleprph example

2017-01-16 Thread will sanfilippo
Yes, Mynewt works the same way as FreeRTOS in this respect. Well, at least in the way you are describing FreeRTOS. We have a tickless OS and when we decide to go to sleep we are waiting for an interrupt to wake us up. Regarding the radio: there are some registers that are only programmed once,

Re: stopping scan & adv in bleprph example

2017-01-16 Thread Christopher Collins
Hi Chew, On Tue, Jan 17, 2017 at 01:08:16AM +, Lm Chew wrote: > So calling ble_gap_adv_stop and ble_gap_disc_cancel will stop all radio > activity is that correct? It depends on what your application has told the stack to do. If you have initiated a connection, you will also need to cancel

Re: stopping scan & adv in bleprph example

2017-01-16 Thread Lm Chew
Hi Chris, Thanks for the reply. So calling ble_gap_adv_stop and ble_gap_disc_cancel will stop all radio activity is that correct? Is it safe to modify the Radio setting(on the physical just like in ble_phy) after just calling these functions? Hi Will, Not exactly a "system off" I am looking

Re: Single Bank firmware update (ie nordic vendor style dfu)

2017-01-16 Thread Christopher Collins
Just a follow up for the list- It turns out there were a number of issues with split images. I believe they have all been resolved now. Some of the required changes were non-trivial, so I wanted to summarize what I did. 1. bleprph doesn't jump to app (slot 2). This one is straightforward.

mynewt installation problem on Windows 54

2017-01-16 Thread Alexej Gerstmaier
Hi, when following the instruction to install mynewt, I get stuck at the following part. *Use the newt wrapper script* *Use the newt wrapper script to invoke newt. Create the following file, name it newt, make it executable, and put it in your path. This will allow you to run newt as if it was

Re: stopping scan & adv in bleprph example

2017-01-16 Thread will sanfilippo
If by deep sleep you mean “system off” mode requiring some form of wakeup, it is curently not implemented. You would have to hook that in yourself. > On Jan 16, 2017, at 9:22 AM, Christopher Collins wrote: > > Hi Chew, > > On Mon, Jan 16, 2017 at 11:33:23AM +, Lm Chew