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

micro:bit not found when using ScratchLink in macOS 12 #198

Open
microbit-mark opened this issue Nov 23, 2021 · 14 comments
Open

micro:bit not found when using ScratchLink in macOS 12 #198

microbit-mark opened this issue Nov 23, 2021 · 14 comments

Comments

@microbit-mark
Copy link

microbit-mark commented Nov 23, 2021

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

image

ScratchLink is running but micro:bit is not visible under Bluetooth devices or in Scratch

ScratchLink has access to Bluetooth
image

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:

  1. 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
@microbit-mark microbit-mark changed the title micro:bit not micro:bit not found when using ScratchLink in macOS 12 Nov 23, 2021
@microbit-mark
Copy link
Author

User reports that Scratch Link did work as expected in macOS11 Big Sur, so this appears to relate to the upgrade.

@cwillisf
Copy link
Contributor

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

@arivero
Copy link

arivero commented Jan 24, 2022

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 :-(

@bricklife
Copy link
Contributor

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.

@delfuego
Copy link

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.

@arivero
Copy link

arivero commented Jan 30, 2022 via email

@arivero
Copy link

arivero commented Jan 30, 2022

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))


@anz-ryu
Copy link

anz-ryu commented Feb 14, 2022

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

@Oren-Lindsey
Copy link

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

@terado0618
Copy link
Contributor

With Scratch Link 1.4.3 and macOS 12.3, micro:bit has been successfully found and connected.

@GKriti
Copy link

GKriti commented Apr 11, 2022

Guys,
Is it working for macOS 12.3.1, scratch link 1.4.3?

It is not working for me with the above :(

@martinwork
Copy link

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.

@bricklife
Copy link
Contributor

Scratch Link 1.4.x now does not support Safari. Read this section: https://github.com/LLK/scratch-link#secure-websockets

@martinwork
Copy link

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.

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

10 participants