-
Notifications
You must be signed in to change notification settings - Fork 10
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
Several issues with BLE services #12
Comments
Hi Markus, |
@joernalraun Thank you! |
I have recognized that |
Any news regarding the ble-accelerometer issue? |
Yes, indeed! If you try the new Open-Roberta or the current MakeCode beta (MakeCode.calliope.cc/beta) you will have the latest version! |
Almost everything is working fine. Thank you for the ...beta link. I think there is a problem running the temperature and accelerometer service at the same time. I can't recieve temperature events in my application if the accelerometer service is running in parallel. |
Hi,
I'm actually testing some bluetooth services and am experiencing several problems. Some of them are already known.
Accelerometer data over BLE does not work
As reported by @smartyw in accelerometer data over Bluetooth does not work #7.
Callibration of compass not possible if
Bluetooth-IO-Pin-Dienst
is working.I'm not sure if this is related to Draw a circle to calibrate the compass is impossible #4. However, calibration fails with the last dot of the cirlce and shows several times 'sad face'-020. When not using the
Bluetooth-IO-Pin-Dienst
compass calibration works nicely.The 'compass calibration' service is missing
This bluetooth characteristic (E95DB358-251D-470A-A062-FA1922DFA9A8) is available on the micro:bit. It can be used to invoke the compass calibration.
The 'problem' is that some libraries, eg. python-bluezero (https://github.com/ukBaz/python-bluezero), are expecting this service, so you cannot use this libraries without manually patching them.
I'm using a 'new' Calliope (name on left side below A button, '1.3' on the back-side right to the USB port).
Regarding topic 1 I think that @smartyw has already gave you some hints where the problem may be located.
Do you think that you will address this issues in the near future? E.g. #7 is from June 2018.
Some response here on GitHub would be nice!
Set-up to reproduce
Generate a program with the makecode editor using bluetooth blocks:
Use "no pairing required" in the project setup:
You need to remove the
Bluetooth-IO-Pin-Dienst
to make the other things working.Now, use some software (e.g. Linux blueZ over
bluetoothctl
or an app like Nordic Semiconductor's nRF Connect to analyze the Calliope's bluetooth services.The text was updated successfully, but these errors were encountered: