Re: newtmgr OTA error: slice bounds out of range [:-62]

2022-12-07 Thread Szymon Janc
Hi, We are able to reproduce this on newtmgr master (1.11-dev), will try to fix this before next release On Fri, 16 Sept 2022 at 03:22, Mo Chen wrote: > Hi there, > > I encountered errors when using mynewt to DFU OTA. > > Environment: > Intel Macbook pro > MacOS: Monterey 12.5.1 > > newt

Re: newtmgr

2018-08-08 Thread Timo Kolthoff
Thx, Do you have any input on my next question in the previous mail? /BR Den 8 aug. 2018 19:37 skrev aditi hilbert : Hi Timo, That is correct - currently, newtmgr is only point to point capable. It is possible to extend it to work over mesh and that would be useful ... but such functionality

Re: newtmgr

2018-08-08 Thread aditi hilbert
Hi Timo, That is correct - currently, newtmgr is only point to point capable. It is possible to extend it to work over mesh and that would be useful ... but such functionality is not planned for a release yet. thanks, aditi > On Aug 7, 2018, at 4:55 AM, Timo Kolthoff wrote: > > Hi, > > Is

Re: newtmgr fs command fails in sim

2018-07-10 Thread Kevin Townsend
Hi Jacob, But Kevins code snippet brings up something im thinking about. In his comments he has CONFIG_NFFS: 1# Initialize and configure NFFS into the system I dont agree with that comment, whats thats actually doing is turning on the config subsystem and telling it to create its

Re: newtmgr fs command fails in sim

2018-07-07 Thread Kevin Townsend
Hi Jacob, Excellent point about the flash usage, and figuring out how to perhaps make it easier for packages to play well together in a single filesystem without hijacking the config system out of necessity. I dont agree with that comment, whats thats actually doing is turning on the config

Re: newtmgr fs command fails in sim

2018-07-06 Thread Jacob Rosenthal
Maybe Im misunderstanding, as Im personally digging into a bunch of fs stuff right now myself.. But Kevins code snippet brings up something im thinking about. In his comments he has > > CONFIG_NFFS: 1# Initialize and configure NFFS into the > system > I dont agree with that comment,

Re: newtmgr fs command fails in sim

2018-07-06 Thread Andrzej Kaczmarek
Hi, On Fri, Jul 6, 2018 at 6:24 PM marko kiiskila wrote: > > > > > On Jul 6, 2018, at 5:49 PM, Kevin Townsend > > wrote: > > > > Hi Chris, > >> The error codes that come back in newtmgr responses are always (or at > >> least should be) MGMT_ERR codes: > >>

Re: newtmgr fs command fails in sim

2018-07-06 Thread marko kiiskila
> On Jul 6, 2018, at 5:49 PM, Kevin Townsend wrote: > > Hi Chris, >> The error codes that come back in newtmgr responses are always (or at >> least should be) MGMT_ERR codes: >>

Re: newtmgr fs command fails in sim

2018-07-06 Thread Kevin Townsend
Hi Chris, The error codes that come back in newtmgr responses are always (or at least should be) MGMT_ERR codes: https://github.com/apache/mynewt-core/blob/42bb5acc2f049d346c81f25e8c354bc3c6afefd4/mgmt/mgmt/include/mgmt/mgmt.h#L65 `MGMT_ERR_ENOENT` is indicated when the newtmgr command isn't

Re: newtmgr fs command fails in sim

2018-07-06 Thread Christopher Collins
Hi Kevin, On Fri, Jul 06, 2018 at 02:41:17PM +0200, Kevin Townsend wrote: > I'm doing some initial development using only the simulator (for > convenience sake), and was testing out 'newtmgr fs' support to quickly > get data to and from the simulator. > > My sim target is setup to use NFFS

Re: newtmgr on Android

2018-06-27 Thread Brian Giori
Hi Andrey, I have built Android and iOS NewtMgr implementations which are currently in a "private beta" (if you will) and are still under active development. The plan is to release these libraries (Apache 2.0) when they have stabilized, which for Android should be soon. If you'd like access to

Re: newtmgr on Android

2018-06-27 Thread Jacob Rosenthal
I dont know if that runtime sensors app has firmware update, but it has oic which would get you close https://github.com/runtimeco/android_sensor Also I have a web bluetooth solution that would work on a lot of android phones https://github.com/jacobrosenthal/web-newtmgr On Wed, Jun 27, 2018

Re: newtmgr 'image confirm' returns 'Error: 1'

2017-08-22 Thread Kevin Townsend
Hi Christopher, Thanks for the explanation between the test/basic-confirm and confirm-hash differences. I didn't realize the distinction, but it clarifies a number of things for me for the mobile app (visible in the store now:

Re: Newtmgr moved to new repo

2017-07-10 Thread Paul LaCrosse
Tried option #2, which worked. Thanks Chris! On Mon, Jul 10, 2017 at 4:23 PM, Christopher Collins wrote: > Hi Paul, > > On Mon, Jul 10, 2017 at 04:13:30PM -0400, Paul LaCrosse wrote: > > Pauls-MacBook-Pro-2:testgoget paul$ go get mynewt.apache.org/newtmgr/. > .. > > > > # cd

Re: Newtmgr moved to new repo

2017-07-10 Thread Christopher Collins
Hi Paul, On Mon, Jul 10, 2017 at 04:13:30PM -0400, Paul LaCrosse wrote: > Pauls-MacBook-Pro-2:testgoget paul$ go get mynewt.apache.org/newtmgr/... > > # cd /Users/paul/dev/go/src/mynewt.apache.org/newt; git pull --ff-only > > fatal: repository ' >

Re: Newtmgr moved to new repo

2017-07-10 Thread Paul LaCrosse
Pauls-MacBook-Pro-2:testgoget paul$ go get mynewt.apache.org/newtmgr/... # cd /Users/paul/dev/go/src/mynewt.apache.org/newt; git pull --ff-only fatal: repository ' https://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt.git/' not found package