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

[question, ble] go ble-serial #987

Open
vlappa opened this issue Sep 5, 2023 · 2 comments
Open

[question, ble] go ble-serial #987

vlappa opened this issue Sep 5, 2023 · 2 comments
Assignees
Labels
done on dev the feature or bug is solved on dev branch and wait for merge to release branch

Comments

@vlappa
Copy link

vlappa commented Sep 5, 2023

Hi,
I want to make something like this, but then in Go:
https://github.com/Jakeler/ble-serial/blob/a429060faf6dfe38615af28712afa8ee4ef271fd/examples/ble_standalone.py#L5

Is it possible with this library? Any examples available for using the SerialPort?

What are address, rid and tid here?
https://github.com/hybridgroup/gobot/blob/v2.1.1/platforms/ble/serial_port.go#L19

Or is there a better way to get data from bluetooth (using Linux)?

@gen2thomas
Copy link
Collaborator

Hi @vlappa , because the feature is inspired by https://github.com/monteslu/ble-serial, I assume the rid and tid are optional values for "transmitCharacteristic" and "receiveCharacteristic". See also the comment for Subscribe - usage of "rid" and the name of the write methode - usage of tid.

Hope this helps

@gen2thomas gen2thomas self-assigned this Jan 7, 2024
@gen2thomas gen2thomas added in work the implementation or bug fix is in work by developers done on dev the feature or bug is solved on dev branch and wait for merge to release branch labels Feb 10, 2024
@gen2thomas
Copy link
Collaborator

Please refer now to examples with usage of bleclient and serialport.

@gen2thomas gen2thomas removed the in work the implementation or bug fix is in work by developers label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done on dev the feature or bug is solved on dev branch and wait for merge to release branch
Projects
None yet
Development

No branches or pull requests

2 participants