-
Notifications
You must be signed in to change notification settings - Fork 140
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
mac osx monterrey support #404
Comments
if I run the
Alternatively,
|
Thank you for posting your findings. I have yet to find a solution for the inquiry task. Also I'm not sure if the current implementation for communicating with a BT device still work. |
It seems like the inquire method of the BluetoothWorker.mm class is not looping properly. |
Thanks for the link. I will look into it. |
The code you linked looks quite nice. Pairing is also part of it and this is currently a missing feature for this module. However I look at the code and the device inquiry code does not look that different from what is in this module. I even tried using their exact code but it still won't work. I guess it has something to do with the thread the module is running in. Where they call |
Added the wip code to branch |
That's great, thank you! I tested the
Having said that, connection attempts still resulted in failure. |
Oh wow. It did not seem to work when I tried it. Maybe there where no devices in reach. I will try again later. |
Are the devices you are trying to connect to already paired? |
Thanks for the update. For me the |
Maybe the bluetooth module of my Mac has issues. I added another attempt to branch |
Sorry, I forgot to get back to you.
Alas, it seems it got stuck in the loop because the script never exited |
FYI I just released v3 of the module without support for MacOS as this issue remains unsolved for the moment. This way Linux and Windows users can use the module on newer versions of Node. Hopefully the issue with MacOS can be solved and added later. |
Thanks for the update, I dunno if you want to close this issue or leave it open for posterity sake 👍 |
Right so, no MacOS support. Saves me from buggering around. Off to Linux I go! Cheers. |
@eelcocramer has there been any update on this since you last posted? if not, what sort of help do you need to get the macos implementation working? |
No updates that I'm aware of. If you want to give it a try: it is pretty much trying to debug the example code and the code in these branches I guess. The culprit is most likely in the objective-c code. |
Is there any suspicion of which functions might be causing the problems? Just don't wanna have to make it harder than it might be. |
If I remember correctly the problem was in the inquiry phase. Because that comes first there may be issues in the connectivity phase that I'm not aware off. If you look at the diff of the issue-404 and issue-404-2 branches you can see where I was looking to solve the issue before. |
Hi!
Package inquire/inquireSync methods stop working when m1 mac osx updates to monterrey.
paired.js example script is the only one that keeps working.
I was using this fork: https://github.com/phablulo/node-bluetooth-serial-port.git
But the issue is the same in this repository's next-release branch.
If I run
node examples/sync.js
it outputs:I'm using node v16.14.2.
I'm pretty sure this is an issue with the objective c files which stopped working in mac osx monterrey
The text was updated successfully, but these errors were encountered: