Comments (6)
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.
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.
Just out of curiosity: which version number do your micro:bits have?
Let me know if you can claim success on linux 🥇
from kaspersmicrobit.
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.
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.
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)
- Error importing kasper HOT 9
- [bug] bleak.exc.BleakError: Characteristic (...) was not found! HOT 19
- Let me know if kaspersmicrobit works on macOS! HOT 5
- Python program freeze when using microbit.uart.send_string() HOT 5
- Cannot detect microbit HOT 31
- io_pin : can you explain how to read/write to 1 particular pin? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaspersmicrobit.