Re: Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Christopher Collins
On Sat, Dec 24, 2016 at 05:37:56AM +0100, Kevin Townsend wrote: > Hi Chris, > > For option 2, you should modify your target's system configuration. You > > can increase the mbuf count to 16 as follows: > > > > newt target syscfg set syscfg=MSYS_1_BLOCK_COUNT=16 > > > Was the 'target syscfg

Re: Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Kevin Townsend
Hi Chris, For option 2, you should modify your target's system configuration. You can increase the mbuf count to 16 as follows: newt target syscfg set syscfg=MSYS_1_BLOCK_COUNT=16 Was the 'target syscfg set' support recently added? I don't see this in the help menu for newt based on

Re: Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Christopher Collins
Hi Chris, On Fri, Dec 23, 2016 at 04:22:52PM -0500, Cris Frusina wrote: > Hi All, > > I'm just starting off with mynewt converting an old nrf51 project > written with the Nordic SDK. I've compiled and uploaded the > "bleprph_oic" example to my nrf52 custom board. > > I see the device

Sensor API Helper Functions

2016-12-23 Thread Kevin Townsend
I'm probably getting ahead of myself diving into this before the sensor API is nailed down, but if we wanted to add some generic helper functions that make use of the sensor API, what would be a good location or what to organize them as a package? It isn't always easy to organize things like

Fwd: Fwd: BLE quickly disconnects after connect on iPhone (LightBlue)

2016-12-23 Thread Cris Frusina
Hi All, I'm just starting off with mynewt converting an old nrf51 project written with the Nordic SDK. I've compiled and uploaded the "bleprph_oic" example to my nrf52 custom board. I see the device advertising with no problems, I can connect to the BLE device but after a few seconds it

RE: newt build error

2016-12-23 Thread Alan Graves
Hi Fabio, Dang it I believe that is correct. I was going to use a VirtualBox with Xbuntu that I have at home, but IT had set this computer up for typical developer use within the company. I guess I'll give it a try at home - over the holidays... Thanks for the help. Cheers, ALan

Re: newt build error

2016-12-23 Thread Fabio Utzig
Alan, Your Ubuntu is i686 right? That would make sense because 0x is really too big for an int (in 32 bit systems). I guess everyone has been developing newt on 64 bit systems (OSX or Linux x86_64). On Fri, Dec 23, 2016, at 06:50 PM, Alan Graves wrote: > Hi Sterling, > > BTW Thanks for

RE: newt build error

2016-12-23 Thread Alan Graves
Hi Sterling, BTW Thanks for the quick response. agraves@agravesLNXPV3997:~/dev/go/src/mynewt.apache.org/newt/newt$ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean

Re: newt build error

2016-12-23 Thread Sterling Hughes
Hi Alan, What go version are you using? Also, what branch is the mynewt source that you’re trying to compile? For me: $ pwd /Users/sterling/dev/go/src/mynewt.apache.org/newt/newt $ git status On branch develop $ go version go version go1.7.4 darwin/amd64 $ We’ve dropped support in mynewt

newt build error

2016-12-23 Thread Alan Graves
Hi dev, For my environment I'm running Ubuntu 16.x in a VMWare environment under Windows 7. I also have Go 1.6 installed and working. The problem is that I've been trying to do a native Linux install of newt and I get a strange Go? error, which unfortunately prevents some executables from