Bluetooth/en: различия между версиями

Обновление для соответствия новой версии исходной страницы.
(Новая страница: «Wiren Board 6 controllers are equipped with a combined Wi-Fi + Bluetooth 4.0 BLE (Bluetooth Low Energy) radio module manufactured by Realtek. Controllers do not s…»)
(Обновление для соответствия новой версии исходной страницы.)
 
(не показано 14 промежуточных версий 2 участников)
Строка 1: Строка 1:
<languages/>
<languages/>
= Wiren Board 6: Bluetooth module =
<div class="mw-translate-fuzzy">
Wiren Board controllers are equipped with a combined Wi-Fi + Bluetooth 4.0 BLE (Bluetooth Low Energy) radio module manufactured by Realtek.Wiren Board Controllers do not support Bluetooth if purchased modification is without Wi-Fi ! The same antenna as for Wi-Fi is used for Bluetooth communication.
</div>


Wiren Board 6 controllers are equipped with a combined Wi-Fi + Bluetooth 4.0 BLE (Bluetooth Low Energy) radio module manufactured by Realtek. Controllers do not support Bluetooth in modification without Wi-Fi! The same antenna as for Wi-Fi is used for Bluetooth communication.
== Software ==


 
<div class="mw-translate-fuzzy">
== Программное обеспечение ==
There is preinstalled  software[[http://www.bluez.org/ BlueZ|http://www.bluez.org/ BlueZ]], that supports the Bluetooth stack on Linux. A detailed description and purpose of the commands is given on the project page. Check the availability of Bluetooth with  <code>hciconfig</code> command:
 
</div>
На контроллере Wiren Board 6 установлено ПО [[http://www.bluez.org/ BlueZ|http://www.bluez.org/ BlueZ]], поддерживающее стек протоколов Bluetooth на Linux. Подробное описание и назначение команд приводится на странице проекта.
Проверить работоспособность и наличие Bluetooth командой <code>hciconfig</code>:


[[File:Hciconfig.png|||||]]
[[File:Hciconfig.png|||||]]


Проверить наличие включенного устройства можно командой <code>hcitool dev</code>.
The <code>hcitool dev</code>command can be used to check if the device is enabled.


Управлять включением/выключением Bluetooth-интерфейса можно командой <code>hciconfig hci0 up | down</code>.
You can control the Bluetooth interface mode on/off with the <code>hciconfig hci0 up | down</code> command.


Поиск классических Bluetooth-устройств (BR/EDR, Bluetooth Basic Rate/Enhanced Data Rate) выполняется командой <code>hcitool scan</code>, сканирование BLE-устройств
Searching for classic Bluetooth-devices (BR/EDR, Bluetooth Basic Rate/Enhanced Data Rate) is proceed by the <code>hcitool scan</code> command, searching for BLE-devices — <code>hcitool lescan</code>.
<code>hcitool lescan</code>.


Searching for Bluetooth devices near the controller is described in [[https://habr.com/company/wirenboard/blog/420831/ our article|https://habr.com/company/wirenboard/blog/420831/]] in "Bluetooth" section(only ru version).


Поиск Bluetooth-устройств рядом с контроллером описан в [[https://habr.com/company/wirenboard/blog/420831/ нашей статье|https://habr.com/company/wirenboard/blog/420831/ нашей статье]] в разделе "Bluetooth".
=== Scanning services ===


 
You can find out which Bluetooth services are supported by the device  found (phone, for example) by the following command
=== Сканирование сервисов ===
 
Узнать, какие Bluetooth-сервисы поддерживает найденное устройство (телефон, к примеру), можно командой
<pre>sdptool browse 58:40:4E:60:C5:B1 | grep "Service Name"</pre>
<pre>sdptool browse 58:40:4E:60:C5:B1 | grep "Service Name"</pre>


[[File:Btservices.png||||||]]
[[File:Btservices.png||||||]]


=== Working with services ===


=== Работа с сервисами ===
<div class="mw-translate-fuzzy">
 
Different devices support their own set of Bluetooth services such as file transfer, operating as network cards, audio playback device, etc. The opportunity to work with these services is described in the documentation for software [[http://www.bluez.org/ BlueZ|http://www.bluez.org/ BlueZ]], in the documentation for the devices and on specialized forums. The use of each service requires a corresponding configuration.
Различные устройства поддерживают свой набор Bluetooth-сервисов, например, передачу файлов, работу в качестве сетевой карты, устройство воспроизведения аудио и т.п. Возможность работы с этими сервисами описана в документации к ПО [[http://www.bluez.org/ BlueZ|http://www.bluez.org/ BlueZ]], в документации к устройствам и на профильных форумах. Использование каждого сервиса требует сооетветвующей настройки.
</div>
wb_editors
14 355

правок