-
Notifications
You must be signed in to change notification settings - Fork 159
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
In the latest mac system (maOS Monterey, 12.0.1), mac montrery Not Discovering Peripherals #225
Comments
Some here for me. |
I can confirm, unfortunately. |
same here, still had the Bluetooth enabled for iTerm in the security preferences pane |
any news about this problem? |
Hello, had anyone luck to solve this issue? We are in the same trouble with our application. |
Same here, was also not able to find any workaround. |
Same here: |
This seems to work but still testing ... noble.startScanning(["be15beef6186407e83810bd89c4d8df4"], false); So if you know the service id of what you are looking for it it seem to work. Using this form: noble.startScanning(serviceUUIDs, allowDuplicates[, callback(error)]); // particular UUIDs |
I feel like it has something to do with this comment about scanning in the background |
Doesn't seem to do anything for me, under macOS 12.1. |
I can't get this to work either. On macOS 12.1, node 16.13.1, Xcode installed and |
This bit "be15beef6186407e83810bd89c4d8df4" is the service uuid for an Anki Overdrive car. So you need to know the service id of whatever you are trying to discover. Currently looking for a way to find service uuid of other devices ... |
And I suppose this service actually needs to be advertised by the device. The devices I use Noble for don't advertise any services, so this workaround wouldn't help me, even if I got it to work. Tried several short and one long UUID advertised by my other devices, but no luck.
I'm using nRF Connect by Nordic Semiconductor on my iPad to discover and probe BLE devices. You could also run Noble on another platform (Raspberry Pi) and write a small programme to list the received advertisements. |
Works for me on MacOS 12.0.1. I'm able to discover and connect to the device with the specified (and advertised) service uuid. There seems to be another problem though, as I am now unable to write values to BLE Characteristics (throws an error "null"). MacOS 12.0.1 |
I hope everyone will report this issue to Apple using the Feedback Assistant app as well. |
Interestingly, discovery works via Chrome. But there are still some problems with the connection. I am using the library via node-poweredup. |
I believe this SO post sheds some light on this bug. Apparently it's fixed in macOS 12.3 yet to be released:
|
I've confirmed discovery works on MacOS 12.3. |
@bw1213 can you explain what you did exactly? Im using MacOS 12.3.1 + node 16 and it does not discover any devices. It simpy never calls the discover callback |
It works for me too on 12.3.1 This is the workaround I add earlier which limits the scan to just the advertised service uuids in the array. This still works for me and I do not need to change it. noble.startScanning(
["be15beef6186407e83810bd89c4d8df4"],
false,
(error) => {
if (error) debug(error);
}
); If you do not know the service uuids then of course you cannot specify them. This code now works for me in 12.3.1. This code did not work back in December but it does look like something in 12.3.1 has fixed it. noble.startScanning(
[],
false,
(error) => {
if (error) debug(error);
}
); |
Probably this should be closed now. |
Has anyone tried the latest beta, not working for me |
I can also confirm discovery works on Monterey 12.3. |
What about 12.4 or 12.5? anyone having issues? |
no issues anymore for me with 12.4 |
In the latest mac system (maOS Monterey, 12.0.1), there is no response to the discover method
If use an lower version of the macOS, I can discover services and connect bluetooth equipment
The text was updated successfully, but these errors were encountered: