Task and Priority Management Lesson

2016-07-05 Thread Brian Giori
Hi All, I finished my first lesson/tutorial which just got pushed to the develop branch of apache/incubator-mynewt-site. The lesson is aimed towards amateur application developers who want to get started using mynewt without having to purchase extra hardware (e.g. LEDs, sensors, shields etc). It

July board report for Mynewt

2016-07-05 Thread aditi hilbert
Hi Mentors, Here’s the first draft of Mynewt’s board report for July. Please review it. thanks, aditi - Mynewt Mynewt is a real-time operating system for constrained embedded systems like wearables, lightbulbs, locks and doorbells. It works on a variety of

Re: Bluetooth, multiple tasks and forwarding events

2016-07-05 Thread Wayne Keenan
Hi Chris, Thanks for the clarification. What I'm seeing in the 2 task case is that the device hangs when a BLE GATT request comes in. I need to put together a (relatively) simple case as a fair chunk of RAM is being used up even before adding a 2nd task; I thought I was keeping it within limits

Re: Read rssi of established connection

2016-07-05 Thread will sanfilippo
A comment regarding RSSI: all frames received within a connection event will have an RSSI measurement. We only count valid CRC frames. The RSSI applies to empty pdu’s as well so the RSSI will get updated as long as the connection is valid. We also dont average the RSSI in any way; the last data

Re: Bluetooth, multiple tasks and forwarding events

2016-07-05 Thread Christopher Collins
On Mon, Jul 04, 2016 at 02:48:30PM +0100, Wayne Keenan wrote: > Hi, > > I have 2 tasks: > > > Task 1 > > Is the 'app_task_handler' > It is the 'host parent task' that calls 'bl_hs_start' and > It dispatches the OS_EVENT_T_TIMER events. > That's all. > > Task 2 > > Makes calls to