Re: Newtmgr over BLE not Working

2017-03-28 Thread Szymon Janc
Hi, On Sunday, 26 March 2017 18:23:52 CEST will sanfilippo wrote: > Not sure what is going on there, but the command that you show is a BR/EDR > command and not a LE command, which is why you get a unknownn HCI command. > The controller does not support that command. This is simply due to GATT

Re: Newtmgr over BLE not Working

2017-03-28 Thread Lm Chew
lechi syscfg.yml. But I still cant get it to work. Attached is the btmon log. Best Regards, Chew From: Christopher Collins <ch...@runtime.io> Sent: Tuesday, 28 March, 2017 5:32:52 AM To: dev@mynewt.incubator.apache.org Cc: Yz Then; Meili Yeo Subject: Re: Newtmg

Re: Newtmgr over BLE not Working

2017-03-27 Thread Christopher Collins
Hi Lm, On Sun, Mar 26, 2017 at 07:45:37AM +, Lm Chew wrote: > I also tried setting up a nrf52 DK with blehci app + BlueZ as explained in > this tutorial(with a few changes). > > - http://mynewt.apache.org/latest/os/tutorials/blehci_project/ > > - Use this to connect with btattach instead:

Re: Newtmgr over BLE not Working

2017-03-27 Thread Vipul Rahane
09.724132 > Write Simple Pairing Mode (0x03|0x0056) ncmd 1 > Status: Unknown HCI Command (0x01) > > Best Regards, > Chew > From: Vipul Rahane <vi...@runtime.io> > Sent: Saturday, 25 March, 2017 9:05:19 AM > To: dev@mynewt.incubator.apache.org > Cc: Yz

Re: Newtmgr over BLE not Working

2017-03-26 Thread Lm Chew
Meili Yeo Subject: Re: Newtmgr over BLE not Working Hello, I think there could be a couple of things causing this. 1. sudo "$(which newtmgr)" -c ble image upload '/slinky/slinky.img’ . Please try removing single quotes and try again. I tried with/without single quotes. It works fine witho

Re: Newtmgr over BLE not Working

2017-03-24 Thread Vipul Rahane
, > > Chew > > > From: Vipul Rahane <vi...@runtime.io> > Sent: Saturday, 25 March, 2017 5:42:04 AM > To: dev@mynewt.incubator.apache.org > Cc: Yz Then; Meili Yeo > Subject: Re: Newtmgr over BLE not Working > > Thank you. Ca

Re: Newtmgr over BLE not Working

2017-03-24 Thread Lm Chew
Hi Vipul, I tried changing LOG_LEVEL: 255, but it is still not working. Best Regards, Chew From: Vipul Rahane <vi...@runtime.io> Sent: Saturday, 25 March, 2017 5:42:04 AM To: dev@mynewt.incubator.apache.org Cc: Yz Then; Meili Yeo Subject: Re: Newtmgr ov

Re: Newtmgr over BLE not Working

2017-03-24 Thread Vipul Rahane
t;LOG_NEWTMGR: 1 > ># Enable Config. >CONFIG_NEWTMGR: 1 > ># OS main/default task >OS_MAIN_STACK_SIZE: 428 > > > Best Regards, > > Chew > > > From: Vipul Rahane <vi...@runtime.io> > Sent: Sat

Re: Newtmgr over BLE not Working

2017-03-24 Thread Lm Chew
. CONFIG_NEWTMGR: 1 # OS main/default task OS_MAIN_STACK_SIZE: 428 Best Regards, Chew From: Vipul Rahane <vi...@runtime.io> Sent: Saturday, 25 March, 2017 1:38:09 AM To: dev@mynewt.incubator.apache.org Cc: Yz Then; Meili Yeo Subject: Re: Newtmgr over BLE not W

Re: Newtmgr over BLE not Working

2017-03-24 Thread Vipul Rahane
:c�ddataXO<���$ <� > ��Q�S���clen��coff len::107 > 2017/03/24 17:01:31 [DEBUG] Disconnected%!(EXTRA ) > > Seem like it get Disconnected? > ____ > From: Lm Chew <lm.c...@free2move.se> > Sent: Friday, 24 March, 2017 3:23:39 PM > To: dev@mynewt.

Re: Newtmgr over BLE not Working

2017-03-24 Thread Lm Chew
) Seem like it get Disconnected? From: Lm Chew <lm.c...@free2move.se> Sent: Friday, 24 March, 2017 3:23:39 PM To: dev@mynewt.incubator.apache.org Cc: Yz Then; Meili Yeo Subject: Newtmgr over BLE not Working Hi Everyone, I need some help figuring out why the New

Newtmgr over BLE not Working

2017-03-24 Thread Lm Chew
Hi Everyone, I need some help figuring out why the Newtmgr Image Upload over BLE is not working. The Image setup I am going for is the "Unified" setup. So now I will describe the procedure that I have done up till the issue arise. Firstly I pulled all the latest source for the Newt Tool &

Re: Newtmgr over BLE

2017-03-07 Thread Sterling Hughes
Hi Jacob, Chris has been working on getting the Mynewt stack working in a cross platform way. You can see some of his progress here: * https://github.com/ccollins476ad/incubator-mynewt-core/tree/nativehost/apps/blehostd/src *

Re: Newtmgr over BLE

2017-03-07 Thread Jacob Rosenthal
Whats the internal thinking on this? Is it being discussed elsewhere? Is the aforementioned rewrite going on, or delayed so it make sense for me to try to get work on the xpc calls? On Wed, Jan 25, 2017 at 1:07 PM, Jacob Rosenthal wrote: > The gatt dependency actually

Re: Newtmgr over BLE

2017-01-25 Thread Jacob Rosenthal
Or at least the newtmgr code as a dependency ;) On Wed, Jan 25, 2017 at 6:52 AM, David G. Simmons wrote: > ook at this app ... >

Re: Newtmgr over BLE

2017-01-25 Thread David G. Simmons
I'd love to get a look at this app ... dg > On Jan 24, 2017, at 8:18 PM, Kevin Townsend wrote: > > I'm not sure what the implications would be here on the iOS app we wrote that > is based on the newtmgr protocol and makes use of the current BLE service and >

Re: Newtmgr over BLE

2017-01-24 Thread Christopher Collins
Hi Kevin, On Wed, Jan 25, 2017 at 02:18:01AM +0100, Kevin Townsend wrote: > I'm not sure what the implications would be here on the iOS app we wrote > that is based on the newtmgr protocol and makes use of the current BLE > service and characteristics, although we could rewrite it if necessary.

Re: Newtmgr over BLE

2017-01-24 Thread Kevin Townsend
I'm not sure what the implications would be here on the iOS app we wrote that is based on the newtmgr protocol and makes use of the current BLE service and characteristics, although we could rewrite it if necessary. We use the currently defined newtmgr protocol and GATT services/chars to get

Newtmgr over BLE

2017-01-24 Thread Christopher Collins
Hello all, Recently, I have mentioned some planned BLE-related changes to the newtmgr tool. I wanted to share some of what I was thinking. Please feel free to comment and criticize as needed. * All BLE code gets removed from the newtmgr tool. The gatt library is also removed. * A separate

Re: Unsolicited Notify with newtmgr over BLE

2016-10-06 Thread Vipul Rahane
ubscribed peer. I didn't see >> any language in the spec indicating that this is illegal. The ability >> to send unsolicited notifications is useful, and I don't see a reason >> why it shouldn't be allowed. > I agree it's somewhat ambiguous or open to interpretation at prese

Re: Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Kevin Townsend
unsolicited notifications is useful, and I don't see a reason why it shouldn't be allowed. I agree it's somewhat ambiguous or open to interpretation at present, but in the case of something as critical as newtmgr over ble (OTA DFU etc.), it probably makes sense to take the safe approach and add

Re: Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Christopher Collins
On Wed, Oct 05, 2016 at 05:07:00PM -0700, Mike Ryan wrote: > On Thu, Oct 06, 2016 at 02:00:25AM +0200, Kevin Townsend wrote: > > I remember some discussions previously about unsolicited notifies > > and whether this was or wasn't supported in the BLE spec > > My reading of the spec suggests that

Re: Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Kevin Townsend
bit range at the start? This is a minor detail and might be a nuisance to change, and more of a cosmetic issue, but I figured it was worth tossing out there. On 06/10/16 02:00, Kevin Townsend wrote: I'm working with newtmgr over BLE based on the newtmgr lib in the master branch of apache

Re: Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Mike Ryan
On Thu, Oct 06, 2016 at 02:00:25AM +0200, Kevin Townsend wrote: > I remember some discussions previously about unsolicited notifies > and whether this was or wasn't supported in the BLE spec My reading of the spec suggests that it is not legal. Referring to Client Characteristic Configuration on

Unsolicited Notify with newtmgr over BLE

2016-10-05 Thread Kevin Townsend
I'm working with newtmgr over BLE based on the newtmgr lib in the master branch of apache-mynewt-core, which currently has the following structure: Service UUID: 8D53DC1D-1DB7-4CD3-868B-8A527460AA84 Characteristic UUID: DA2E7828-FBCE-4E01-AE9E-261174997C48 The source code has this explanatory

Re: MYNEWT-266 Newtmgr over BLE

2016-07-12 Thread Vipul Rahane
:15 PM, Vipul Rahane <vi...@runtime.io> wrote: > > Hello, > > I have implemented and tested newtmgr over BLE as a separate library. > > The current tests I have performed include image upload(OTA Firmware > upgrades), soft reset command, remote config and logs. > &