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

Unhandled events - OSX High Sierra #3

Closed
deadprogram opened this issue Nov 15, 2017 · 9 comments
Closed

Unhandled events - OSX High Sierra #3

deadprogram opened this issue Nov 15, 2017 · 9 comments

Comments

@deadprogram
Copy link

So, my last PR notwithstanding, there are still some additional ID under OS X "High Sierra" that need to be implemented.

Here is a log from a recent user:

2017/11/05 15:29:15 Unhandled event: xpc.Dict{"kCBMsgId":57, "kCBMsgArgs":xpc.Dict{"kCBMsgArgDeviceUUID":xpc.UUID{0x74, 0xfd, 0xa, 0xa, 0x3d, 0x80, 0x48, 0xa7, 0xb1, 0xd0, 0xd, 0x8e, 0xd9, 0xe8, 0xcf, 0xc1}, "kCBMsgArgATTMTU":23}}
2017/11/05 15:29:15 Unhandled event: xpc.Dict{"kCBMsgId":57, "kCBMsgArgs":xpc.Dict{"kCBMsgArgATTMTU":23, "kCBMsgArgDeviceUUID":xpc.UUID{0x74, 0xfd, 0xa, 0xa, 0x3d, 0x80, 0x48, 0xa7, 0xb1, 0xd0, 0xd, 0x8e, 0xd9, 0xe8, 0xcf, 0xc1}}}
2017/11/05 15:29:15 Unhandled event: xpc.Dict{"kCBMsgId":60, "kCBMsgArgs":xpc.Dict{"kCBMsgArgConnectionInterval":18, "kCBMsgArgConnectionLatency":0, "kCBMsgArgSupervisionTimeout":175, "kCBMsgArgDeviceUUID":xpc.UUID{0x74, 0xfd, 0xa, 0xa, 0x3d, 0x80, 0x48, 0xa7, 0xb1, 0xd0, 0xd, 0x8e, 0xd9, 0xe8, 0xcf, 0xc1}}}
2017/11/05 15:29:15 Unhandled event: xpc.Dict{"kCBMsgArgs":xpc.Dict{"kCBMsgArgSupervisionTimeout":175, "kCBMsgArgDeviceUUID":xpc.UUID{0x74, 0xfd, 0xa, 0xa, 0x3d, 0x80, 0x48, 0xa7, 0xb1, 0xd0, 0xd, 0x8e, 0xd9, 0xe8, 0xcf, 0xc1}, "kCBMsgArgConnectionInterval":18, "kCBMsgArgConnectionLatency":0}, "kCBMsgId":60}

Anyone have a link to where we can obtain docs on the latest ID mapping?

Also @moogle19 I like your latest updated cmd mapping in your own fork, please merge that into this fork so if/when I find the proper IDs I can add them in the same way.

@moogle19
Copy link

@deadprogram
Maybe take a look at this Noble PR?
Seems to work for them.

@deadprogram
Copy link
Author

Hi @moogle19 that was in fact what I used as the original conceptual basis for my PR.

So I assume the author of that PR did not call all the same APIs as I have, for example did not use notifications?

@deadprogram
Copy link
Author

Also, neither ID 57 nor 60 are ever mentioned in the Noble PR.

@deadprogram
Copy link
Author

Hi @moogle19 any chance to get your most recent OSX refactorings into this repo, to use as a baseline for additional work?

@jacobrosenthal
Copy link

Some new xpcids for you all to try in #7

@moogle19
Copy link

moogle19 commented Apr 4, 2018

@deadprogram @jacobrosenthal
Are the xpcids complete now?
Can I close the issue?

@benji-bou
Copy link

Hello,

Starting using my mac on "High Sierra" as a peripheral with go-ble. When connecting to a CentralManager on iOS (using CoreBluetooth).
I received an Unhandled event: 54
Complete log is

Unhandled event: xpc.Dict{"kCBMsgId":54, "kCBMsgArgs":xpc.Dict{"kCBMsgArgDeviceUUID":xpc.UUID{0x2a, 0x65, 0xd5, 0x3f, 0xcc, 0x2f, 0x47, 0x6f, 0xab, 0x6f, 0xc4, 0xcb, 0x46, 0xe1, 0xcc, 0x73}, "kCBMsgArgServiceEndHandle":65535, "kCBMsgArgServiceStartHandle":10}}

I don't find this event id in the xpcid.go file in darwin.

Best

@jacobrosenthal
Copy link

Beyond this new 54 @benji-bou is reporting, Yeah nobody on the node side has found any new ids over the past months.

@benji-bou
Copy link

Hi,

In fact I'm not on High Sierra. (I was sure I made the update but it seems not) I'm on Sierra in fact

Best

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

4 participants