micro:bit not found when using ScratchLink in macOS 12
microbit-mark opened this issue · 14 comments
Reported in https://support.microbit.org/a/tickets/49359 (private) and https://support.microbit.org/a/tickets/50753 (private)
Expected Behavior
micro:bit should connect to Scratch
Actual Behavior
Following process set out in https://scratch.mit.edu/microbit no device is found by Scratch in the browser
ScratchLink is running but micro:bit is not visible under Bluetooth devices or in Scratch
ScratchLink has access to Bluetooth
Steps to Reproduce
Explain what someone needs to do in order to see what's described in Actual behavior above
Steps to reproduce the behavior:
- Follow instructions in 'https://scratch.mit.edu/microbit
System Details
If the problem occurs in the browser, please provide operating system and browser e.g. Mac OS 10.11.6 Safari 10.0
- macOS 12.0.1
- Chrome 95/96
- ScratchLink 1.3.67
User reports that Scratch Link did work as expected in macOS11 Big Sur, so this appears to relate to the upgrade.
Thanks for the report! I'm sorry to hear about the trouble. It seems a lot of applications are having problems with Bluetooth in macOS 12. We'll try to figure out the problem but I can't promise it'll be quick.
Here's an example of the kind of thing I see when looking for information about Bluetooth on macOS 12: https://developer.apple.com/forums/thread/694146
Could it be that recentDevices is not populated correctly? I got to my surprise connectivity to Lego devices after I started the old Scratch Device Manager, which has no sense except that perhaps it hit the good point in the BLE stack. I have been unable to reproduce :-(
It seems that only BLE session works fine on macOS 12.3 beta. BT session still have some problems, but I think it's getting better.
I'm having the exact same issue trying to use Scratch Link to connect to LEGO Boost, on macOS 12.2 on a MacBook Pro (14", Apple Silicon processor). I'll subscribe to this issue to see if anything comes up in terms of a fix — and I'm happy to provide any debug information that might be helpful.
Basically I compiled bricklife's fork and followed the suggestions discussed here:
bricklife@a521a48#commitcomment-64576240
- I used a certificate from a shipped scratch-link app
- I compiled the /xcode13 branch
- I deleted the lines that hide the dock icon
```
var thisProcess = ProcessSerialNumber(highLongOfPSN: 0, lowLongOfPSN: UInt32(kCurrentProcess))
TransformProcessType(&thisProcess, ProcessApplicationTransformState(kProcessTransformToUIElementApplication))
oh, i have same problem with this,
my micro:bit is v1.3
interface version 0249
scratch Link 1.3.82
macOS version 11.4
chorme version 98.0.4758.80
I'm having the same issue:
macOS v. 12.2.1
Scratch Link 1.3.82 d5ccbe7
Browser: safari Version 15.3 and Chrome 98.0.4758.102
With Scratch Link 1.4.3 and macOS 12.3, micro:bit has been successfully found and connected.
Guys,
Is it working for macOS 12.3.1, scratch link 1.4.3?
It is not working for me with the above :(
Just tested with M1 mac mini and macOS 12.4, Safari 15.5.
The website at scratch.mit.edu will not link via Scratch Link, but the Scratch app v3.29.1 appears to work fine.
Scratch Link 1.4.x now does not support Safari. Read this section: https://github.com/LLK/scratch-link#secure-websockets
Many thanks for pointing to that @bricklife
This change causes an incompatibility with some browsers, including Safari. An upcoming version of Scratch Link will resolve this incompatibility.
It's seems to be working for me in Chrome.