Coder Social home page Coder Social logo

Comments (6)

janickr avatar janickr commented on August 17, 2024

Hi Martyn,

I'm afraid I will not be able to solve this issue 😞 . I only have one v1 micro:bit (I think it is a v1.5 actually) and it always gives me trouble on windows. In my case, whenever I pair it with windows, it will show the "C" on its led display. Is this also the case with your micro:bits? Besides trying to connect with kaspersmicrobit, I also failed connecting using bleak, and even failed with the windows runtime API.

You could try to connect directly with bleak, like this: bleak-device-info.py

Or scan for devices using bleak, like this: bleak-scan.py

But my guess is that connecting using bleak will give the same error, and that the scan will not find the micro:bits

Regards,
Janick

from kaspersmicrobit.

raspberrypieman avatar raspberrypieman commented on August 17, 2024

Janick,
Thanks for your response.
I get no errors when pairing my micro:bits with Windows, just the expected tick on the LEDs when pairing complete.
I tried 'bleak-device-info.py' but got the same error message.
I also tried 'bleak-scan.py' and got a list of MAC addresses but none matched my micro:bits.

I have a few Linux boxes and Raspberry Pi's. I don't know if any have Bluetooth. If so I will try again under Linux.
Regards, Martyn

from kaspersmicrobit.

janickr avatar janickr commented on August 17, 2024

Just out of curiosity: which version number do your micro:bits have?

Let me know if you can claim success on linux 🥇

from kaspersmicrobit.

raspberrypieman avatar raspberrypieman commented on August 17, 2024

Janick,
All my micro:bits appear to be v1.3.
I could not achieve a bluetooth connection to any micro:bits from a Raspberry Pi4.
Will try with an Ubuntu system when I can find a suitable dongle.

from kaspersmicrobit.

janickr avatar janickr commented on August 17, 2024

Hi Martyn,

I found out that my microbit v1.5 works in windows when use a hex file generated with the "No pairing required" setting and with the microbit removed from the paired devices in windows.

see also:
#4 (comment)

Maybe this works for your v1.3 microbits too.

Regards,
Janick

from kaspersmicrobit.

janickr avatar janickr commented on August 17, 2024

Documentation site and hex files are updated to prefer "No pairing require" as this works for the micro:bit v1

Closing this issue for now.

from kaspersmicrobit.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.