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

¿Advertising or broadcasting data using set_name? #11

Open
hugogz opened this issue Jan 20, 2016 · 0 comments
Open

¿Advertising or broadcasting data using set_name? #11

hugogz opened this issue Jan 20, 2016 · 0 comments

Comments

@hugogz
Copy link

hugogz commented Jan 20, 2016

I'm starting developing with Blend board, so sorry if this is an stupid issue but maybe you can help us.

We are trying to do a broadcasting of sensor data through BLE to be read after from a smartphone app. At the moment, we are trying to write the data through the set_name() function because we just found that way to do the broadcast without pairing.

The problem appears when we try to set a variable name, it is not working at all, because just the first name written is sent, it seems the code is ignoring the rest of the set_name() calls in the loop().

I assume this is not the right way of doing it, so ¿Is there another (easy) way of sending data broadcast? ¿Or should we pair the devices and create a GATT connection?

Thank you very much.

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