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

C Callback functions still not including peripheral handle #364

Open
eriklins opened this issue Nov 15, 2024 · 1 comment
Open

C Callback functions still not including peripheral handle #364

eriklins opened this issue Nov 15, 2024 · 1 comment

Comments

@eriklins
Copy link
Contributor

Has someone used the new C callback functions with the peripheral handle exposed as first parameter into the callbacks?

I compiled the latest commit from github (says 0.8.2 from simpleble_get_version()) on Mac OS into a .dylib. When using simpleble_peripheral_notify() I do still receive the service uuid as 1st parameter and characteristic uuid as 2nd, but 1st should be the handle now and so on.

I use the C version, not CPP.

Do I need to checkout a specific commit for that? I had assumed it should be available with 0.8.1 latest.

@eriklins
Copy link
Contributor Author

eriklins commented Nov 15, 2024

However, the C examples are working properly... But they don't use SimpleBLE as dylib. Any chance that declaration differs when building SimpleBLE as dylib?

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