#bluetooth #bluez #hci
#bluetooth #bluez #hci
Вопрос:
при использовании hcitool scan --info --oui --class
для получения классических устройств Bluetooth я получаю разные имена устройств каждый раз для одного и того же устройства. иногда имя устройства отображается не в удобочитаемом формате. почему это происходит и как решить эту проблему?
1
hcitool -i hci0 scan --oui --info --class
Scanning ...
BD Address: 5C:49:7D:6E:E3:EF [mode 1, clkoffset 0x272a]
Device name: 0{��
Device class: Audio/Video, Video Display and Loudspeaker (0x08043c)
2
sudo hcitool -i hci0 scan --oui --info --class
Scanning ...
BD Address: 5C:49:7D:6E:E3:EF [mode 1, clkoffset 0x272a]
Device name: Pc0�
Device class: Audio/Video, Video Display and Loudspeaker (0x08043c)
3
sudo hcitool -i hci0 scan --oui --info --class
Scanning ...
BD Address: 5C:49:7D:6E:E3:EF [mode 1, clkoffset 0x272c]
Device name: [TV] Samsung 6 Series (55)
Device class: Audio/Video, Video Display and Loudspeaker (0x08043c)