Skip to content

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

Open

Description

@microbit-mark

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

Activity

  1. changed the title [-]micro:bit not [/-] [+]micro:bit not found when using ScratchLink in macOS 12[/+] on Nov 23, 2021
  2. microbit-mark commented on Nov 24, 2021

    @microbit-mark
    Author

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

  3. cwillisf commented on Dec 16, 2021

    @cwillisf
    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

  4. arivero commented on Jan 24, 2022

    @arivero

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

  5. bricklife commented on Jan 28, 2022

    @bricklife
    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.

  6. delfuego commented on Jan 30, 2022

    @delfuego

    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.

  7. arivero commented on Jan 30, 2022

    @arivero
  8. arivero commented on Jan 30, 2022

    @arivero

    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))
    
    
    
  9. anz-ryu commented on Feb 14, 2022

    @anz-ryu

    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

  10. Oren-Lindsey commented on Feb 22, 2022

    @Oren-Lindsey

    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

  11. terado0618 commented on Mar 15, 2022

    @terado0618
    Contributor

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

  12. GKriti commented on Apr 11, 2022

    @GKriti

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

    It is not working for me with the above :(

  13. martinwork commented on Jun 25, 2022

    @martinwork

    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.

  14. bricklife commented on Jun 27, 2022

    @bricklife
    Contributor

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

  15. martinwork commented on Jun 27, 2022

    @martinwork

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions