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

unable to send more than 1 byte on linux #4

Open
8ahmedanwer8 opened this issue Aug 1, 2022 · 0 comments
Open

unable to send more than 1 byte on linux #4

8ahmedanwer8 opened this issue Aug 1, 2022 · 0 comments

Comments

@8ahmedanwer8
Copy link

so i have bluetoothhctl running on my jetson nano which is able to read and write characteristics to and from my arduino's bluetooth module.
problem: i can read several bytes from the arduino but i cannot write more than 1 byte to it. all the bytes after the first one get ignored.

essentially what i have is:
[BT05:/service0023/char0024] write 0x41
the arduino effectively receives this and prints A.

but if i do [BT05:/service0023/char0024] write 0x41 0x42, i should see AB in the arduino but i only just see A

there is a offset option that i might have to use but i don't know how. i came here to this repo to find examples on doing data writes but i find none and i also failed at trying to grasp the source code under gatt.c as well.
fingers crossed!
thanks!

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