All newtmgr commands on serial are hanging indefinitely.
Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr -c serial1
image list
^C
Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr conn show
Connection profiles:
serial1: type=serial, connstring='/dev/tty.usbmodem1411'
Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$
Looks like it works for the splitty/slinky demo
Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$ newtmgr -c serial1
image list
Images:
slot=0
version: 0.0.0
bootable: true
flags: active confirmed
hash: 21439de02cbf31626856374f44cbd490fd6def3ce3062b63d55ed2c19a8b2b83
slot=1
version: 0.0.0
bootable: false
flags:
hash: 8b64ea89bf0495c0ccb25b96b3a7f06fd5e540e221f9659f9bc6b0d0d303d6f1
Split status: matching
Jacobs-MacBook-Air:mynewt-hr-observer jacobrosenthal$
Ram issue? Whats a good way to see a log of the failed attempt since I have
the shell?
On Thu, Jan 12, 2017 at 7:51 PM, Christopher Collins <[email protected]>
wrote:
> On Thu, Jan 12, 2017 at 07:06:37PM -0700, Jacob Rosenthal wrote:
> > Still ok... and Im able to interact with shell over serial and I think
> its
> > advertising!? Not sure why my newtmgr wont connect then.. Ideas to
> > troubleshoot?
>
> So you are sending newtmgr commands over serial? Do all commands fail,
> or just image list?
>
> > Also I was digging and found someone already PRed a ble transport for
> > newtmgr https://github.com/apache/incubator-mynewt-core/pull/73/files
> > but the api is a bit different now.. Anyone using that?
>
> Yes, the newtmgr BLE characteristic is being used and should work. The
> newtmgr command line tool has rudimentary support for BLE, but only when
> run on linux.
>
> Thanks,
> Chris
>