Hi Chris,

thanks for the clarification.

I tried with the following debug info returned:

newtmgr image upload -c mybleprph -ldebug
/Users/NNL/dev/myproj/bin/targets/myperiph/app/@apache-mynewt-nimble/apps/bleprph/bleprph.img

DEBU[2020-05-16 10:03:28.615] Using connection profile: name=mybleprph
type=ble connstring=peer_name=nimble-bleprph
DEBU[2020-05-16 10:03:28.621] CentralManagerDidUpdateState: cmgr=0x5804b50

No further responses shown. No signs of connection. Under this status, I
checked the BLE advertise using my phone, the device is still advertising,
meaning the connection is not established.

Would you please help interpret what the message code means?

other details:

newt version: 1.9.0
newtmgr version: 1.9.0
Device: nordic pca10040

The same method works under version 1.7.0 on Ubuntu Linux. So we can
confirm the device works.

Thanks,


On Fri, May 15, 2020 at 9:15 PM Christopher Collins <ccollins47...@gmail.com>
wrote:

> On Fri, May 15, 2020 at 07:47:22PM -0500, Mo Chen wrote:
> > Hi Chris,
> >
> > Thank you for your timely response.
> >
> > Under v1.7.0, the error message is:
> > *Unhandled event: xpc.Dict{"kCBMsgId":4,
> > "kCBMsgArgs":xpc.Dict{"kCBMsgArgState":5}}*
> >
> > Under v1.9.0 dev, without '--ldebug':
> > Nothing happens. No message, no response.
> >
> > Under v1.9.0 with '--ldebug':
> > I guess I did not get what you meant by "with the '--ldebug' switch". I
> > tried the following but with an error telling me unknown flag.
> >
> > newtmgr image upload -c mybleprph '--ldebug'
> >
> /Users/NNL/dev/myproj/bin/targets/myperiph/app/@apache-mynewt-nimble/apps/bleprph/bleprph.img
> > Error: unknown flag: --ldebug
> >
> > Would you please guide me on how to implement the --ldebug switch?
>
> Ah, sorry,  I meant `-ldebug` (one dash only)!
>
> Thanks,
> Chris
>


-- 
Mo Chen

Reply via email to