Approved version. Approved on: 08:29, 3 February 2020
You are viewing an old version of this page. Return to the latest version.
Difference between revisions of "How to set up a Bluetooth connection"
[quality revision] | [quality revision] |
m
|
[quality revision] | [quality revision] |
m
|
Template:ArticleMainWriter Template:ArticleApprovedVersion
[ 0.923697] STM32 USART driver initialized [ 0.928711] 4000e000.serial: ttyS1 at MMIO 0x4000e000 (irq = 42, base_baud = 6046875) is a stm32-usart
hciconfig -a hci0: Type: Primary Bus: UART BD Address: 43:43:A1:12:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 DOWN RX bytes:619 acl:0 sco:0 events:31 errors:0 TX bytes:410 acl:0 sco:0 commands:31 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT
hciconfig hci0 up hciconfig -a hci0: Type: Primary Bus: UART BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:1378 acl:0 sco:0 events:74 errors:0 TX bytes:1186 acl:0 sco:0 commands:74 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'BlueZ 5.46' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0x0 LMP Version: 4.1 (0x7) Subversion: 0x2209 Manufacturer: Broadcom Corporation (15)
<noinclude> {{ArticleMainWriter | ChristopheR}} {{ArticleApprovedVersion | ChristopheR | AlexandreT (Not Done), GeraldB (Not Done), LudovicB (Not Done), BernardP (Not Done), LoicP (Not Done) |No previous approved version | PhilipS - 04Jan'19 - 10181 | 15Jan'19}} [[Category:Bluetooth]]</noinclude> == How to setup Bluetooth == ===Setup=== * Check that the driver has been probed correctly in the kernel log message {{Board$}}[ 0.923697] STM32 USART driver initialized {{Board$}}[ 0.928711] 4000e000.serial: ttyS1 at MMIO 0x4000e000 (irq = 42, base_baud = 6046875) is a stm32-usart * Check the Bluetooth interface {{Board$}} hciconfig -a hci0: Type: Primary Bus: UART BD Address: 43:43:A1:12:1F:AC ACL MTU: 1021:8 SCO MTU: 64:1 DOWN RX bytes:619 acl:0 sco:0 events:31 errors:0 TX bytes:410 acl:0 sco:0 commands:31 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT === Initialize the Bluetooth interface === {{Board$}} hciconfig hci0 up {{Board$}} hciconfig -a hci0: Type: Primary Bus: UART BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING RX bytes:1378 acl:0 sco:0 events:74 errors:0 TX bytes:1186 acl:0 sco:0 commands:74 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'BlueZ 5.46' Class: 0x000000 Service Classes: Unspecified Device Class: Miscellaneous, HCI Version: 4.1 (0x7) Revision: 0x0 LMP Version: 4.1 (0x7) Subversion: 0x2209 Manufacturer: Broadcom Corporation (15) <noinclude> [[Category:Bluetooth]] {{PublicationRequestId | 10181 | 2019-01-04 | PhilipS}}</noinclude>
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== How to setup Bluetooth == |
== How to setup Bluetooth == |
||
Line 47: | Line 42: | ||
LMP Version: 4.1 (0x7) Subversion: 0x2209 |
LMP Version: 4.1 (0x7) Subversion: 0x2209 |
||
Manufacturer: Broadcom Corporation (15) |
Manufacturer: Broadcom Corporation (15) |
||
+ | |||
+ | <noinclude> |
||
+ | [[Category:Bluetooth]] |
||
+ | {{PublicationRequestId | 10181 | 2019-01-04 | PhilipS}} |
||
+ | </noinclude> |