Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bluetooth broadcasting

Tags:

I want to broadcast data from one device using Bluetooth to numerous nearby devices. Now, I know Bluetooth broadcasting exists, but is it possible using Android's existing API? If not, are there any other 3rd party APIs available out there which are capable of it?

Another question regarding Bluetooth broadcasting: Can you start listening to an ongoing broadcast and receive data from it, even if you weren't listening since the broadcast has started? For example, let device A be the broadcaster, and he broadcasts the following data over the course of 5 seconds:

1 2 3 4 5 6 7 8 9 10 

Device B received data throughout the entire broadcast, so he received:

1 2 3 4 5 6 7 8 9 10 

Device C received started listening only after 2 seconds, while device A was broadcasting 5. Will he receive the rest (5 6 7 8 9 10) as expected?

like image 747
Jong Avatar asked Dec 02 '12 21:12

Jong


People also ask

What is Bluetooth broadcasting?

Unlike other digital channels for sending information, Bluetooth broadcasting allows for directing broadcasted information towards all people that are in the area, rather than a group of known people.

Is Bluetooth a communication channel?

Bluetooth is a short-range wireless communication technology standard. Bluetooth uses short-wavelength UHF radio waves of a frequency range between 2.4 and 2.485 GHz.

Who is founder of Bluetooth?

Jaap Haartsen has been active in the area of wireless communications for more than 25 years. In 1994, he laid the foundations for the system that was later known as the Bluetooth Wireless Technology, enabling connections between a seemingly endless array of devices.


1 Answers

As packets are not acknowledged during a Bluetooth broadcast, there is no distinction for the master (sender) between a slave node (receiver) that appears later in a broadcast and a slave node that was there from the beginning and didn't receive any packet.

So, yes, the Device C will receive the new packets of data from 5 and up if all general conditions for a bluetooth link are met.

like image 127
Snicolas Avatar answered Oct 21 '22 09:10

Snicolas