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

Standard bluetooth serial #14

Open
lloyd-g opened this issue Aug 3, 2017 · 1 comment
Open

Standard bluetooth serial #14

lloyd-g opened this issue Aug 3, 2017 · 1 comment

Comments

@lloyd-g
Copy link

lloyd-g commented Aug 3, 2017

I'm having problems with connecting the bluetooth-uart example.
I can connect to it with a phone but not a raspberry pi zero w or windows 10.
After going through all combinations of config.json files. It suddenly came to me, when looking at the profile on nRF connect for android.

The code is using UART over GATT, not standard RFCOMM over L2CAP protocol.
I have two question.

  1. Any one know how to connect UART over GATT on raspberry pi zero w and windows 10?
  2. Can this device be programed to give standard RFCOMM over L2CAP protocol?
@ghost
Copy link

ghost commented Aug 3, 2017

You can't use RFCOMM. This is a Bluetooth Low Energy (only) device.

You should be able to use the UART service from a Raspberry Pi though. If you know how to read and write characteristics and how to handle notifications, that's all you need to know from the Pi end. For the micro:bit, see the information here: https://lancaster-university.github.io/microbit-docs/ble/uart-service/

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

1 participant