Что такое bluetooth mode

Bluetooth Modes

Bluetooth is a technology that wirelessly connects with other systems using the radio frequency that uses 2.4 GHz frequency. Bluetooth is accessible up to 10 meters for sharing documents, media, photos, and videos. It avoids the usage of wires making it a wireless technology. It provides a secured data transmission, so the device needs to be paired before any transmission of data. Though a secure connection, the distance for transmission is less compared to today’s emerging technology. Bluetooth divides the data into packets and transmits it through the channels which use frequency hopping spread spectrum.

Bluetooth Modes

Bluetooth Connection

Bluetooth helps to share data between two fixed and mobile devices without the usage of wires. In the Bluetooth network or piconets, the masters and slave model is implemented for the data transfer. The master can have a maximum of seven slaves but the slave can connect to only one master. The connection process involves three states namely.

  • Inquiry State − To discover the devices available.
  • Connecting State − It is a process of connecting or pairing with the other device.
  • Connection State − The Complete connection is made and is now ready for sharing the data. In this connection state, there are different types of modes as follows.

Bluetooth Modes

BLE or Bluetooth is a low-energy device and the modes of Bluetooth can be chosen from the list.

Inquiry Mode

The master unit makes the connection to the device by sending an Inquiry message and also sends the page message when the target address of the device is not known. When the device knows nothing about the destination devices like printers or fax machines then the inquiry message is used to get the details of the unknown address. So this inquiry message also needs special training to get all the replies.

Читайте также:  Android bluetooth клавиатура смена языка

Active Mode

It is the normal mode when the connections are established between the devices and are actively performing the transfers of data.

Slave Mode

It is the default mode in which the devices can discover and connect to desirable devices.

Master Mode

When the connection is established between the devices, it is called master mode.

Auto Connect Master Mode

This mode automatically connects to the devices which are already paired. When the power is on it connects and reconnects when the connection is lost.

Pairing Mode

This mode permits other devices to request for connection or connect to the devices.

Non-Pairing Mode

During this mode, any form of request from other devices or connections is rejected.

Bluetooth Sleep Mode

The main purpose of Bluetooth sleep mode is to reduce power consumption by extending the battery life. Approximately 40 seconds are assigned to sniff, hold, and park mode.

SNIFF Mode

This mode is a power-saving node operation. Sniff mode is application dependent and the slave only responds to the master at a particular set of intervals. So, it will be idle or sleep state and reducing the rate and the power consumption.

Hold Mode

It is also a power-saving mode. Here, a slave may request to be placed in HOLD mode by the master or the master unit may force the slave to do it. When a unit leaves the HOLD state, data transfer immediately resumes from the HOLD state to the active state. The HOLD is utilized for a temporary period that also manages low-power devices.

Connection PARK Mode

It is considered the deepest power-saving mode. In this mode, the master can command the slaves to Park itself to an inactive state and when the master again changes the command to normal it will switch to an active state. It remains synchronized to the piconet even when it is not in any traffic and it also listens to the devices after giving up their MAC (Medis Access Protocol).

Advantages of Bluetooth

  • It offers data transmission without an internet connection and is helpful for areas with minimal internet range.
  • Bluetooth comes in a wide range of devices like headphones, Cellular phones, Laptops, wireless mice, wireless keyboards, and Tabs.
  • It is connected via radio frequency and avoids any type of obstacles within its range.
  • The Availability and usability are easy.
  • The Price is low and comes compact and in shape.
Читайте также:  Bluetooth фитнес смарт браслет

Disadvantages of Bluetooth

  • Though it offers short-range data transmission, the time taken to transmit is high when compared to the current technology like Wi-Fi and LAN through optic fiber.
  • The number of devices is limited for making connections with the particular device and has a high risk of security issues.

Conclusion

In the Bluetooth network, the connections are wireless and short range of 2.5 mill watts. There are different modes from the connection process to data transfer. There may be data lost in the Bluetooth connections. Depending on the master and slave units, the interior functions and processes can be determined.

Источник

Режимы работы устройств Bluetooth

Устройство Bluetooth при установлении соединения может работать в четырех режимах: Active, Hold, SniffиPark(активный, удержание, прослушивание и пассивный, соответственно). Смотри табл. 1.

Таблица 1.Режимы работы BlueTooth

В активном режиме устройство Bluetooth участвует в работе канала. Главный узел (master) диспетчеризует обмены на основе запросов трафика, поступающих от участников. Кроме того, этот режим предусматривает регулярные обмены с целью синхронизации клиентов. Активные клиенты прослушивают домены master-to-slave пакетов. Если к активному клиенту нет обращений, он может пребывать в пассивном состоянии (sleep) до очередной передачи со стороны главного узла

Устройства синхронизованные в рамках пикосети могут перейти в режим экономного расходования энергии, когда их активность понижается. В режиме SNIFF, устройство-клиент прослушивает пикосеть с пониженной частотой. Этот режим имеет наивысшую скважность рабочего цикла (наименьшая экономия энергии) из 3 экономичных режимов (sniff, holdиpark)

Устройства синхронизованные в рамках пикосети могут перейти в режим экономного расходования энергии, когда их активность понижается. Главный узел пикосети может перевести клиента в режим HOLD, когда работает только внутренний таймер. устройство-клиент может запросить перевода в режим HOLD. Передача данных возобновляется мгновенно, когда устройство выходит из режима HOLD. Клиент имеет промежуточную скважность (промежуточный уровень экономии энергии) из указанных 3 режимов (sniff, hold и park)

Читайте также:  Код тнвэд блютуз колонка

В режиме PARK, устройство еще синхронизовано в рамках пикосети, но не принимает участия в обменах. Пассивные устройства отказываются от своих МАС-адресов (AM_ADDR), прослушивают трафик главного модуля с целью ресинхронизации и отслеживают широковещательные сообщения. Данный режим имеет минимально возможную скважность (максимальная экономия энергии) из указанных 3 режимов (sniff, hold и park). Устройства, находящиеся в режиме park, должны посылать пакеты широковещательно, так как лишены собственного активного адреса.

Протокол l2cap

Протокол L2CAP отвечает за формирование пакетов, деление на кадры и сборку пакетов (вспомним, что нижележащий протокол baseband позволяет иметь пакеты не длиннее 341 байта), которые в данном стандарте могут достигать размера 64 кБ. L2CAP производит мультиплексирование и демультиплексирование для отправителей пакетов, кроме того, протокол ответственен за качество обслуживания как при передаче, так и во время ожидания. На фазе установления соединения L2CAP согласует максимальный размер поля данных, так как не все узлы могут работать с 64-килобайтными пакетами. Этот протокол не используется в случае синхронных коммуникаций. В стандарте Bluetooth предусмотрены обмены как с установлением соединения, так и без. Последний режим называется ASL(Asynchronous Connectionless). Трафик ASL доставляется с использованием принципа макимально возможного сервиса. Никаких гарантий при этом не предоставляется. У подчиненного узла может быть только одно ASL-соединение с главным. Обмен с установлением соединения называетсяSCO(Synchronous Connection Oriented). Этот вид коммуникаций используется, например, при телефонных переговорах. Здесь для каждого из направлений передачи выделяется фиксированный временной интервал. Повторных передач не производится, вместо этого для случая ошибок применяется их коррекция. У подчиненного узла может быть до 3 соединений типа SCO с главным узлом, каждое из которых представляет собой PCM-канал с пропускной способностью 64кбит/c. Протокол должен поддерживать протокольное мультиплексирование, так как уровень basband не имеет поля тип, позволяющего идентифицировать протокол более высокого уровня. Протокол L2CAP присваивает виртуальным каналам (точка-точка) идентификаторы CID (Channel Identifier). Для целей управления трафиком он целиком полагается на уровень LM (Link Manager) протокола baseband.

Рис. 2. Две пикосети, образующие рассеянную сеть (Э. Таненбаум «Компьютерные сети», Питер, 2003)

Источник

Оцените статью
Adblock
detector