Is that possible to broadcast a message ( not a audio stream, just a simple text message ) via bluetooth ? And if it is possible how can I do it ?
Asked
Active
Viewed 4,477 times
1
-
why ask question which has 1000+ answers and tutorials on google – Vygintas B Aug 24 '17 at 05:28
-
1Can you kindly give me a link, please ? I have already searched and did not find anything. – abrutsze Aug 24 '17 at 05:32
-
Took me 1sec. https://stackoverflow.com/questions/22899475/android-sample-bluetooth-code-to-send-a-simple-string-via-bluetooth – Vygintas B Aug 24 '17 at 05:34
-
3You see I want to broadcast data, not to send it to a certain one. – abrutsze Aug 24 '17 at 06:05
-
What you mean by broadcast? – Vygintas B Aug 24 '17 at 07:28
-
I am broadcasting "Hello" from device A and other devices without connecting to A getting that message. How I know all BLE ( like rangefinder, termometer, ... ) works in that way. I mean you can read the data without connecting to BLE. – abrutsze Aug 24 '17 at 07:34
-
5Ok. Now I get it. It's called proximity marketing. You can read about it [here](https://en.wikipedia.org/wiki/Proximity_marketing) and [here](https://code.tutsplus.com/tutorials/how-to-advertise-android-as-a-bluetooth-le-peripheral--cms-25426) – Vygintas B Aug 24 '17 at 07:43
-
Thank you, will look it now – abrutsze Aug 24 '17 at 09:04
-
Thanks, that was exactly what I want :) – abrutsze Aug 24 '17 at 09:33