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

ESP IDF custom endpoints for BLE #53

Open
noorhaq opened this issue Jun 2, 2022 · 3 comments
Open

ESP IDF custom endpoints for BLE #53

noorhaq opened this issue Jun 2, 2022 · 3 comments

Comments

@noorhaq
Copy link

noorhaq commented Jun 2, 2022

In the sdk provided I am unable to find information on how to send data to custom endpoints added in esp idf from mobile app.

Please help.

@vikas-chandra-mnnit
Copy link
Contributor

Hi @noorhaq, this API can used to send data to custom endpoints.

@noorhaq
Copy link
Author

noorhaq commented Jun 6, 2022

I think this is for the softAp provisioning will it work for ble provisioning too.
Because I tried using this function and it didn't work.
The parameters were

sendData('endpoint', 'data', handler);
Also tried
sendconfigdata and sendsession data apis too

@vikas-chandra-mnnit
Copy link
Contributor

Yes, this works for BLE too, make sure your custom endpoint characteristic is discoverable by SDK.

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

2 participants