Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS BLE] commands always failing #158

Open
nixward opened this issue Mar 25, 2020 · 1 comment
Open

[macOS BLE] commands always failing #158

nixward opened this issue Mar 25, 2020 · 1 comment

Comments

@nixward
Copy link

nixward commented Mar 25, 2020

I installed 1.7.0 via brew.

I've tried different connection profile parameters but no luck.

$ newtmgr conn add profile01 type=ble connstring="peer_id=b6c9e1eece3cec00d78f48601e516659"

$ newtmgr reset -c profile01
2020/03/25 12:52:05 Unhandled event: xpc.Dict{"kCBMsgArgs":xpc.Dict{"kCBAdvDataDeviceAddress":[]uint8{0x65, 0x73, 0x16, 0xf4, 0x9b, 0x8}}, "kCBMsgId":38}
2020/03/25 12:52:05 Unhandled event: xpc.Dict{"kCBMsgArgs":xpc.Dict{"kCBAdvDataDeviceAddress":[]uint8{0x65, 0x73, 0x16, 0xf4, 0x9b, 0x8}}, "kCBMsgId":38}
Error: Failed to connect to peer after 10s

@rmal30
Copy link

rmal30 commented Aug 26, 2020

I suspect you're using an older version of the library that doesn't support the latest MAC OSX version. This repo currently uses the native mac os bindings, while older versions used XPC. To get the latest version, try running go get -u github.com/apache/mynewt-newtmgr/newtmgr, and execute the newtmgr binary file from the go bin directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants