RFCOMM not working anymore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am trying to use an RFCOMM-capable dongle under Arch Linux (kernel: 6.6.10-arch1-1).
The BT usb adapter is:
ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio

dmesg:
[   19.174428] Bluetooth: Core ver 2.22
[   19.174448] NET: Registered PF_BLUETOOTH protocol family
[   19.174448] Bluetooth: HCI device and connection manager initialized
[   19.174452] Bluetooth: HCI socket layer initialized
[   19.174454] Bluetooth: L2CAP socket layer initialized
[   19.174460] Bluetooth: SCO socket layer initialized
[   20.497753] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[   20.500891] Bluetooth: hci0: RTL: rom_version status=0 version=1
[   20.500894] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[   20.502433] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[   20.503140] Bluetooth: hci0: RTL: cfg_sz 6, total sz 30210
[   20.898620] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.898620] Bluetooth: BNEP filters: protocol multicast
[   20.898620] Bluetooth: BNEP socket layer initialized
[   21.285074] Bluetooth: hci0: RTL: fw version 0xdfc6d922
[   21.430191] Bluetooth: MGMT ver 1.22
[   40.360736] Bluetooth: RFCOMM TTY layer initialized
[   40.360743] Bluetooth: RFCOMM socket layer initialized
[   40.360746] Bluetooth: RFCOMM ver 1.11

The rfcomm utility was not provided so I had to install:
https://archlinux.org/packages/extra/x86_64/bluez-deprecated-tools/

unfortunately the command:
rfcomm connect 0 B8:8B:15:0A:1C:AD
gives:
Can't connect RFCOMM socket: Operation now in progress

I tried also with bind - all of this gives errors.
Finally I tried python tools to directly use RFCOMM, then even a rust
rfcat tool from:
https://github.com/bluez/bluer/blob/master/bluer-tools/src/rfcat.rs
All gives various errors/timeouts and cannot connect to the dongle's
serial port. I was also trying to pair/connect with bluetoothctl prior
this - no change.
In fact (see below - pairing seems not needed at all).

Finally I started very very old Asus laptop with debian.
I invoked:
rfcomm connect 0 B8:8B:15:0A:1C:AD
and this immediately gives me:
Connected /dev/rfcomm0 to B8:8B:15:0A:1C:AD on channel 1
Press CTRL-C for hangup

... and it works like a charm!!! I can connect minicom and communication is
working (no pairing/connecting with bluetoothctl needed).

dmesg there:
[  298.641307] Bluetooth: Core ver 2.22
[  298.641393] Bluetooth: HCI device and connection manager initialized
[  298.641405] Bluetooth: HCI socket layer initialized
[  298.641409] Bluetooth: L2CAP socket layer initialized
[  298.641419] Bluetooth: SCO socket layer initialized
[  299.673331] Bluetooth: hci0: unexpected event for opcode 0x0000
[  311.510413] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  311.510422] Bluetooth: BNEP filters: protocol multicast
[  311.510435] Bluetooth: BNEP socket layer initialized
[ 1902.017008] Bluetooth: RFCOMM TTY layer initialized
[ 1902.017026] Bluetooth: RFCOMM socket layer initialized
[ 1902.017048] Bluetooth: RFCOMM ver 1.11

the adapter is:
ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter

I am now trying to identify the problem. I've logged all data using
btmon from the start to invoking the rfcom connect.

I can see that the difference start when my Asus laptop is showing this:
< ACL Data TX: Handle 42 flags 0x02 dlen 10                                                                        #13 [hci0] 40.891571
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #14 [hci0] 40.898476
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 16                                                                        #15 [hci0] 40.899488
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
< ACL Data TX: Handle 42 flags 0x02 dlen 12                                                                        #16 [hci0] 40.899554
      L2CAP: Connection Request (0x02) ident 2 len 4
        PSM: 3 (0x0003)
        Source CID: 64

I don't see any L2CAP and RFCOMM lines on the "bad" ArchLinux setup.

Please help! I really like to connect to this dongle (even no matter
which software involved - I just want to access this serialport somehow).

I am attaching full logs (called good and bad). dvbsnoop logs also
included.

ps. I tested the dongle also from Windows and Android - also works OK.

-- 
regards,
Mariusz Białończyk
https://skyboo.net | https://github.com/manio

Attachment: bad_btsnoop.log
Description: Binary data

Script started on 2024-02-08 12:54:52+01:00 [TERM="xterm-256color" TTY="/dev/pts/13" COLUMNS="182" LINES="54"]
#                                                                                                                                                                                     
 


root in /dev/shm 
❯ [?2004hbbtmon  -w ./log


root in /dev/shm 
❯ btmon -w ./log


root in /dev/shm 
❯ btmon -w ./log[?2004l

Bluetooth monitor ver 5.71
btmon[2269455]: = Note: Linux version 6.6.10-arch1-1 (x86_64)                                                                  0.884325
btmon[2269455]: = Note: Bluetooth subsystem version 2.22                                                                       0.884327
= New Index: 8C:88:2B:12:47:8A (Primary,USB,hci0)                                                                       [hci0] 0.884329
= Open Index: 8C:88:2B:12:47:8A                                                                                         [hci0] 0.884330
= Index Info: 8C:88:2B:12:47:8A (Realtek Semiconductor Corporation)                                                     [hci0] 0.884332
bluetoothd[1755534]: @ MGMT Open: bluetoothd (privileged) version 1.22                                                {0x0001} 0.884334
< HCI Command: Create Connection (0x01|0x0005) plen 13                                                              #1 [hci0] 22.035468
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Packet type: 0xcc18
          DM1 may be used
          DH1 may be used
          DM3 may be used
          DH3 may be used
          DM5 may be used
          DH5 may be used
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
        Role switch: Allow peripheral (0x01)
> HCI Event: Command Status (0x0f) plen 4                                                                           #2 [hci0] 22.149266
      Create Connection (0x01|0x0005) ncmd 2
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                                                                        #3 [hci0] 24.860582
        Status: Success (0x00)
        Handle: 2
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2                                                  #4 [hci0] 24.860660
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
btmon[2269455]: @ RAW Open: btmon (privileged) version 2.22                                                          {0x0002} 24.861029
btmon[2269455]: @ RAW Close: btmon                                                                                   {0x0002} 24.861032
> HCI Event: Max Slots Change (0x1b) plen 3                                                                         #5 [hci0] 24.861582
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Max slots: 5
> HCI Event: Command Status (0x0f) plen 4                                                                           #6 [hci0] 24.863582
      Read Remote Supported Features (0x01|0x001b) ncmd 2
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11                                                          #7 [hci0] 24.868581
        Status: Success (0x00)
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Features: 0xbf 0x02 0x00 0x70 0x18 0x1c 0x79 0x83
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Sniff mode
          Power control requests
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          AFH capable peripheral
          AFH classification peripheral
          Pause encryption
          AFH capable central
          AFH classification central
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Erroneous Data Reporting
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3                                                   #8 [hci0] 24.868595
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                                                                           #9 [hci0] 24.870585
      Read Remote Extended Features (0x01|0x001c) ncmd 2
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13                                                          #10 [hci0] 24.897600
        Status: Success (0x00)
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page: 1/1
        Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10                                                           #11 [hci0] 24.897646
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
> HCI Event: Command Status (0x0f) plen 4                                                                          #12 [hci0] 24.899592
      Remote Name Request (0x01|0x0019) ncmd 2
        Status: Success (0x00)
> HCI Event: Remote Name Req Complete (0x07) plen 255                                                              #13 [hci0] 24.922588
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Name: KONNWEI
@ MGMT Event: Device Connected (0x000b) plen 22                                                               {0x0001} [hci0] 24.922603
        BR/EDR Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Flags: 0x00000008
          Connection Locally Initiated
        Data length: 9
        Name (complete): KONNWEI
< HCI Command: Authentication Requested (0x01|0x0011) plen 2                                                       #14 [hci0] 24.922610
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: Command Status (0x0f) plen 4                                                                          #15 [hci0] 24.924601
      Authentication Requested (0x01|0x0011) ncmd 2
        Status: Success (0x00)
> HCI Event: Link Key Request (0x17) plen 6                                                                        #16 [hci0] 24.925588
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6                                                #17 [hci0] 24.925601
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: Command Complete (0x0e) plen 10                                                                       #18 [hci0] 24.928591
      Link Key Request Negative Reply (0x01|0x000c) ncmd 2
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: IO Capability Request (0x31) plen 6                                                                   #19 [hci0] 24.929600
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
< HCI Command: IO Capability Request Reply (0x01|0x002b) plen 9                                                    #20 [hci0] 24.929640
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        IO capability: DisplayYesNo (0x01)
        OOB data: Authentication data not present (0x00)
        Authentication: No Bonding - MITM not required (0x00)
> HCI Event: Command Complete (0x0e) plen 10                                                                       #21 [hci0] 24.932593
      IO Capability Request Reply (0x01|0x002b) ncmd 2
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: IO Capability Response (0x32) plen 9                                                                  #22 [hci0] 24.961594
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        IO capability: NoInputNoOutput (0x03)
        OOB data: Authentication data not present (0x00)
        Authentication: General Bonding - MITM not required (0x04)
> HCI Event: User Confirmation Request (0x33) plen 10                                                              #23 [hci0] 25.379644
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Passkey: 299050
< HCI Command: User Confirmation Request Reply (0x01|0x002c) plen 6                                                #24 [hci0] 25.379668
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: Command Complete (0x0e) plen 10                                                                       #25 [hci0] 25.622674
      User Confirmation Request Reply (0x01|0x002c) ncmd 2
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: Simple Pairing Complete (0x36) plen 7                                                                 #26 [hci0] 26.589786
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
> HCI Event: Auth Complete (0x06) plen 3                                                                           #27 [hci0] 56.710325
        Status: LMP Response Timeout / LL Response Timeout (0x22)
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
@ MGMT Event: Authentication Failed (0x0011) plen 8                                                           {0x0001} [hci0] 56.710352
        BR/EDR Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Status: Timeout (0x08)
< HCI Command: Disconnect (0x01|0x0006) plen 3                                                                     #28 [hci0] 56.743032
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4                                                                          #29 [hci0] 56.745340
      Disconnect (0x01|0x0006) ncmd 2
        Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4                                                                     #30 [hci0] 56.818364
        Status: Success (0x00)
        Handle: 2 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8                                                             {0x0001} [hci0] 56.818410
        BR/EDR Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Reason: Connection terminated by local host (0x02)
^C#                                                                                                                                       
 


root in /dev/shm took 1m15s 
❯ [?2004h[?2004l


Script done on 2024-02-08 12:57:13+01:00 [COMMAND_EXIT_CODE="0"]

Attachment: good_btsnoop.log
Description: Binary data

Script started on 2024-02-08 13:08:24+01:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="136" LINES="58"]
[?2004hcyrus:/dev/shm# 
(reverse-i-search)`': b': rfcomm unbind 0 B8:8B:15:0A:1C:ADt': btmon -w ./log > log.txt[1@m': btm[1@o': btmo
cyrus:/dev/shm# btmo
[?2004l
Bluetooth monitor ver 5.66
= Note: Linux version 5.10.0-8-686-pae (i686)                                                                                  0.559085
= Note: Bluetooth subsystem version 2.22                                                                                       0.559095
= New Index: 00:1A:92:C7:CE:51 (Primary,USB,hci0)                                                                       [hci0] 0.559100
= Open Index: 00:1A:92:C7:CE:51                                                                                         [hci0] 0.559104
= Index Info: 00:1A:92:C7:CE:51 (Cambridge Silicon Radio)                                                               [hci0] 0.559107
@ MGMT Open: bluetoothd (privileged) version 1.18                                                                     {0x0001} 0.559113
< HCI Command: Create Connection (0x01|0x0005) plen 13                                                              #1 [hci0] 40.522815
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Packet type: 0xcc18
          DM1 may be used
          DH1 may be used
          DM3 may be used
          DH3 may be used
          DM5 may be used
          DH5 may be used
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
        Role switch: Allow peripheral (0x01)
> HCI Event: Command Status (0x0f) plen 4                                                                           #2 [hci0] 40.532478
      Create Connection (0x01|0x0005) ncmd 1
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                                                                        #3 [hci0] 40.840478
        Status: Success (0x00)
        Handle: 42
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2                                                  #4 [hci0] 40.840690
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
@ RAW Open: btmon (privileged) version 2.22                                                                          {0x0002} 40.841050
@ RAW Close: btmon                                                                                                   {0x0002} 40.841067
> HCI Event: Command Status (0x0f) plen 4                                                                           #5 [hci0] 40.857466
      Read Remote Supported Features (0x01|0x001b) ncmd 0
        Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3                                                                         #6 [hci0] 40.859464
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Max slots: 5
> HCI Event: Command Status (0x0f) plen 4                                                                           #7 [hci0] 40.864464
      NOP (0x00|0x0000) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11                                                          #8 [hci0] 40.879478
        Status: Success (0x00)
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Features: 0xbf 0x02 0x00 0x70 0x18 0x1c 0x79 0x83
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Sniff mode
          Power control requests
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          AFH capable peripheral
          AFH classification peripheral
          Pause encryption
          AFH capable central
          AFH classification central
          Extended Inquiry Response
          Secure Simple Pairing
          Encapsulated PDU
          Erroneous Data Reporting
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Extended features
< HCI Command: Read Remote Extended Features (0x01|0x001c) plen 3                                                   #9 [hci0] 40.879547
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                                                                          #10 [hci0] 40.886476
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13                                                          #11 [hci0] 40.891477
        Status: Success (0x00)
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page: 1/1
        Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10                                                           #12 [hci0] 40.891552
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
< ACL Data TX: Handle 42 flags 0x02 dlen 10                                                                        #13 [hci0] 40.891571
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #14 [hci0] 40.898476
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 16                                                                        #15 [hci0] 40.899488
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x00000000
< ACL Data TX: Handle 42 flags 0x02 dlen 12                                                                        #16 [hci0] 40.899554
      L2CAP: Connection Request (0x02) ident 2 len 4
        PSM: 3 (0x0003)
        Source CID: 64
> HCI Event: Command Status (0x0f) plen 4                                                                          #17 [hci0] 40.904476
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> ACL Data RX: Handle 42 flags 0x02 dlen 16                                                                        #18 [hci0] 40.905481
      L2CAP: Connection Response (0x03) ident 2 len 8
        Destination CID: 71
        Source CID: 64
        Result: Connection pending (0x0001)
        Status: Authorization pending (0x0002)
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #19 [hci0] 40.906462
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 16                                                                        #20 [hci0] 40.929484
      L2CAP: Connection Response (0x03) ident 2 len 8
        Destination CID: 71
        Source CID: 64
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 42 flags 0x02 dlen 16                                                                        #21 [hci0] 40.929560
      L2CAP: Configure Request (0x04) ident 3 len 8
        Destination CID: 71
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1021
> ACL Data RX: Handle 42 flags 0x02 dlen 16                                                                        #22 [hci0] 40.932479
      L2CAP: Configure Request (0x04) ident 13 len 8
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 128
< ACL Data TX: Handle 42 flags 0x02 dlen 18                                                                        #23 [hci0] 40.932539
      L2CAP: Configure Response (0x05) ident 13 len 10
        Source CID: 71
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 128
> ACL Data RX: Handle 42 flags 0x02 dlen 14                                                                        #24 [hci0] 40.940478
      L2CAP: Configure Response (0x05) ident 3 len 6
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
< ACL Data TX: Handle 42 flags 0x02 dlen 8                                                                         #25 [hci0] 40.940587
      Channel: 71 len 4 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Set Async Balance Mode (SABM) (0x2f)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0x3f poll/final 1
         Length: 0
         FCS: 0x1c
> HCI Event: Remote Name Req Complete (0x07) plen 255                                                              #26 [hci0] 40.947472
        Status: Success (0x00)
        Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Name: KONNWEI
@ MGMT Event: Device Connected (0x000b) plen 27                                                               {0x0001} [hci0] 40.947524
        BR/EDR Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Flags: 0x00000000
        Data length: 14
        Name (complete): KONNWEI
        Class: 0x040424
          Major class: Audio/Video (headset, speaker, stereo, video, vcr)
          Minor class: Set-top box
          Rendering (Printing, Speaker)
> ACL Data RX: Handle 42 flags 0x02 dlen 8                                                                         #27 [hci0] 40.948468
      Channel: 64 len 4 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Ack (UA) (0x63)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0x73 poll/final 1
         Length: 0
         FCS: 0xd7
< ACL Data TX: Handle 42 flags 0x02 dlen 18                                                                        #28 [hci0] 40.948566
      Channel: 71 len 14 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0x70
         MCC Message type: DLC Parameter Negotiation CMD (0x20)
           Length: 8
           dlci 2 frame_type 0 credit_flow 15 pri 7
           ack_timer 0 frame_size 123 max_retrans 0 credits 7
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #29 [hci0] 40.949469
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #30 [hci0] 40.951463
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #31 [hci0] 40.953476
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #32 [hci0] 40.956477
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 18                                                                        #33 [hci0] 40.957482
      Channel: 64 len 14 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0xaa
         MCC Message type: DLC Parameter Negotiation RSP (0x20)
           Length: 8
           dlci 2 frame_type 0 credit_flow 14 pri 7
           ack_timer 0 frame_size 123 max_retrans 0 credits 4
< ACL Data TX: Handle 42 flags 0x02 dlen 8                                                                         #34 [hci0] 40.957579
      Channel: 71 len 4 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Set Async Balance Mode (SABM) (0x2f)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0x3f poll/final 1
         Length: 0
         FCS: 0x59
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #35 [hci0] 40.963476
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 8                                                                         #36 [hci0] 40.964481
      Channel: 64 len 4 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Ack (UA) (0x63)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0x73 poll/final 1
         Length: 0
         FCS: 0x92
< ACL Data TX: Handle 42 flags 0x02 dlen 12                                                                        #37 [hci0] 40.964761
      Channel: 71 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0x70
         MCC Message type: Modem Status Command CMD (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
> ACL Data RX: Handle 42 flags 0x02 dlen 12                                                                        #38 [hci0] 40.967465
      Channel: 64 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0xaa
         MCC Message type: Modem Status Command CMD (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
< ACL Data TX: Handle 42 flags 0x02 dlen 12                                                                        #39 [hci0] 40.967542
      Channel: 71 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0x70
         MCC Message type: Modem Status Command RSP (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #40 [hci0] 40.972462
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 12                                                                        #41 [hci0] 40.974484
      Channel: 64 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0xaa
         MCC Message type: Modem Status Command RSP (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
< ACL Data TX: Handle 42 flags 0x02 dlen 9                                                                         #42 [hci0] 40.974590
      Channel: 71 len 5 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0xff poll/final 1
         Length: 0
         FCS: 0x86
         Credits: 33
        86                                               .               
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #43 [hci0] 40.976460
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #44 [hci0] 40.981477
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
< ACL Data TX: Handle 42 flags 0x02 dlen 18                                                                        #45 [hci0] 57.978492
      Channel: 71 len 14 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0x70
         MCC Message type: Remote Port Negotiation Command CMD (0x24)
           Length: 8
           dlci 2
           br 7 db 3 sb 0 p 0 pt 0 xi 0 xo 0
           rtri 0 rtro 0 rtci 0 rtco 0 xon 17 xoff 19
           pm 0x0001
< ACL Data TX: Handle 42 flags 0x02 dlen 12                                                                        #46 [hci0] 57.978615
      Channel: 71 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x03 cr 1 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0x70
         MCC Message type: Modem Status Command CMD (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #47 [hci0] 58.001426
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #48 [hci0] 58.005416
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 18                                                                        #49 [hci0] 58.005445
      Channel: 64 len 14 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 10
         FCS: 0xaa
         MCC Message type: Remote Port Negotiation Command RSP (0x24)
           Length: 8
           dlci 2
           br 7 db 3 sb 0 p 0 pt 0 xi 0 xo 0
           rtri 0 rtro 0 rtci 0 rtco 0 xon 17 xoff 19
           pm 0x0001
> ACL Data RX: Handle 42 flags 0x02 dlen 12                                                                        #50 [hci0] 58.007419
      Channel: 64 len 8 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x01 cr 0 dlci 0x00
         Control: 0xef poll/final 0
         Length: 4
         FCS: 0xaa
         MCC Message type: Modem Status Command RSP (0x38)
           Length: 2
           dlci 2 
           fc 0 rtc 1 rtr 1 ic 0 dv 1
< ACL Data TX: Handle 42 flags 0x02 dlen 9                                                                         #51 [hci0] 61.065068
      Channel: 71 len 5 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0xef poll/final 0
         Length: 1
         FCS: 0x9a
        41 9a                                            A.              
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #52 [hci0] 61.074400
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 10                                                                        #53 [hci0] 61.114410
      Channel: 64 len 6 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x09 cr 0 dlci 0x02
         Control: 0xef poll/final 0
         Length: 1
         FCS: 0x40
        41 40                                            A@              
< ACL Data TX: Handle 42 flags 0x02 dlen 9                                                                         #54 [hci0] 61.471610
      Channel: 71 len 5 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x0b cr 1 dlci 0x02
         Control: 0xef poll/final 0
         Length: 1
         FCS: 0x9a
        54 9a                                            T.              
> HCI Event: Number of Completed Packets (0x13) plen 5                                                             #55 [hci0] 61.481399
        Num handles: 1
        Handle: 42 Address: B8:8B:15:0A:1C:AD (OUI B8-8B-15)
        Count: 1
> ACL Data RX: Handle 42 flags 0x02 dlen 10                                                                        #56 [hci0] 61.522405
      Channel: 64 len 6 [PSM 3 mode Basic (0x00)] {chan 0}
      RFCOMM: Unnumbered Info with Header Check (UIH) (0xef)
         Address: 0x09 cr 0 dlci 0x02
         Control: 0xef poll/final 0
 

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux