-
Notifications
You must be signed in to change notification settings - Fork 14
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
Problem with advertising service uuids, and other server functionalities. #1
Comments
I just checked in a fix. See goble.go. The problem with Bluetooth via XPC (and the conversion from nodejs) it's ...actually, I wrote a 2 line program for nodejs, and run it as:
That dumps the messages, as close as they go "over the wire" and compared -- Raffaele On Mon, Jan 26, 2015 at 11:17 PM, Tzu-Jung (Roy) Lee <
|
Thanks a lot! Another XPC issue, please see below snippet for characteristic data - "kCBMsgArgData"
noble DEBUG output shows it left it null, instead of empty array/dict.
I've tried a few hack as follow to treat the nil specially, but haven't got any work.
|
I add some log in XpcConnection.cpp to see what's the final stuff passed to from node to XPC (or NULL value in the Dice are simply discarded).
According to the log, it seems that node passes NULL to XPC.
So I went back to try passing more different stuff from go to XPC. Still no luck so far.
|
Sorry for the false alarm, after changing the kCBMsgArgType to 1 during the initialization, things working fine now. |
ok, great! |
Hi @raff ,
I'm currently integrating the goble (xpc, mostly) into gatt for MacOS support, I've got the client APIs unified (not completely done yet). But I'm having problem to get the server function work. It only broadcast name, but not service IDs. Any idea I can try?
Thanks.
Roy
The text was updated successfully, but these errors were encountered: