RE: newtmgr - go install failed

2016-07-19 Thread hathach
Hi Chris, Thank you very much for the detailed explanation. :) Best regards, Ha Thach > -Original Message- > From: Christopher Collins [mailto:ccoll...@apache.org] > Sent: Wednesday, July 20, 2016 3:05 AM > To: dev@mynewt.incubator.apache.org > Subject: Re: newtmgr - go install failed

Re: NimBLE host - flat bufs vs. mbufs

2016-07-19 Thread marko kiiskila
+ 1 for mbufs. Greater potential for zero-copy stack, ease of sizing for different memory footprint etc. And you can always move data to contiguous area, when parsing in-place is inconvenient. > On Jul 19, 2016, at 9:15 AM, Sterling Hughes wrote: > > +1 for Mbufs vs flat

Re: Mynewt Demo - Bluetooth LE services written in MicroPython + Browser/WebBluetooth UI

2016-07-19 Thread Sterling Hughes
+1 — this is awesome. Sterling On 18 Jul 2016, at 20:04, Christopher Collins wrote: > On Mon, Jul 18, 2016 at 10:22:54PM +0100, Wayne Keenan wrote: >> Hi, >> >> I've ported MicroPython and some handy Python libraries to Apache Mynewt; >> there's a bit more to it but collectively this

Re: NimBLE host - flat bufs vs. mbufs

2016-07-19 Thread Christopher Collins
On Tue, Jul 19, 2016 at 03:56:46PM +0200, Kevin Townsend wrote: > I'm curious what you would have done for a simple FIFO where you are > likely storing 1 or 2 bytes at a time? If there isn't a good match, > perhaps it's worth adding a very light weight FIFO or circular buffer > that can deal

Re: NimBLE host - flat bufs vs. mbufs

2016-07-19 Thread Christopher Collins
On Tue, Jul 19, 2016 at 06:38:02AM -0700, will sanfilippo wrote: > I am +1 for mbufs. While they do take a bit of getting used to, I > think converting the host to use them is the way to go, especially if > they replace a large flat buffer pool. > > I also think we should mention that mbufs use a

Re: NimBLE host - flat bufs vs. mbufs

2016-07-19 Thread Kevin Townsend
We were actually discussing some buffer problems internally this weekend, debating mbuf versus other solutions, etc. We needed a simple FIFO to store data from Nordic's BLE UART service until the end user wants to access it, and we recycled some existing FIFO code we implemented for Nordic's