Why network PAN immediately disconnect to mobile phone after connecting?

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

 



Hello,
I wander the Network PAN api.

I tested two cases to connect the bluetooth Network,
Device A is paired Phone B. Phone is woring the NAP service.

Test case 1 > I used the connmanctl.

Paired the device A and phone by using the "bluetoothctl".
Checking the pairedstatus is success.

Then, I  call the dbus command to use command-line network manager api that is "  dbus-send --system --dest=net.connman --print-reply  /net/connman/service/bluetooth_000000000000_444444444444 net.connman.Service.Connect  "

After sending the command, Device A is connected to Phone A.
Bluetooth network connection is working well.

[btmon : HCI command]

Bluetooth monitor ver 5.39
= New Index: 00:00:00:00:00:00 (BR/EDR,UART,hci0)               [hci0] 0.620010
< HCI Command: Create Connection (0x01|0x0005) plen 13         [hci0] 28.882197
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        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 slave (0x01)
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 28.882969
      Create Connection (0x01|0x0005) ncmd 1
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                   [hci0] 29.852797
        Status: Success (0x00)
        Handle: 12
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported F.. (0x01|0x001b) plen 2  [hci0] 29.853307
        Handle: 12
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 29.853713
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11     [hci0] 29.853982
        Status: Success (0x00)
        Handle: 12
        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Sniff mode
          Power control requests
          Channel quality driven data rate (CQDDR)
          SCO link
          HV2 packets
          HV3 packets
          u-law log synchronous data
          A-law log synchronous data
          CVSD synchronous data
          Paging parameter negotiation
          Power control
          Transparent synchronous data
          Flow control lag (most significant bit)
          Broadcast Encryption
          Enhanced Data Rate ACL 2 Mbps mode
          Enhanced Data Rate ACL 3 Mbps mode
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          Extended SCO link (EV3 packets)
          EV4 packets
          EV5 packets
          AFH capable slave
          AFH classification slave
          LE Supported (Controller)
          3-slot Enhanced Data Rate ACL packets
          5-slot Enhanced Data Rate ACL packets
          Sniff subrating
          Pause encryption
          AFH capable master
          AFH classification master
          Enhanced Data Rate eSCO 2 Mbps mode
          Enhanced Data Rate eSCO 3 Mbps mode
          3-slot Enhanced Data Rate eSCO packets
          Extended Inquiry Response
          Simultaneous LE and BR/EDR (Controller)
          Secure Simple Pairing
          Encapsulated PDU
          Erroneous Data Reporting
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Enhanced Power Control
          Extended features
< HCI Command: Read Remote Extended Fe.. (0x01|0x001c) plen 3  [hci0] 29.854052
        Handle: 12
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 29.854560
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13      [hci0] 29.854830
        Status: Success (0x00)
        Handle: 12
        Page: 1/2
        Features: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
          LE Supported (Host)
          Simultaneous LE and BR/EDR (Host)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10       [hci0] 29.854914
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 29.855494
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3                    [hci0] 29.856526
        Handle: 12
        Max slots: 5
> HCI Event: Remote Name Req Complete (0x07) plen 255          [hci0] 29.867393
        Status: Success (0x00)
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Name: ssong
< HCI Command: Authentication Requested (0x01|0x0011) plen 2   [hci0] 29.867560
        Handle: 12
@ Device Connected: 44:44:44:44:44:44 (0) flags 0x0000
        06 09 73 73 6f 6e 67 04 0d 0c 02 7a              ..ssong....z    
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 29.868585
      Authentication Requested (0x01|0x0011) ncmd 1
        Status: Success (0x00)
> HCI Event: Link Key Request (0x17) plen 6                    [hci0] 29.868610
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22    [hci0] 29.868721
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Link key: a0bb121b12b1e86c63daf30ba8139bd0
> HCI Event: Command Complete (0x0e) plen 10                   [hci0] 29.870367
      Link Key Request Reply (0x01|0x000b) ncmd 1
        Status: Success (0x00)
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
> HCI Event: Auth Complete (0x06) plen 3                       [hci0] 29.877969
        Status: Success (0x00)
        Handle: 12
< HCI Command: Set Connection Encryption (0x01|0x0013) plen 3  [hci0] 29.878099
        Handle: 12
        Encryption: Enabled (0x01)
> HCI Event: Command Status (0x0f) plen 4                      [hci0] 29.878616
      Set Connection Encryption (0x01|0x0013) ncmd 1
        Status: Success (0x00)
> HCI Event: Encryption Change (0x08) plen 4                   [hci0] 29.897432
        Status: Success (0x00)
        Handle: 12
        Encryption: Enabled with E0 (0x01)
< ACL Data TX: Handle 12 flags 0x00 dlen 10                    [hci0] 29.897561
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> ACL Data RX: Handle 12 flags 0x02 dlen 16                    [hci0] 29.902766
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000002a8
          Enhanced Retransmission Mode
          FCS Option
          Fixed Channels
          Unicast Connectionless Data Reception
< ACL Data TX: Handle 12 flags 0x00 dlen 10                    [hci0] 29.902863
      L2CAP: Information Request (0x0a) ident 2 len 2
        Type: Fixed channels supported (0x0003)
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 29.905347
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 20                    [hci0] 29.906499
      L2CAP: Information Response (0x0b) ident 2 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0400080000000010
          Attribute Protocol
          Unknown channels (0x400080000000000)
< ACL Data TX: Handle 12 flags 0x00 dlen 12                    [hci0] 29.906586
      L2CAP: Connection Request (0x02) ident 3 len 4
        PSM: 15 (0x000f)
        Source CID: 64
> ACL Data RX: Handle 12 flags 0x02 dlen 16                    [hci0] 29.911482
      L2CAP: Connection Response (0x03) ident 3 len 8
        Destination CID: 2566
        Source CID: 64
        Result: Connection pending (0x0001)
        Status: Authentication pending (0x0001)
> ACL Data RX: Handle 12 flags 0x02 dlen 10                    [hci0] 29.912711
      L2CAP: Information Request (0x0a) ident 60 len 2
        Type: Extended features supported (0x0002)
< ACL Data TX: Handle 12 flags 0x00 dlen 16                    [hci0] 29.912776
      L2CAP: Information Response (0x0b) ident 60 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000002b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
          Unicast Connectionless Data Reception
> ACL Data RX: Handle 12 flags 0x02 dlen 16                    [hci0] 29.913981
      L2CAP: Connection Response (0x03) ident 3 len 8
        Destination CID: 2566
        Source CID: 64
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 27                    [hci0] 29.914051
      L2CAP: Configure Request (0x04) ident 4 len 19
        Destination CID: 2566
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 29.915318
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 10                    [hci0] 29.917709
      L2CAP: Information Request (0x0a) ident 61 len 2
        Type: Fixed channels supported (0x0003)
< ACL Data TX: Handle 12 flags 0x00 dlen 20                    [hci0] 29.917782
      L2CAP: Information Response (0x0b) ident 61 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0000000000000006
          L2CAP Signaling (BR/EDR)
          Connectionless reception
> ACL Data RX: Handle 12 flags 0x02 dlen 29                    [hci0] 29.918992
      L2CAP: Configure Response (0x05) ident 4 len 21
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> ACL Data RX: Handle 12 flags 0x02 dlen 27                    [hci0] 29.920252
      L2CAP: Configure Request (0x04) ident 62 len 19
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
< ACL Data TX: Handle 12 flags 0x00 dlen 18                    [hci0] 29.920349
      L2CAP: Configure Response (0x05) ident 62 len 10
        Source CID: 2566
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
< ACL Data TX: Handle 12 flags 0x00 dlen 11                    [hci0] 29.920643
      Channel: 2566 len 7 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Setup Conn Req (0x01) 
           Size: 0x02 
           Dst: 0x1116(NAP)
           Src: 0x1115(PANU)
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 29.921582
        Num handles: 1
        Handle: 12
        Count: 2
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 29.925215
        Num handles: 1
        Handle: 12
        Count: 2
> HCI Event: Encryption Change (0x08) plen 4                   [hci0] 30.062777
        Status: Success (0x00)
        Handle: 12
        Encryption: Disabled (0x00)
> HCI Event: Role Change (0x12) plen 8                         [hci0] 30.223222
        Status: Success (0x00)
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Role: Slave (0x01)
> HCI Event: Max Slots Change (0x1b) plen 3                    [hci0] 30.223871
        Handle: 12
        Max slots: 5
> HCI Event: Link Supervision Timeout Changed (0x38) plen 4    [hci0] 30.229885
        Handle: 12
        Timeout: 5000.000 msec (0x1f40)
> HCI Event: Encryption Change (0x08) plen 4                   [hci0] 30.245089
        Status: Success (0x00)
        Handle: 12
        Encryption: Enabled with E0 (0x01)
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 30.251098
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Setup Conn Rsp (0x02) 
           Rsp msg: Operation Successful(0x0000) 
< ACL Data TX: Handle 12 flags 0x00 dlen 32                    [hci0] 30.256085
      Channel: 2566 len 28 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0018
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
< ACL Data TX: Handle 12 flags 0x00 dlen 44                    [hci0] 30.256174
      Channel: 2566 len 40 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0024
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
< ACL Data TX: Handle 12 flags 0x00 dlen 56                    [hci0] 30.256207
      Channel: 2566 len 52 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0030
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 30.284996
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 30.286148
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 30.287356
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 30.288640
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
< ACL Data TX: Handle 12 flags 0x00 dlen 589                   [hci0] 30.368604
      Channel: 2566 len 585 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst ff:ff:ff:ff:ff:ff [proto 0x0800] 
        45 00 02 40 00 00 00 00 40 11 78 ae 00 00 00 00  E..@....@.x.....
        ff ff ff ff 00 44 00 43 02 2c 6c 6a 01 01 06 00  .....D.C.,lj....
        27 27 be 8f 00 00 00 00 00 00 00 00 00 00 00 00  ''..............
        00 00 00 00 00 00 00 00 00 1b 1a 8f 4f 32 00 00  ............O2..
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 63 82 53 63 35 01 01 39  ........c.Sc5..9
        02 02 40 37 07 03 01 fc 2a 0f 06 0c 3d 07 01 00  ..@7....*...=...
        1b 1a 8f 4f 32 0c 09 6c 6f 63 61 6c 68 6f 73 74  ...O2..localhost
        ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 30.399972
        Num handles: 1
        Handle: 12
        Count: 2
< ACL Data TX: Handle 12 flags 0x00 dlen 68                    [hci0] 30.419963
      Channel: 2566 len 64 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x003c
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
           33:33:ff:00:00:02 - 33:33:ff:00:00:02
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 30.434840
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 30.569523
        Num handles: 1
        Handle: 12
        Count: 1
< ACL Data TX: Handle 12 flags 0x00 dlen 80                    [hci0] 31.779461
      Channel: 2566 len 76 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0048
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
           33:33:ff:00:00:02 - 33:33:ff:00:00:02
           33:33:00:01:00:03 - 33:33:00:01:00:03
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 31.803638
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 31.944551
        Num handles: 1
        Handle: 12
        Count: 1
< ACL Data TX: Handle 12 flags 0x00 dlen 68                    [hci0] 34.258802
      Channel: 2566 len 64 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x003c
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
           33:33:00:01:00:03 - 33:33:00:01:00:03
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 34.346146
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 34.444536
        Num handles: 1
        Handle: 12
        Count: 1
< ACL Data TX: Handle 12 flags 0x00 dlen 589                   [hci0] 35.298685
      Channel: 2566 len 585 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst ff:ff:ff:ff:ff:ff [proto 0x0800] 
        45 00 02 40 00 00 00 00 40 11 78 ae 00 00 00 00  E..@....@.x.....
        ff ff ff ff 00 44 00 43 02 2c ec 64 01 01 06 00  .....D.C.,.d....
        27 27 be 8f 00 05 80 00 00 00 00 00 00 00 00 00  ''..............
        00 00 00 00 00 00 00 00 00 1b 1a 8f 4f 32 00 00  ............O2..
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 63 82 53 63 35 01 01 39  ........c.Sc5..9
        02 02 40 37 07 03 01 fc 2a 0f 06 0c 3d 07 01 00  ..@7....*...=...
        1b 1a 8f 4f 32 0c 09 6c 6f 63 61 6c 68 6f 73 74  ...O2..localhost
        ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> ACL Data RX: Handle 12 flags 0x02 dlen 347                   [hci0] 35.426007
      Channel: 64 len 343 [PSM 15 mode 0] {chan 0}
      BNEP: General Ethernet (0x00|0)
         dst ff:ff:ff:ff:ff:ff src 66:00:10:cd:55:64 [proto 0x0800] 
        45 00 01 48 04 7b 00 00 ff 11 00 15 ac 14 0a 01  E..H.{..........
        ff ff ff ff 00 43 00 44 01 34 62 7c 02 01 06 00  .....C.D.4b|....
        27 27 be 8f 00 00 80 00 00 00 00 00 ac 14 0a 03  ''..............
        ac 14 0a 01 00 00 00 00 00 1b 1a 8f 4f 32 00 00  ............O2..
        00 00 00 00 00 00 00 00 73 73 6f 6e 67 00 00 00  ........ssong...
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 63 82 53 63 35 01 02 36  ........c.Sc5..6
        04 ac 14 0a 01 33 04 00 01 4e 20 03 04 ac 14 0a  .....3...N .....
        01 01 04 ff ff ff f0 06 04 ac 14 0a 01 ff 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00                          ........        
< ACL Data TX: Handle 12 flags 0x00 dlen 589                   [hci0] 35.458660
      Channel: 2566 len 585 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst ff:ff:ff:ff:ff:ff [proto 0x0800] 
        45 00 02 40 00 00 00 00 40 11 78 ae 00 00 00 00  E..@....@.x.....
        ff ff ff ff 00 44 00 43 02 2c b4 90 01 01 06 00  .....D.C.,......
        27 27 be 8f 00 05 80 00 00 00 00 00 00 00 00 00  ''..............
        00 00 00 00 00 00 00 00 00 1b 1a 8f 4f 32 00 00  ............O2..
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 63 82 53 63 35 01 03 32  ........c.Sc5..2
        04 ac 14 0a 03 36 04 ac 14 0a 01 39 02 02 40 37  .....6.....9..@7
        07 03 01 fc 2a 0f 06 0c 3d 07 01 00 1b 1a 8f 4f  ....*...=......O
        32 0c 09 6c 6f 63 61 6c 68 6f 73 74 ff 00 00 00  2..localhost....
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 35.559942
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 347                   [hci0] 35.562257
      Channel: 64 len 343 [PSM 15 mode 0] {chan 0}
      BNEP: General Ethernet (0x00|0)
         dst ff:ff:ff:ff:ff:ff src 66:00:10:cd:55:64 [proto 0x0800] 
        45 00 01 48 04 7c 00 00 ff 11 00 14 ac 14 0a 01  E..H.|..........
        ff ff ff ff 00 43 00 44 01 34 5f 7c 02 01 06 00  .....C.D.4_|....
        27 27 be 8f 00 00 80 00 00 00 00 00 ac 14 0a 03  ''..............
        ac 14 0a 01 00 00 00 00 00 1b 1a 8f 4f 32 00 00  ............O2..
        00 00 00 00 00 00 00 00 73 73 6f 6e 67 00 00 00  ........ssong...
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 63 82 53 63 35 01 05 36  ........c.Sc5..6
        04 ac 14 0a 01 33 04 00 01 4e 20 03 04 ac 14 0a  .....3...N .....
        01 01 04 ff ff ff f0 06 04 ac 14 0a 01 ff 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00                          ........        
< ACL Data TX: Handle 12 flags 0x00 dlen 80                    [hci0] 35.564363
      Channel: 2566 len 76 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0048
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
           33:33:00:01:00:03 - 33:33:00:01:00:03
           01:00:5e:00:00:fc - 01:00:5e:00:00:fc
< ACL Data TX: Handle 12 flags 0x00 dlen 92                    [hci0] 35.564457
      Channel: 2566 len 88 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0054
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
           33:33:00:01:00:03 - 33:33:00:01:00:03
           01:00:5e:00:00:fc - 01:00:5e:00:00:fc
           01:00:5e:00:00:fb - 01:00:5e:00:00:fb
< ACL Data TX: Handle 12 flags 0x00 dlen 41                    [hci0] 35.566804
      Channel: 2566 len 37 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst ff:ff:ff:ff:ff:ff [proto 0x0806] 
        00 01 08 00 06 04 00 01 00 1b 1a 8f 4f 32 ac 14  ............O2..
        0a 03 00 00 00 00 00 00 ac 14 0a 01              ............    
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 35.698706
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 35.698822
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 8                     [hci0] 35.699904
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> ACL Data RX: Handle 12 flags 0x02 dlen 41                    [hci0] 35.767439
      Channel: 64 len 37 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0806] 
        00 01 08 00 06 04 00 02 66 00 10 cd 55 64 ac 14  ........f...Ud..
        0a 01 00 1b 1a 8f 4f 32 ac 14 0a 03              ......O2....    
< ACL Data TX: Handle 12 flags 0x00 dlen 89                    [hci0] 35.767668
      Channel: 2566 len 85 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 10 00 4c d9 57 40 00 40 11 f5 0c ac 14 0a 03  E..L.W@.@.......
        ac 14 0a 01 b0 85 00 7b 00 38 25 79 e3 00 0a 00  .......{.8%y....
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 da ef fa ea 21 c3 d8 38              ........!..8    
> ACL Data RX: Handle 12 flags 0x02 dlen 69                    [hci0] 35.902681
      Channel: 64 len 65 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 38 f8 5e 00 00 40 01 16 3a ac 14 0a 01  E..8.^..@..:....
        ac 14 0a 03 03 03 4b c4 00 00 00 00 45 10 00 4c  ......K.....E..L
        d9 57 00 00 40 11 35 0d ac 14 0a 03 ac 14 0a 01  .W..@.5.........
        b0 85 00 7b 00 38 00 00                          ...{.8..        
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 35.902697
        Num handles: 1
        Handle: 12
        Count: 2
< ACL Data TX: Handle 12 flags 0x00 dlen 75                    [hci0] 36.258898
      Channel: 2566 len 71 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 3e d9 62 40 00 40 11 f5 1f ac 14 0a 03  E..>.b@.@.......
        ac 14 0a 01 d4 2e 00 35 00 2a 10 76 75 01 01 00  .......5.*.vu...
        00 01 00 00 00 00 00 00 04 69 70 76 34 07 63 6f  .........ipv4.co
        6e 6e 6d 61 6e 03 6e 65 74 00 00 01 00 01        nnman.net.....  
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 36.444555
        Num handles: 1
        Handle: 12
        Count: 1
> ACL Data RX: Handle 12 flags 0x02 dlen 91                    [hci0] 36.846960
      Channel: 64 len 87 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 4e fb f6 00 00 40 11 12 7c ac 14 0a 01  E..N....@..|....
        ac 14 0a 03 00 35 d4 2e 00 3a 73 fc 75 01 81 80  .....5...:s.u...
        00 01 00 01 00 00 00 00 04 69 70 76 34 07 63 6f  .........ipv4.co
        6e 6e 6d 61 6e 03 6e 65 74 00 00 01 00 01 c0 0c  nnman.net.......
        00 01 00 01 00 00 00 4d 00 04 52 a5 08 d3        .......M..R...  
< ACL Data TX: Handle 12 flags 0x00 dlen 73                    [hci0] 36.848311
      Channel: 2566 len 69 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 3c c0 7c 40 00 40 06 68 b0 ac 14 0a 03  E..<.|@.@.h.....
        52 a5 08 d3 8f 03 00 50 16 62 4f 85 00 00 00 00  R......P.bO.....
        a0 02 72 10 3f 2c 00 00 02 04 05 b4 04 02 08 0a  ..r.?,..........
        00 00 8f f9 00 00 00 00 01 03 03 07              ............    
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 37.069493
        Num handles: 1
        Handle: 12
        Count: 1
> ACL Data RX: Handle 12 flags 0x02 dlen 73                    [hci0] 37.251362
      Channel: 64 len 69 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 40 00 3c 00 00 00 00 2f 06 79 ed 52 a5 08 d3  E@.<..../.y.R...
        ac 14 0a 03 00 50 8f 03 d9 61 bf f4 16 62 4f 86  .....P...a...bO.
        a0 12 71 20 88 aa 00 00 02 04 05 64 04 02 08 0a  ..q .......d....
        06 e2 17 78 00 00 8f f9 01 03 03 07              ...x........    
< ACL Data TX: Handle 12 flags 0x00 dlen 65                    [hci0] 37.251827
      Channel: 2566 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 34 c0 7d 40 00 40 06 68 b7 ac 14 0a 03  E..4.}@.@.h.....
        52 a5 08 d3 8f 03 00 50 16 62 4f 86 d9 61 bf f5  R......P.bO..a..
        80 10 00 e5 27 39 00 00 01 01 08 0a 00 00 90 22  ....'9........."
        06 e2 17 78                                      ...x            
< ACL Data TX: Handle 12 flags 0x00 dlen 176                   [hci0] 37.252039
      Channel: 2566 len 172 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 a3 c0 7e 40 00 40 06 68 47 ac 14 0a 03  E....~@.@.hG....
        52 a5 08 d3 8f 03 00 50 16 62 4f 86 d9 61 bf f5  R......P.bO..a..
        80 18 00 e5 87 b3 00 00 01 01 08 0a 00 00 90 22  ..............."
        06 e2 17 78 47 45 54 20 2f 6f 6e 6c 69 6e 65 2f  ...xGET /online/
        73 74 61 74 75 73 2e 68 74 6d 6c 20 48 54 54 50  status.html HTTP
        2f 31 2e 31 0d 0a 48 6f 73 74 3a 20 69 70 76 34  /1.1..Host: ipv4
        2e 63 6f 6e 6e 6d 61 6e 2e 6e 65 74 0d 0a 55 73  .connman.net..Us
        65 72 2d 41 67 65 6e 74 3a 20 43 6f 6e 6e 4d 61  er-Agent: ConnMa
        6e 2f 31 2e 33 31 20 77 69 73 70 72 0d 0a 43 6f  n/1.31 wispr..Co
        6e 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f 73 65 0d  nnection: close.
        0a 0d 0a                                         ...             
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 37.386267
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 65                    [hci0] 37.721325
      Channel: 64 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 40 00 34 a8 1b 00 00 2f 06 d1 d9 52 a5 08 d3  E@.4..../...R...
        ac 14 0a 03 00 50 8f 03 d9 61 bf f5 16 62 4f f5  .....P...a...bO.
        80 10 00 e3 26 54 00 00 01 01 08 0a 06 e2 17 f0  ....&T..........
        00 00 90 22                                      ..."            
> ACL Data RX: Handle 12 flags 0x02 dlen 271                   [hci0] 37.724518
      Channel: 64 len 267 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 40 01 02 a8 1c 00 00 2f 06 d1 0a 52 a5 08 d3  E@....../...R...
        ac 14 0a 03 00 50 8f 03 d9 61 bf f5 16 62 4f f5  .....P...a...bO.
        80 18 00 e3 45 c1 00 00 01 01 08 0a 06 e2 17 f0  ....E...........
        00 00 90 22 48 54 54 50 2f 31 2e 31 20 32 30 30  ..."HTTP/1.1 200
        20 4f 4b 0d 0a 53 65 72 76 65 72 3a 20 6e 67 69   OK..Server: ngi
        6e 78 0d 0a 44 61 74 65 3a 20 57 65 64 2c 20 32  nx..Date: Wed, 2
        35 20 4d 61 79 20 32 30 31 36 20 31 30 3a 32 33  5 May 2016 10:23
        3a 32 30 20 47 4d 54 0d 0a 43 6f 6e 74 65 6e 74  :20 GMT..Content
        2d 54 79 70 65 3a 20 74 65 78 74 2f 68 74 6d 6c  -Type: text/html
        0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68  ..Content-Length
        3a 20 34 35 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e  : 45..Connection
        3a 20 63 6c 6f 73 65 0d 0a 58 2d 43 6f 6e 6e 4d  : close..X-ConnM
        61 6e 2d 53 74 61 74 75 73 3a 20 6f 6e 6c 69 6e  an-Status: onlin
        65 0d 0a 0d 0a 3c 68 74 6d 6c 3e 0a 3c 68 65 61  e....<html>.<hea
        64 3e 0a 3c 2f 68 65 61 64 3e 0a 3c 62 6f 64 79  d>.</head>.<body
        3e 0a 3c 2f 62 6f 64 79 3e 0a 3c 2f 68 74 6d 6c  >.</body>.</html
        3e 0a                                            >.              
< ACL Data TX: Handle 12 flags 0x00 dlen 65                    [hci0] 37.724847
      Channel: 2566 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 34 c0 7f 40 00 40 06 68 b5 ac 14 0a 03  E..4..@.@.h.....
        52 a5 08 d3 8f 03 00 50 16 62 4f f5 d9 61 c0 c3  R......P.bO..a..
        80 10 00 ed 25 4d 00 00 01 01 08 0a 00 00 90 51  ....%M.........Q
        06 e2 17 f0                                      ....            
> ACL Data RX: Handle 12 flags 0x02 dlen 65                    [hci0] 37.791306
      Channel: 64 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx  [proto 0x0800] 
        45 40 00 34 a8 1d 00 00 2f 06 d1 d7 52 a5 08 d3  E@.4..../...R...
        ac 14 0a 03 00 50 8f 03 d9 61 c0 c3 16 62 4f f5  .....P...a...bO.
        80 11 00 e3 25 85 00 00 01 01 08 0a 06 e2 17 f0  ....%...........
        00 00 90 22                                      ..."            
< ACL Data TX: Handle 12 flags 0x00 dlen 89                    [hci0] 37.793216
      Channel: 2566 len 85 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 10 00 4c d9 bd 40 00 40 11 f4 a6 ac 14 0a 03  E..L..@.@.......
        ac 14 0a 01 85 84 00 7b 00 38 67 c0 e3 00 0a 00  .......{.8g.....
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        00 00 00 00 da ef fa ec 2f 43 b3 70              ......../C.p    
< ACL Data TX: Handle 12 flags 0x00 dlen 65                    [hci0] 37.794005
      Channel: 2566 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet DestOnly (0x04|0)
         dst 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 34 c0 80 40 00 40 06 68 b4 ac 14 0a 03  E..4..@.@.h.....
        52 a5 08 d3 8f 03 00 50 16 62 4f f5 d9 61 c0 c4  R......P.bO..a..
        80 11 00 ed 25 44 00 00 01 01 08 0a 00 00 90 58  ....%D.........X
        06 e2 17 f0                                      ....            
> ACL Data RX: Handle 12 flags 0x02 dlen 69                    [hci0] 37.926418
      Channel: 64 len 65 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 00 00 38 4a f1 00 00 40 01 c3 a7 ac 14 0a 01  E..8J...@.......
        ac 14 0a 03 03 03 76 c5 00 00 00 00 45 10 00 4c  ......v.....E..L
        d9 bd 00 00 40 11 34 a7 ac 14 0a 03 ac 14 0a 01  ....@.4.........
        85 84 00 7b 00 38 00 00                          ...{.8..        
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 37.926439
        Num handles: 1
        Handle: 12
        Count: 2
> HCI Event: Number of Completed Packets (0x13) plen 5         [hci0] 38.069474
        Num handles: 1
        Handle: 12
        Count: 1
> ACL Data RX: Handle 12 flags 0x02 dlen 65                    [hci0] 38.267589
      Channel: 64 len 61 [PSM 15 mode 0] {chan 0}
      BNEP: Compressed Ethernet SrcOnly (0x03|0)
         src 66:xx:xx:xx:xx:xx [proto 0x0800] 
        45 40 00 34 a8 1e 00 00 2f 06 d1 d6 52 a5 08 d3  E@.4..../...R...
        ac 14 0a 03 00 50 8f 03 d9 61 c0 c4 16 62 4f f6  .....P...a...bO.
        80 10 00 e3 24 b8 00 00 01 01 08 0a 06 e2 18 86  ....$...........
        00 00 90 58                                      ...X            




Test case 2 > I used the bluez api.

Paired the device A and phone by using the "bluetoothctl".
Checking the pairedstatus is success.

Then, I used to dbus command that is " dbus-send --system --dest=org.bluez --print-reply  /org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx org.bluez.Network1.Connect string:"nap" ".
After sending the command, i can receive  siganl  that network connect is true and return the bluetooth network interface "bnep0".
But, immediately device is disconnected after connectiong network.
Why network connection is not working when i used the bluez api.


[btmon : HCI command]

Bluetooth monitor ver 5.39
= New Index: 00:00:00:00:00:00 (BR/EDR,UART,hci0)               [hci0] 0.235803
< HCI Command: Create Connection (0x01|0x0005) plen 13          [hci0] 5.989371
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        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 slave (0x01)
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 5.990812
      Create Connection (0x01|0x0005) ncmd 1
        Status: Success (0x00)
> HCI Event: Connect Complete (0x03) plen 11                    [hci0] 7.210941
        Status: Success (0x00)
        Handle: 12
        Address: 44:44:44:44:44:44(OUI 44-00-10)
        Link type: ACL (0x01)
        Encryption: Disabled (0x00)
< HCI Command: Read Remote Supported Fe.. (0x01|0x001b) plen 2  [hci0] 7.211458
        Handle: 12
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 7.211866
      Read Remote Supported Features (0x01|0x001b) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Supported Features (0x0b) plen 11      [hci0] 7.212160
        Status: Success (0x00)
        Handle: 12
        Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
          3 slot packets
          5 slot packets
          Encryption
          Slot offset
          Timing accuracy
          Role switch
          Sniff mode
          Power control requests
          Channel quality driven data rate (CQDDR)
          SCO link
          HV2 packets
          HV3 packets
          u-law log synchronous data
          A-law log synchronous data
          CVSD synchronous data
          Paging parameter negotiation
          Power control
          Transparent synchronous data
          Flow control lag (most significant bit)
          Broadcast Encryption
          Enhanced Data Rate ACL 2 Mbps mode
          Enhanced Data Rate ACL 3 Mbps mode
          Enhanced inquiry scan
          Interlaced inquiry scan
          Interlaced page scan
          RSSI with inquiry results
          Extended SCO link (EV3 packets)
          EV4 packets
          EV5 packets
          AFH capable slave
          AFH classification slave
          LE Supported (Controller)
          3-slot Enhanced Data Rate ACL packets
          5-slot Enhanced Data Rate ACL packets
          Sniff subrating
          Pause encryption
          AFH capable master
          AFH classification master
          Enhanced Data Rate eSCO 2 Mbps mode
          Enhanced Data Rate eSCO 3 Mbps mode
          3-slot Enhanced Data Rate eSCO packets
          Extended Inquiry Response
          Simultaneous LE and BR/EDR (Controller)
          Secure Simple Pairing
          Encapsulated PDU
          Erroneous Data Reporting
          Non-flushable Packet Boundary Flag
          Link Supervision Timeout Changed Event
          Inquiry TX Power Level
          Enhanced Power Control
          Extended features
< HCI Command: Read Remote Extended Fea.. (0x01|0x001c) plen 3  [hci0] 7.212231
        Handle: 12
        Page: 1
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 7.212748
      Read Remote Extended Features (0x01|0x001c) ncmd 1
        Status: Success (0x00)
> HCI Event: Read Remote Extended Features (0x23) plen 13       [hci0] 7.213010
        Status: Success (0x00)
        Handle: 12
        Page: 1/2
        Features: 0x07 0x00 0x00 0x00 0x00 0x00 0x00 0x00
          Secure Simple Pairing (Host Support)
          LE Supported (Host)
          Simultaneous LE and BR/EDR (Host)
< HCI Command: Remote Name Request (0x01|0x0019) plen 10        [hci0] 7.213093
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Page scan repetition mode: R2 (0x02)
        Page scan mode: Mandatory (0x00)
        Clock offset: 0x0000
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 7.213666
      Remote Name Request (0x01|0x0019) ncmd 1
        Status: Success (0x00)
> HCI Event: Max Slots Change (0x1b) plen 3                     [hci0] 7.214744
        Handle: 12
        Max slots: 5
> HCI Event: Remote Name Req Complete (0x07) plen 255           [hci0] 7.225591
        Status: Success (0x00)
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Name: ssong
< HCI Command: Authentication Requested (0x01|0x0011) plen 2    [hci0] 7.225730
        Handle: 12
@ Device Connected:44:44:44:44:44:44 (0) flags 0x0000
        06 09 73 73 6f 6e 67 04 0d 0c 02 7a              ..ssong....z    
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 7.228673
      Authentication Requested (0x01|0x0011) ncmd 1
        Status: Success (0x00)
> HCI Event: Link Key Request (0x17) plen 6                     [hci0] 7.228693
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22     [hci0] 7.228832
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
        Link key: a0bb121b12b1e86c63daf30ba8139bd0
> HCI Event: Command Complete (0x0e) plen 10                    [hci0] 7.232363
      Link Key Request Reply (0x01|0x000b) ncmd 1
        Status: Success (0x00)
        Address: 44:44:44:44:44:44 (OUI 44-00-10)
> HCI Event: Auth Complete (0x06) plen 3                        [hci0] 7.241153
        Status: Success (0x00)
        Handle: 12
< HCI Command: Set Connection Encryption (0x01|0x0013) plen 3   [hci0] 7.241267
        Handle: 12
        Encryption: Enabled (0x01)
> HCI Event: Command Status (0x0f) plen 4                       [hci0] 7.241775
      Set Connection Encryption (0x01|0x0013) ncmd 1
        Status: Success (0x00)
> HCI Event: Encryption Change (0x08) plen 4                    [hci0] 7.260607
        Status: Success (0x00)
        Handle: 12
        Encryption: Enabled with E0 (0x01)
< ACL Data TX: Handle 12 flags 0x00 dlen 10                     [hci0] 7.260728
      L2CAP: Information Request (0x0a) ident 1 len 2
        Type: Extended features supported (0x0002)
> ACL Data RX: Handle 12 flags 0x02 dlen 16                     [hci0] 7.268409
      L2CAP: Information Response (0x0b) ident 1 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000002a8
          Enhanced Retransmission Mode
          FCS Option
          Fixed Channels
          Unicast Connectionless Data Reception
< ACL Data TX: Handle 12 flags 0x00 dlen 10                     [hci0] 7.268562
      L2CAP: Information Request (0x0a) ident 2 len 2
        Type: Fixed channels supported (0x0003)
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.272275
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 20                     [hci0] 7.274692
      L2CAP: Information Response (0x0b) ident 2 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0400080000000010
          Attribute Protocol
          Unknown channels (0x400080000000000)
< ACL Data TX: Handle 12 flags 0x00 dlen 12                     [hci0] 7.274780
      L2CAP: Connection Request (0x02) ident 3 len 4
        PSM: 15 (0x000f)
        Source CID: 64
> ACL Data RX: Handle 12 flags 0x02 dlen 16                     [hci0] 7.278413
      L2CAP: Connection Response (0x03) ident 3 len 8
        Destination CID: 2310
        Source CID: 64
        Result: Connection pending (0x0001)
        Status: Authentication pending (0x0001)
> ACL Data RX: Handle 12 flags 0x02 dlen 10                     [hci0] 7.279655
      L2CAP: Information Request (0x0a) ident 57 len 2
        Type: Extended features supported (0x0002)
< ACL Data TX: Handle 12 flags 0x00 dlen 16                     [hci0] 7.279739
      L2CAP: Information Response (0x0b) ident 57 len 8
        Type: Extended features supported (0x0002)
        Result: Success (0x0000)
        Features: 0x000002b8
          Enhanced Retransmission Mode
          Streaming Mode
          FCS Option
          Fixed Channels
          Unicast Connectionless Data Reception
> ACL Data RX: Handle 12 flags 0x02 dlen 16                     [hci0] 7.280939
      L2CAP: Connection Response (0x03) ident 3 len 8
        Destination CID: 2310
        Source CID: 64
        Result: Connection successful (0x0000)
        Status: No further information available (0x0000)
< ACL Data TX: Handle 12 flags 0x00 dlen 27                     [hci0] 7.281025
      L2CAP: Configure Request (0x04) ident 4 len 19
        Destination CID: 2310
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.282275
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 10                     [hci0] 7.285888
      L2CAP: Information Request (0x0a) ident 58 len 2
        Type: Fixed channels supported (0x0003)
< ACL Data TX: Handle 12 flags 0x00 dlen 20                     [hci0] 7.285968
      L2CAP: Information Response (0x0b) ident 58 len 12
        Type: Fixed channels supported (0x0003)
        Result: Success (0x0000)
        Channels: 0x0000000000000006
          L2CAP Signaling (BR/EDR)
          Connectionless reception
> ACL Data RX: Handle 12 flags 0x02 dlen 29                     [hci0] 7.287194
      L2CAP: Configure Response (0x05) ident 4 len 21
        Source CID: 64
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> ACL Data RX: Handle 12 flags 0x02 dlen 27                     [hci0] 7.288614
      L2CAP: Configure Request (0x04) ident 59 len 19
        Destination CID: 64
        Flags: 0x0000
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
        Option: Retransmission and Flow Control (0x04) [mandatory]
          Mode: Basic (0x00)
          TX window size: 0
          Max transmit: 0
          Retransmission timeout: 0
          Monitor timeout: 0
          Maximum PDU size: 0
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.288632
        Num handles: 1
        Handle: 12
        Count: 2
< ACL Data TX: Handle 12 flags 0x00 dlen 18                     [hci0] 7.288753
      L2CAP: Configure Response (0x05) ident 59 len 10
        Source CID: 2310
        Flags: 0x0000
        Result: Success (0x0000)
        Option: Maximum Transmission Unit (0x01) [mandatory]
          MTU: 1691
< ACL Data TX: Handle 12 flags 0x00 dlen 11                     [hci0] 7.289084
      Channel: 2310 len 7 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Setup Conn Req (0x01) 
           Size: 0x02 
           Dst: 0x1116(NAP)
           Src: 0x1115(PANU)
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.293513
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 8                      [hci0] 7.323390
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Setup Conn Rsp (0x02) 
           Rsp msg: Operation Successful(0x0000) 
< ACL Data TX: Handle 12 flags 0x00 dlen 32                     [hci0] 7.327424
      Channel: 2310 len 28 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0018
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
< ACL Data TX: Handle 12 flags 0x00 dlen 44                     [hci0] 7.327594
      Channel: 2310 len 40 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0024
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
< ACL Data TX: Handle 12 flags 0x00 dlen 56                     [hci0] 7.328704
      Channel: 2310 len 52 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0030
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.332909
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 8                      [hci0] 7.333410
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> ACL Data RX: Handle 12 flags 0x02 dlen 8                      [hci0] 7.334628
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
> ACL Data RX: Handle 12 flags 0x02 dlen 8                      [hci0] 7.335896
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
< ACL Data TX: Handle 12 flags 0x00 dlen 56                     [hci0] 7.346692
      Channel: 2310 len 52 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Set (0x05) 
           Length: 0x0030
           ff:ff:ff:ff:ff:ff - ff:ff:ff:ff:ff:ff
           33:33:00:00:00:01 - 33:33:00:00:00:01
           01:00:5e:00:00:01 - 01:00:5e:00:00:01
           33:33:ff:8f:4f:32 - 33:33:ff:8f:4f:32
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.349823
        Num handles: 1
        Handle: 12
        Count: 2
> ACL Data RX: Handle 12 flags 0x02 dlen 8                      [hci0] 7.352382
      Channel: 64 len 4 [PSM 15 mode 0] {chan 0}
      BNEP: Control (0x01|0)
         Filter MultAddr Rsp (0x06) 
           Rsp msg: Operation Successful(0x0000) 
< ACL Data TX: Handle 12 flags 0x00 dlen 12                     [hci0] 7.418630
      L2CAP: Disconnection Request (0x06) ident 5 len 4
        Destination CID: 2310
        Source CID: 64
> ACL Data RX: Handle 12 flags 0x02 dlen 12                     [hci0] 7.552142
      L2CAP: Disconnection Response (0x07) ident 5 len 4
        Destination CID: 2310
        Source CID: 64
> HCI Event: Number of Completed Packets (0x13) plen 5          [hci0] 7.570594
        Num handles: 1
        Handle: 12
        Count: 1
> HCI Event: Disconnect Complete (0x05) plen 4                  [hci0] 8.505905
        Status: Success (0x00)
        Handle: 12
        Reason: Remote User Terminated Connection (0x13)
@ Device Disconnected: 44:44:44:44:44:44(0) reason 3



Thank you.
-HJÿ淸º{.nÇ+돴윯돪†+%듚ÿ깁負¥Šwÿº{.nÇ+돴¥Š{깰¹nzÚ(¶â왲^n‡r⊆¦zË곷h솳鈺Ú&{àz요z받쀺+€Ê+zf"·hš닱~넮녬iÿÿï곴ÿ묎çz_溫æj:+v돣þ)山øm





[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