bluetooth-console
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| bluetooth-console [2020/09/13 10:46] – benny | bluetooth-console [2024/06/09 10:29] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| In diesem Artikel sammle ich Informationen zur seriellen Konsolenverbindung via Bluetooth zum OmniSwitch mit AOS Release 8. | In diesem Artikel sammle ich Informationen zur seriellen Konsolenverbindung via Bluetooth zum OmniSwitch mit AOS Release 8. | ||
| - | <WRAP center round tip 60%> | + | ===== Kompatible/Getestete USB-Bluetooth-Adapter ===== |
| - | Bisher ist das nur mein copy/paste Ziel hier, also nicht nicht final formatiert. | + | Die im hier Artikel aufgeführten Ausgaben/Details wurden mit diesen Produkten/ |
| - | </WRAP> | + | Die AOS Release Notes enhalten jeweils aktuelle Angaben zu den unterstützen OmniSwitch Modellen. |
| - | TODO/Notizen | + | ^ Produkt/Modell |
| - | | + | | |
| - | * In AOS 8.7.280.R1 ist Bluetooth standardmäßig "admin enabled" | + | |
| - | * Prüfen welche Plattformen BT unterstützen und hier aufführen | + | |
| - | * OS6465T-P12 | + | |
| - | < | + | ===== Schritte am OmniSwitch ===== |
| - | VINDHYA #-> lsusb -vvv | + | |
| - | Bus 001 Device 002: ID 050d:065a <-- der Bluetooth Adapter | + | |
| - | Bus 001 Device 001: ID 1d6b:0002 | + | |
| - | </ | + | |
| - | * Kein Adapter eingesteckt | + | <WRAP center round info 60%> |
| + | In AOS Release 8.7 ist Bluetooth bei eingestecktem USB-Bluetooth-Adapter standardmäßig aktiv! | ||
| + | </ | ||
| + | |||
| + | === Kein USB-BT-Adapter eingesteckt | ||
| < | < | ||
| Router-> show bluetooth status | Router-> show bluetooth status | ||
| Zeile 29: | Zeile 26: | ||
| | | ||
| </ | </ | ||
| - | * USB-Adapter eingesteckt | + | === USB-BT-Adapter |
| < | < | ||
| Router-> show bluetooth status | Router-> show bluetooth status | ||
| Zeile 40: | Zeile 37: | ||
| </ | </ | ||
| - | | + | ===== Verbindung via Raspberry Pi ===== |
| + | Dieser Abschnitt des Artikels widmet sich den Ausgaben und Möglichkeiten mit dem Raspberry Pi. | ||
| + | |||
| + | ==== Welche Bluetooth-Geräte gibt es im Umfeld? ==== | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | Scanning ... | ||
| + | 00: | ||
| + | </ | ||
| + | |||
| + | ==== Mehr Informationen zum " | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | Requesting information ... | ||
| + | BD Address: | ||
| + | OUI Company: CC&C Technologies, | ||
| + | Device Name: Router | ||
| + | LMP Version: 4.0 (0x6) LMP Subversion: 0x220e | ||
| + | Manufacturer: | ||
| + | Features page 0: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <u-law log> <A-law log> < | ||
| + | < | ||
| + | <EDR ACL 3 Mbps> < | ||
| + | < | ||
| + | <EV4 packets> <EV5 packets> <AFH cap. slave> | ||
| + | <AFH class. slave> <LE support> <3-slot EDR ACL> | ||
| + | < | ||
| + | <AFH cap. master> <AFH class. master> <EDR eSCO 2 Mbps> | ||
| + | <EDR eSCO 3 Mbps> <3-slot EDR eSCO> < | ||
| + | <LE and BR/EDR> <simple pairing> < | ||
| + | <err. data report> < | ||
| + | < | ||
| + | Features page 1: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | ||
| + | </ | ||
| + | |||
| + | ==== Welche Dienste bietet der " | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | Service Name: Serial Port | ||
| + | Service Description: | ||
| + | Service Provider: BlueZ | ||
| + | Service RecHandle: 0x10000 | ||
| + | Service Class ID List: | ||
| + | " | ||
| + | Protocol Descriptor List: | ||
| + | " | ||
| + | " | ||
| + | Channel: 1 | ||
| + | Language Base Attr List: | ||
| + | code_ISO639: | ||
| + | encoding: | ||
| + | base_offset: | ||
| + | Profile Descriptor List: | ||
| + | " | ||
| + | Version: 0x0100 | ||
| + | </ | ||
| + | |||
| + | ==== Drahtlose Konsolenverbindung herstellen ==== | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | Wichtig ist im **rfcomm**-Kommando die Angabe von **-r** für **RAW**, da man sonst jede Menge **^J**-Steuerzeichen im Konsolenprogramm sieht! | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Verbindung vom Raspberry Pi zum ALE OmniSwitch aufbauen === | ||
| + | < | ||
| + | pi@powerpi: | ||
| + | Connected / | ||
| + | Press CTRL-C for hangup | ||
| + | </ | ||
| + | |||
| + | === Verbindung via " | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | **screen** beendet man mit der Tastenkombination STRG+A und danach " | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | </ | ||
| + | |||
| + | === Verbindung via " | ||
| + | <WRAP center round tip 60%> | ||
| + | **minicom** beendet man mit der Tastenkombination STRG+A und danach " | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | </ | ||
| + | |||
| + | ==== Anzeige von Details zu aktuellen Verbindung(en) ==== | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | rfcomm0: DC: | ||
| + | </ | ||
| + | |||
| + | ===== Weitere Details und Fehlerbehebung zum Raspberry Pi ===== | ||
| + | Hier sammle ich mögliche Fehlermeldung(en) sowie die Lösung. | ||
| + | |||
| + | ==== " | ||
| + | |||
| + | Rollt im Terminal **^J** in **screen** oder **minicom**, | ||
| + | |||
| + | === Exemplarische | ||
| + | < | ||
| + | ^J | ||
| + | |||
| + | ^J^J | ||
| + | ^J | ||
| + | |||
| + | ^J^J | ||
| + | ^J | ||
| + | |||
| + | ^J^J | ||
| + | ^J | ||
| + | |||
| + | ^JLogin incorrect | ||
| + | Router login: | ||
| + | </ | ||
| + | |||
| + | === Lösung: " | ||
| + | < | ||
| + | sudo rfcomm -r connect hci0 00: | ||
| + | </ | ||
| + | |||
| + | ==== Fehlermeldung: | ||
| + | Zu dieser Fehlermeldung kam es bei mir in unregelmäßigen Abständen. Es hat geholfen in diesem Fall die lokale Bluetooth-Konfiguration zurückzusetzen (das sollte man aber vor dem copy/paste genau prüfen, in meinem Fall hängt bei mir nichts essentielles am BT-Stack). Damit werden Einstellungen und der Cache gelöscht! | ||
| + | < | ||
| + | sudo rm -rf / | ||
| + | </ | ||
| + | |||
| + | ==== Fehlermeldung: | ||
| + | Diese Fehlermeldung hatte ich regelmäßig nachdem ich erst **screen** oder **minicom** beendet habe und danach die **rfcomm**-Verbindung. In diesem [[https:// | ||
| + | < | ||
| + | sudo hciconfig hci0 reset | ||
| + | </ | ||
| + | |||
| + | ==== Analyse mit hcidump ==== | ||
| + | |||
| + | <WRAP center round tip 60%> | ||
| + | Eventuell muss das Programm **hcidump** noch installiert werden: sudo apt install bluez-hcidump | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | pi@powerpi: | ||
| + | HCI sniffer - Bluetooth packet analyzer ver 5.50 | ||
| + | device: hci0 snap_len: 1500 filter: 0xffffffff | ||
| + | < HCI Command: Create Connection (0x01|0x0005) plen 13 | ||
| + | bdaddr 00: | ||
| + | Packet type: DM1 DM3 DM5 DH1 DH3 DH5 | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Create Connection (0x01|0x0005) status 0x00 ncmd 1 | ||
| + | > HCI Event: Connect Complete (0x03) plen 11 | ||
| + | status 0x00 handle 11 bdaddr 00: | ||
| + | < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2 | ||
| + | handle 11 | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1 | ||
| + | > HCI Event: Read Remote Supported Features (0x0b) plen 11 | ||
| + | status 0x00 handle 11 | ||
| + | Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 | ||
| + | < HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3 | ||
| + | handle 11 page 1 | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1 | ||
| + | > HCI Event: Read Remote Extended Features (0x23) plen 13 | ||
| + | status 0x00 handle 11 page 1 max 1 | ||
| + | Features: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | ||
| + | > HCI Event: Max Slots Change (0x1b) plen 3 | ||
| + | handle 11 slots 5 | ||
| + | < HCI Command: Remote Name Request (0x01|0x0019) plen 10 | ||
| + | bdaddr 00: | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Remote Name Request (0x01|0x0019) status 0x00 ncmd 1 | ||
| + | > HCI Event: Remote Name Req Complete (0x07) plen 255 | ||
| + | status 0x00 bdaddr 00: | ||
| + | < HCI Command: Authentication Requested (0x01|0x0011) plen 2 | ||
| + | handle 11 | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Authentication Requested (0x01|0x0011) status 0x00 ncmd 1 | ||
| + | > HCI Event: Link Key Request (0x17) plen 6 | ||
| + | bdaddr 00: | ||
| + | < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6 | ||
| + | bdaddr 00: | ||
| + | > HCI Event: Command Complete (0x0e) plen 10 | ||
| + | Link Key Request Negative Reply (0x01|0x000c) ncmd 1 | ||
| + | status 0x00 bdaddr 00: | ||
| + | > HCI Event: IO Capability Request (0x31) plen 6 | ||
| + | bdaddr 00: | ||
| + | < HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9 | ||
| + | bdaddr 00: | ||
| + | Capability: NoInputNoOutput (OOB data not present) | ||
| + | Authentication: | ||
| + | > HCI Event: Command Complete (0x0e) plen 10 | ||
| + | IO Capability Request Reply (0x01|0x002b) ncmd 1 | ||
| + | status 0x00 bdaddr 00: | ||
| + | > HCI Event: IO Capability Response (0x32) plen 9 | ||
| + | bdaddr 00: | ||
| + | Capability: DisplayYesNo (OOB data not present) | ||
| + | Authentication: | ||
| + | > HCI Event: User Confirmation Request (0x33) plen 10 | ||
| + | bdaddr 00: | ||
| + | < HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6 | ||
| + | bdaddr 00: | ||
| + | > HCI Event: Command Complete (0x0e) plen 10 | ||
| + | User Confirmation Request Reply (0x01|0x002c) ncmd 1 | ||
| + | status 0x00 bdaddr 00: | ||
| + | > HCI Event: Simple Pairing Complete (0x36) plen 7 | ||
| + | status 0x00 bdaddr 00: | ||
| + | > HCI Event: Link Key Notification (0x18) plen 23 | ||
| + | bdaddr 00: | ||
| + | Type: Unauthenticated Combination Key | ||
| + | > HCI Event: Auth Complete (0x06) plen 3 | ||
| + | status 0x00 handle 11 | ||
| + | < HCI Command: Set Connection Encryption (0x01|0x0013) plen 3 | ||
| + | handle 11 encrypt 0x01 | ||
| + | > HCI Event: Command Status (0x0f) plen 4 | ||
| + | Set Connection Encryption (0x01|0x0013) status 0x00 ncmd 1 | ||
| + | > HCI Event: Encrypt Change (0x08) plen 4 | ||
| + | status 0x00 handle 11 encrypt 0x01 | ||
| + | < HCI Command: Read Encryption Key Size (0x05|0x0008) plen 2 | ||
| + | 0000: 0b 00 .. | ||
| + | > HCI Event: Command Complete (0x0e) plen 7 | ||
| + | Read Encryption Key Size (0x05|0x0008) ncmd 1 | ||
| + | 0000: 00 0b 00 10 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 10 | ||
| + | L2CAP(s): Info req: type 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 16 | ||
| + | L2CAP(s): Info rsp: type 2 result 0 | ||
| + | Extended feature mask 0x00b8 | ||
| + | Enhanced Retransmission mode | ||
| + | Streaming mode | ||
| + | FCS Option | ||
| + | Fixed Channels | ||
| + | < ACL data: handle 11 flags 0x00 dlen 10 | ||
| + | L2CAP(s): Info req: type 3 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 20 | ||
| + | L2CAP(s): Info rsp: type 3 result 0 | ||
| + | Fixed channel list 0x00000002 | ||
| + | L2CAP Signalling Channel | ||
| + | < ACL data: handle 11 flags 0x00 dlen 12 | ||
| + | L2CAP(s): Connect req: psm 3 scid 0x0040 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 16 | ||
| + | L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 0 | ||
| + | Connection pending - No further information available | ||
| + | > ACL data: handle 11 flags 0x02 dlen 10 | ||
| + | L2CAP(s): Info req: type 2 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 16 | ||
| + | L2CAP(s): Info rsp: type 2 result 0 | ||
| + | Extended feature mask 0x02b8 | ||
| + | Enhanced Retransmission mode | ||
| + | Streaming mode | ||
| + | FCS Option | ||
| + | Fixed Channels | ||
| + | Unicast Connectless Data Reception | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 10 | ||
| + | L2CAP(s): Info req: type 3 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 20 | ||
| + | L2CAP(s): Info rsp: type 3 result 0 | ||
| + | Fixed channel list 0x00000086 | ||
| + | L2CAP Signalling Channel | ||
| + | L2CAP Connless | ||
| + | > ACL data: handle 11 flags 0x02 dlen 16 | ||
| + | L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0 | ||
| + | Connection successful | ||
| + | < ACL data: handle 11 flags 0x00 dlen 27 | ||
| + | L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 15 | ||
| + | MTU 1013 | ||
| + | RFC 0x00 (Basic) | ||
| + | > ACL data: handle 11 flags 0x02 dlen 27 | ||
| + | L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 15 | ||
| + | MTU 1013 | ||
| + | RFC 0x00 (Basic) | ||
| + | < ACL data: handle 11 flags 0x00 dlen 18 | ||
| + | L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4 | ||
| + | MTU 1013 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 18 | ||
| + | L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4 | ||
| + | MTU 1013 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 8 | ||
| + | L2CAP(d): cid 0x0040 len 4 [psm 3] | ||
| + | RFCOMM(s): SABM: cr 1 dlci 0 pf 1 ilen 0 fcs 0x1c | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 8 | ||
| + | L2CAP(d): cid 0x0040 len 4 [psm 3] | ||
| + | RFCOMM(s): UA: cr 1 dlci 0 pf 1 ilen 0 fcs 0xd7 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 18 | ||
| + | L2CAP(d): cid 0x0040 len 14 [psm 3] | ||
| + | RFCOMM(s): PN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8 | ||
| + | dlci 2 frame_type 0 credit_flow 15 pri 7 ack_timer 0 | ||
| + | frame_size 1008 max_retrans 0 credits 7 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 18 | ||
| + | L2CAP(d): cid 0x0040 len 14 [psm 3] | ||
| + | RFCOMM(s): PN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8 | ||
| + | dlci 2 frame_type 0 credit_flow 14 pri 7 ack_timer 0 | ||
| + | frame_size 1008 max_retrans 0 credits 7 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 8 | ||
| + | L2CAP(d): cid 0x0040 len 4 [psm 3] | ||
| + | RFCOMM(s): SABM: cr 1 dlci 2 pf 1 ilen 0 fcs 0x59 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 8 | ||
| + | L2CAP(d): cid 0x0040 len 4 [psm 3] | ||
| + | RFCOMM(s): UA: cr 1 dlci 2 pf 1 ilen 0 fcs 0x92 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 12 | ||
| + | L2CAP(d): cid 0x0040 len 8 [psm 3] | ||
| + | RFCOMM(s): MSC CMD: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2 | ||
| + | dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 1 b2 1 b3 0 len 0 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 18 | ||
| + | L2CAP(d): cid 0x0040 len 14 [psm 3] | ||
| + | RFCOMM(s): RPN CMD: cr 1 dlci 0 pf 0 ilen 10 fcs 0x70 mcc_len 8 | ||
| + | dlci 2 br 3 db 3 sb 0 p 0 pt 0 xi 0 xo 0 | ||
| + | rtri 0 rtro 0 rtci 0 rtco 0 xon 0 xoff 0 pm 0x0061 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 12 | ||
| + | L2CAP(d): cid 0x0040 len 8 [psm 3] | ||
| + | RFCOMM(s): MSC CMD: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2 | ||
| + | dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 12 | ||
| + | L2CAP(d): cid 0x0040 len 8 [psm 3] | ||
| + | RFCOMM(s): MSC RSP: cr 1 dlci 0 pf 0 ilen 4 fcs 0x70 mcc_len 2 | ||
| + | dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 12 | ||
| + | L2CAP(d): cid 0x0040 len 8 [psm 3] | ||
| + | RFCOMM(s): MSC RSP: cr 0 dlci 0 pf 0 ilen 4 fcs 0xaa mcc_len 2 | ||
| + | dlci 2 fc 0 rtc 1 rtr 1 ic 0 dv 1 b1 0 b2 0 b3 0 len 0 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 9 | ||
| + | L2CAP(d): cid 0x0040 len 5 [psm 3] | ||
| + | RFCOMM(d): UIH: cr 1 dlci 2 pf 1 ilen 0 fcs 0x86 credits 33 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 18 | ||
| + | L2CAP(d): cid 0x0040 len 14 [psm 3] | ||
| + | RFCOMM(s): RPN RSP: cr 0 dlci 0 pf 0 ilen 10 fcs 0xaa mcc_len 8 | ||
| + | dlci 2 br 3 db 0 sb 0 p 0 pt 0 xi 0 xo 0 | ||
| + | rtri 0 rtro 0 rtci 0 rtco 0 xon 17 xoff 19 pm 0x3f1f | ||
| + | > ACL data: handle 11 flags 0x02 dlen 9 | ||
| + | L2CAP(d): cid 0x0040 len 5 [psm 3] | ||
| + | RFCOMM(d): UIH: cr 0 dlci 2 pf 1 ilen 0 fcs 0x5c credits 33 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 9 | ||
| + | L2CAP(d): cid 0x0040 len 5 [psm 3] | ||
| + | RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 1 fcs 0x40 | ||
| + | 0000: 0d . | ||
| + | > ACL data: handle 11 flags 0x02 dlen 10 | ||
| + | L2CAP(d): cid 0x0040 len 6 [psm 3] | ||
| + | RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 2 fcs 0x40 | ||
| + | 0000: 0d 0a .. | ||
| + | > ACL data: handle 11 flags 0x02 dlen 22 | ||
| + | L2CAP(d): cid 0x0040 len 18 [psm 3] | ||
| + | RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 14 fcs 0x40 | ||
| + | 0000: 52 6f 75 74 65 72 20 6c 6f 67 69 6e 3a 20 Router login: | ||
| + | < ACL data: handle 11 flags 0x00 dlen 12 | ||
| + | L2CAP(s): Connect req: psm 1 scid 0x0041 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 16 | ||
| + | L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0041 result 0 status 0 | ||
| + | Connection successful | ||
| + | < ACL data: handle 11 flags 0x00 dlen 23 | ||
| + | L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 11 | ||
| + | RFC 0x00 (Basic) | ||
| + | > ACL data: handle 11 flags 0x02 dlen 23 | ||
| + | L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 11 | ||
| + | RFC 0x00 (Basic) | ||
| + | < ACL data: handle 11 flags 0x00 dlen 18 | ||
| + | L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4 | ||
| + | MTU 672 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 18 | ||
| + | L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4 | ||
| + | MTU 672 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 24 | ||
| + | L2CAP(d): cid 0x0041 len 20 [psm 1] | ||
| + | SDP SSA Req: tid 0x0 len 0xf | ||
| + | pat uuid-16 0x0100 (L2CAP) | ||
| + | max 65535 | ||
| + | aid(s) 0x0000 - 0xffff | ||
| + | cont 00 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 2 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 228 | ||
| + | L2CAP(d): cid 0x0041 len 224 [psm 1] | ||
| + | SDP SSA Rsp: tid 0x0 len 0xdb | ||
| + | count 216 | ||
| + | record #0 | ||
| + | aid 0x0000 (SrvRecHndl) | ||
| + | uint 0x10000 | ||
| + | aid 0x0001 (SrvClassIDList) | ||
| + | < uuid-16 0x1101 (SP) > | ||
| + | aid 0x0002 (SrvRecState) | ||
| + | uint 0x1234 | ||
| + | aid 0x0003 (SrvID) | ||
| + | | ||
| + | aid 0x0004 (ProtocolDescList) | ||
| + | < < uuid-16 0x0100 (L2CAP) > < | ||
| + | | ||
| + | aid 0x0005 (BrwGrpList) | ||
| + | < uuid-16 0x1002 (PubBrwsGrp) > | ||
| + | aid 0x0006 (LangBaseAttrIDList) | ||
| + | < uint 0x656e uint 0x6a uint 0x100 > | ||
| + | aid 0x0007 (SrvInfoTimeToLive) | ||
| + | uint 0xffff | ||
| + | aid 0x0008 (SrvAvail) | ||
| + | uint 0xff | ||
| + | aid 0x0009 (BTProfileDescList) | ||
| + | < < uuid-16 0x1101 (SP) uint 0x100 > > | ||
| + | aid 0x000a (DocURL) | ||
| + | url " | ||
| + | aid 0x000b (ClientExeURL) | ||
| + | url " | ||
| + | aid 0x000c (IconURL) | ||
| + | url " | ||
| + | aid 0x0100 (SrvName) | ||
| + | str " | ||
| + | aid 0x0101 (SrvDesc) | ||
| + | str "COM Port" | ||
| + | aid 0x0102 (ProviderName) | ||
| + | str " | ||
| + | cont 00 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 24 | ||
| + | L2CAP(d): cid 0x0041 len 20 [psm 1] | ||
| + | SDP SSA Req: tid 0x1 len 0xf | ||
| + | pat uuid-16 0x1200 (PNPInfo) | ||
| + | max 65535 | ||
| + | aid(s) 0x0000 - 0xffff | ||
| + | cont 00 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 14 | ||
| + | L2CAP(d): cid 0x0041 len 10 [psm 1] | ||
| + | SDP SSA Rsp: tid 0x1 len 0x5 | ||
| + | count 2 | ||
| + | cont 00 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 1 | ||
| + | < ACL data: handle 11 flags 0x00 dlen 12 | ||
| + | L2CAP(s): Disconn req: dcid 0x0041 scid 0x0041 | ||
| + | > ACL data: handle 11 flags 0x02 dlen 12 | ||
| + | L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0041 | ||
| + | > HCI Event: Number of Completed Packets (0x13) plen 5 | ||
| + | handle 11 packets 1 | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | ===== Details zum OmniSwitch mit AOS R8 ===== | ||
| + | |||
| + | ==== Ausgabe von " | ||
| + | < | ||
| + | VINDHYA #-> lsusb -vvv | ||
| + | Bus 001 Device 002: ID 050d:065a <-- der Belkin Bluetooth Adapter | ||
| + | Bus 001 Device 001: ID 1d6b:0002 | ||
| + | </ | ||
| + | |||
| + | ==== Ausgabe in "dmesg" am OmniSwitch ==== | ||
| + | Meldungen in **dmesg** wenn der USB-BT-Adapter eingesteckt wird. | ||
| < | < | ||
| + | Router-> su | ||
| + | Entering maintenance shell. Type ' | ||
| + | VINDHYA #-> dmesg | ||
| + | ... | ||
| [1183593.649609] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 | [1183593.649609] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 | ||
| [1183593.649651] orion-ehci f1050000.usb: | [1183593.649651] orion-ehci f1050000.usb: | ||
| Zeile 54: | Zeile 521: | ||
| [1183593.965271] usb 1-1: Product: BCM20702A0 | [1183593.965271] usb 1-1: Product: BCM20702A0 | ||
| [1183593.965282] usb 1-1: Manufacturer: | [1183593.965282] usb 1-1: Manufacturer: | ||
| - | [1183593.965294] usb 1-1: SerialNumber: | + | [1183593.965294] usb 1-1: SerialNumber: |
| [1183593.966059] usb 1-1: usb_probe_device | [1183593.966059] usb 1-1: usb_probe_device | ||
| [1183593.966078] usb 1-1: configuration #1 chosen from 1 choice | [1183593.966078] usb 1-1: configuration #1 chosen from 1 choice | ||
| Zeile 74: | Zeile 541: | ||
| [1183595.268599] usb 1-1: link qh1-0e01/ | [1183595.268599] usb 1-1: link qh1-0e01/ | ||
| </ | </ | ||
| - | * Herausfinden | + | |
| + | ==== Herausfinden | ||
| + | |||
| + | Um herauszufinden welche MAC-Adresse der USB-BT-Adapter im OmniSwitch verwendet, werden folgende Kommandos verwendet. | ||
| < | < | ||
| + | Router-> su | ||
| + | Entering maintenance shell. Type ' | ||
| + | VINDHYA # | ||
| VINDHYA #-> hcitool dev | VINDHYA #-> hcitool dev | ||
| Devices: | Devices: | ||
| - | hci0 00: | + | hci0 00: |
| VINDHYA #-> | VINDHYA #-> | ||
| - | |||
| </ | </ | ||
| - | |||
bluetooth-console.1599993997.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
