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: Logging (again!)

2018-07-06 Thread Kevin Townsend
+1 ... this all seems very reasonable to me. The lower the learning curve to get started the better, and most people have simple logging needs to get started. On Fri, 6 Jul 2018 at 00:18, Christopher Collins wrote: > Hello all, > > My logging obsession continues. I have submitted a giant PR >

Re: Logging (again!)

2018-07-06 Thread will sanfilippo
+1 This all seems quite reasonable to me. > On Jul 5, 2018, at 3:18 PM, Christopher Collins wrote: > > Hello all, > > My logging obsession continues. I have submitted a giant PR > (https://github.com/apache/mynewt-core/pull/1249) which changes all > existing packages to use the modlog

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

BLE security/encryption/passkey authentication

2018-07-06 Thread Amr Bekhit
Hello all, Is there any documentation regarding the security aspects of Nimble (.e.g pairing, bonding, passkeys etc)? The mynewt documentation covers the basic advertising and GATT systems quite well, and am happily using those, but I'm struggling to find any information on the security side of

newtmgr fs command fails in sim

2018-07-06 Thread Kevin Townsend
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 using mostly default values:     # NFFS filesystem     FS_CLI: 1 #