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

BLE server idf example #57

Closed
SReichmann opened this issue Sep 13, 2017 · 2 comments
Closed

BLE server idf example #57

SReichmann opened this issue Sep 13, 2017 · 2 comments
Labels

Comments

@SReichmann
Copy link

Howdy @nkolban ,

im trying to get your BLE c++ wrapper classes to run with idf, do you have something like a helloworld server example? My approach is kinda typed from your video: https://www.youtube.com/watch?v=2_vlF_02VXk&t=324s

My code:
https://pastebin.com/XFCQKFQf

And it compiles well, but i can't find the esp ble device with my phone. After watching your video again and looking inside the BLEDevice.h it seems like this line
BLEDevice::init("SERVERNAME");
should do the trick, but when i add this line, i get lots of compile errors:
https://pastebin.com/Mj2U6cwg

@nkolban
Copy link
Owner

nkolban commented Sep 13, 2017

Howdy my friend,
By any chance have you had the opportunity to look at this doc.

https://github.com/nkolban/esp32-snippets/blob/master/Documentation/BLE%20C%2B%2B%20Guide.pdf

My goal is to provide good documentation on how to use these classes and if something doesn't work or isn't clear, I want to hear about that so that I can fix it.

There are also a growing number of samples found here:

https://github.com/nkolban/esp32-snippets/tree/master/cpp_utils/tests/BLETests

If after looking at these we aren't making progress, realize that I'm fully here for you to assist and we'll get there in the end (I hope).

@nkolban
Copy link
Owner

nkolban commented Oct 4, 2017

Howdy closing for just now. Re-open as needed.

@nkolban nkolban closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants