<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Android 9 Bluetooth Tethering Will disconnect.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-Bluetooth-Tethering-Will-disconnect/m-p/1260113#M172397</link>
    <description>&lt;P&gt;We have implemented bluetooth in Android tablet.&lt;BR /&gt;We were able to support bluetooth tethering to share wifi connection.&lt;BR /&gt;A PC connecte to tablet by bluetooth,&lt;BR /&gt;and can access tablet's wifi interenet by bluetooth tethering.&lt;/P&gt;&lt;P&gt;A few minutes, PC's bluetooth connection will disconnect,&lt;BR /&gt;then PC can not access internet by bluetooth tethering.&lt;/P&gt;&lt;P&gt;The BT module on our tablet is Marvell SD8997 WIFI/BT combo ,&lt;BR /&gt;and android 9 on i.MX8m.&lt;BR /&gt;The Bluetooth profile is tethering, and wifi connect to internet.&lt;/P&gt;&lt;P&gt;Could you help to check the reason of Bluetooth tethering disconnect?&lt;/P&gt;&lt;P&gt;Below is android log.&lt;/P&gt;&lt;P&gt;===========================================================&lt;/P&gt;&lt;P&gt;04-09 13:28:16.603 23262 23300 I bt_btm_sec: btm_sec_disconnected clearing pending flag handle:1 reason:8&lt;BR /&gt;04-09 13:28:16.603 23262 23284 I bt_btif_pan: bta_pan_callback_transfer: event = BTA_PAN_CLOSE_EVT handle 1&lt;BR /&gt;04-09 13:28:16.628 3176 3197 I EthernetTracker: interfaceLinkStateChanged, iface: bt-pan, up: false&lt;BR /&gt;04-09 13:28:16.636 3002 3035 I Netd : Destroyed 1 sockets on fe80::224e:f6ff:fe9e:a00e in 0.6 ms&lt;BR /&gt;04-09 13:28:16.638 3002 3035 D NetlinkEvent: Unknown ifindex 18 in RTM_DELADDR&lt;BR /&gt;04-09 13:28:16.638 3002 3035 I Netd : Destroyed 1 sockets on 192.168.44.1 in 0.7 ms&lt;BR /&gt;04-09 13:28:16.639 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan/queues/rx-0&lt;BR /&gt;04-09 13:28:16.640 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan/queues/tx-0&lt;BR /&gt;04-09 13:28:16.640 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan&lt;BR /&gt;04-09 13:28:16.641 3176 3334 D EthernetNetworkFactory: updateCapabilityFilter: []&lt;BR /&gt;04-09 13:28:16.647 3029 3143 E display : threadLoop invalid uevent change@/devices/virtual/xt_idletimer/timers&lt;BR /&gt;04-09 13:28:16.652 3002 3045 D TetherController: Sending update msg to dnsmasq [update_ifaces|bt-pan]&lt;BR /&gt;04-09 13:28:16.653 3002 3044 D TetherController: untetherInterface(bt-pan)&lt;BR /&gt;04-09 13:28:16.653 12346 12346 E dnsmasq : interface given in set_interfaces: 'bt-pan' has no ifindex; ignoring&lt;BR /&gt;04-09 13:28:16.654 12346 12346 I dnsmasq : Closing listener [fe80::224e:f6ff:fe9e:a00e%18]:53&lt;BR /&gt;04-09 13:28:16.654 12346 12346 I dnsmasq : Closing listener [192.168.44.1]:53&lt;BR /&gt;04-09 13:28:16.656 3002 3044 D CommandListener: Setting iface cfg&lt;BR /&gt;04-09 13:28:16.658 3176 3198 E Tethering: [bt-pan] ERROR Failed to clear IPv4 address on interface bt-pan: java.lang.IllegalStateException: command '427 interface setcfg bt-pan 0.0.0.0 0' failed with '400 427 Failed to clear address (No such device)'&lt;BR /&gt;04-09 13:28:16.661 3176 3176 W TelecomManager: Telecom Service not found.&lt;BR /&gt;04-09 13:28:16.663 3002 3044 D TetherController: Stopping tethering services&lt;BR /&gt;04-09 13:28:16.665 12346 12346 I dnsmasq : exiting on receipt of SIGTERM&lt;BR /&gt;04-09 13:28:16.666 3002 3044 D TetherController: Tethering services stopped&lt;BR /&gt;04-09 13:28:16.667 23262 23284 D BluetoothPanServiceJni: connection_state_callback(L82): state:2, local_role:1, remote_role:2&lt;BR /&gt;04-09 13:28:16.667 3002 3044 D TetherController: Setting IP forward enable = 0&lt;BR /&gt;04-09 13:28:16.667 23262 23284 I btif_av : btif_av_acl_disconnected: Peer 7c:d3:0a:41:a4:eb : ACL Disconnected&lt;BR /&gt;04-09 13:28:16.667 23262 23262 D PanService: handlePanDeviceStateChange preState: 2 state: 0&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I btif_av : BtifAvPeer *BtifAvSource::FindOrCreatePeer(const RawAddress &amp;amp;, tBTA_AV_HNDL): Create peer: peer_address=7c:d3:0a:41:a4:eb bta_handle=0x41 peer_id=0&lt;BR /&gt;04-09 13:28:16.667 23262 23262 I PanService: remote(PANU) is disconnected, Remaining connected PANU devices: 0&lt;BR /&gt;04-09 13:28:16.667 23262 23262 I PanService: configureBtIface: bt-pan enable: false&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I btif_av : DeleteIdlePeers: Deleting idle peer: 7c:d3:0a:41:a4:eb bta_handle=0x41&lt;BR /&gt;04-09 13:28:16.668 3176 3313 D ConnectivityService: releasing NetworkRequest [ REQUEST id=70, [ Capabilities: INTERNET&amp;amp;NOT_RESTRICTED&amp;amp;TRUSTED&amp;amp;NOT_VPN Unwanted: ] ] (release request)&lt;BR /&gt;04-09 13:28:16.672 23262 23262 D PanService: Pan Device state : device: 7C:D3:0A:41:A4:EB State:2-&amp;gt;0&lt;BR /&gt;04-09 13:28:16.673 23262 23262 D BluetoothMapService: onReceive&lt;BR /&gt;04-09 13:28:16.673 23262 23262 D BluetoothMapService: onReceive: android.bluetooth.device.action.ACL_DISCONNECTED&lt;BR /&gt;04-09 13:28:16.674 3520 3520 D CachedBluetoothDevice: onProfileStateChanged: profile PAN, device=7C:D3:0A:41:A4:EB, newProfileState 0&lt;BR /&gt;04-09 13:28:16.675 23262 23262 D AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 W AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: unexpected transition for profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 3381 3535 D CachedBluetoothDevice: onProfileStateChanged: profile PAN, device=7C:D3:0A:41:A4:EB, newProfileState 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 D AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: 7C:D3:0A:41:A4:EB: 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 W AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: the mrvl nl80211 driver cmd is BTCOEXSCAN-STOP&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: the nl80211 driver cmd len is 15&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: Use private command =====&lt;BR /&gt;04-09 13:28:25.084 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:35.324 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:42.980 3029 3143 E display : threadLoop invalid uevent change@/devices/virtual/xt_idletimer/timers&lt;BR /&gt;04-09 13:28:45.564 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:55.804 3029 3143 I chatty : uid=1000(system) HWC-UEvent-Thre identical 1 line&lt;BR /&gt;04-09 13:29:06.044 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:29:07.184 3029 3143 E display : threadLoop invalid uevent &lt;A href="mailto:change@/devices/virtual/xt_idletimer/timers" target="_blank"&gt;change@/devices/virtual/xt_idletimer/timers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 02:15:13 GMT</pubDate>
    <dc:creator>peterchao</dc:creator>
    <dc:date>2021-04-12T02:15:13Z</dc:date>
    <item>
      <title>Android 9 Bluetooth Tethering Will disconnect.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-9-Bluetooth-Tethering-Will-disconnect/m-p/1260113#M172397</link>
      <description>&lt;P&gt;We have implemented bluetooth in Android tablet.&lt;BR /&gt;We were able to support bluetooth tethering to share wifi connection.&lt;BR /&gt;A PC connecte to tablet by bluetooth,&lt;BR /&gt;and can access tablet's wifi interenet by bluetooth tethering.&lt;/P&gt;&lt;P&gt;A few minutes, PC's bluetooth connection will disconnect,&lt;BR /&gt;then PC can not access internet by bluetooth tethering.&lt;/P&gt;&lt;P&gt;The BT module on our tablet is Marvell SD8997 WIFI/BT combo ,&lt;BR /&gt;and android 9 on i.MX8m.&lt;BR /&gt;The Bluetooth profile is tethering, and wifi connect to internet.&lt;/P&gt;&lt;P&gt;Could you help to check the reason of Bluetooth tethering disconnect?&lt;/P&gt;&lt;P&gt;Below is android log.&lt;/P&gt;&lt;P&gt;===========================================================&lt;/P&gt;&lt;P&gt;04-09 13:28:16.603 23262 23300 I bt_btm_sec: btm_sec_disconnected clearing pending flag handle:1 reason:8&lt;BR /&gt;04-09 13:28:16.603 23262 23284 I bt_btif_pan: bta_pan_callback_transfer: event = BTA_PAN_CLOSE_EVT handle 1&lt;BR /&gt;04-09 13:28:16.628 3176 3197 I EthernetTracker: interfaceLinkStateChanged, iface: bt-pan, up: false&lt;BR /&gt;04-09 13:28:16.636 3002 3035 I Netd : Destroyed 1 sockets on fe80::224e:f6ff:fe9e:a00e in 0.6 ms&lt;BR /&gt;04-09 13:28:16.638 3002 3035 D NetlinkEvent: Unknown ifindex 18 in RTM_DELADDR&lt;BR /&gt;04-09 13:28:16.638 3002 3035 I Netd : Destroyed 1 sockets on 192.168.44.1 in 0.7 ms&lt;BR /&gt;04-09 13:28:16.639 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan/queues/rx-0&lt;BR /&gt;04-09 13:28:16.640 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan/queues/tx-0&lt;BR /&gt;04-09 13:28:16.640 3029 3143 E display : threadLoop invalid uevent remove@/devices/virtual/net/bt-pan&lt;BR /&gt;04-09 13:28:16.641 3176 3334 D EthernetNetworkFactory: updateCapabilityFilter: []&lt;BR /&gt;04-09 13:28:16.647 3029 3143 E display : threadLoop invalid uevent change@/devices/virtual/xt_idletimer/timers&lt;BR /&gt;04-09 13:28:16.652 3002 3045 D TetherController: Sending update msg to dnsmasq [update_ifaces|bt-pan]&lt;BR /&gt;04-09 13:28:16.653 3002 3044 D TetherController: untetherInterface(bt-pan)&lt;BR /&gt;04-09 13:28:16.653 12346 12346 E dnsmasq : interface given in set_interfaces: 'bt-pan' has no ifindex; ignoring&lt;BR /&gt;04-09 13:28:16.654 12346 12346 I dnsmasq : Closing listener [fe80::224e:f6ff:fe9e:a00e%18]:53&lt;BR /&gt;04-09 13:28:16.654 12346 12346 I dnsmasq : Closing listener [192.168.44.1]:53&lt;BR /&gt;04-09 13:28:16.656 3002 3044 D CommandListener: Setting iface cfg&lt;BR /&gt;04-09 13:28:16.658 3176 3198 E Tethering: [bt-pan] ERROR Failed to clear IPv4 address on interface bt-pan: java.lang.IllegalStateException: command '427 interface setcfg bt-pan 0.0.0.0 0' failed with '400 427 Failed to clear address (No such device)'&lt;BR /&gt;04-09 13:28:16.661 3176 3176 W TelecomManager: Telecom Service not found.&lt;BR /&gt;04-09 13:28:16.663 3002 3044 D TetherController: Stopping tethering services&lt;BR /&gt;04-09 13:28:16.665 12346 12346 I dnsmasq : exiting on receipt of SIGTERM&lt;BR /&gt;04-09 13:28:16.666 3002 3044 D TetherController: Tethering services stopped&lt;BR /&gt;04-09 13:28:16.667 23262 23284 D BluetoothPanServiceJni: connection_state_callback(L82): state:2, local_role:1, remote_role:2&lt;BR /&gt;04-09 13:28:16.667 3002 3044 D TetherController: Setting IP forward enable = 0&lt;BR /&gt;04-09 13:28:16.667 23262 23284 I btif_av : btif_av_acl_disconnected: Peer 7c:d3:0a:41:a4:eb : ACL Disconnected&lt;BR /&gt;04-09 13:28:16.667 23262 23262 D PanService: handlePanDeviceStateChange preState: 2 state: 0&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I btif_av : BtifAvPeer *BtifAvSource::FindOrCreatePeer(const RawAddress &amp;amp;, tBTA_AV_HNDL): Create peer: peer_address=7c:d3:0a:41:a4:eb bta_handle=0x41 peer_id=0&lt;BR /&gt;04-09 13:28:16.667 23262 23262 I PanService: remote(PANU) is disconnected, Remaining connected PANU devices: 0&lt;BR /&gt;04-09 13:28:16.667 23262 23262 I PanService: configureBtIface: bt-pan enable: false&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1&lt;BR /&gt;04-09 13:28:16.667 23262 23300 W bt_btif : btif_av_get_peer_sep: No active peer found&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF&lt;BR /&gt;04-09 13:28:16.667 23262 23300 I btif_av : DeleteIdlePeers: Deleting idle peer: 7c:d3:0a:41:a4:eb bta_handle=0x41&lt;BR /&gt;04-09 13:28:16.668 3176 3313 D ConnectivityService: releasing NetworkRequest [ REQUEST id=70, [ Capabilities: INTERNET&amp;amp;NOT_RESTRICTED&amp;amp;TRUSTED&amp;amp;NOT_VPN Unwanted: ] ] (release request)&lt;BR /&gt;04-09 13:28:16.672 23262 23262 D PanService: Pan Device state : device: 7C:D3:0A:41:A4:EB State:2-&amp;gt;0&lt;BR /&gt;04-09 13:28:16.673 23262 23262 D BluetoothMapService: onReceive&lt;BR /&gt;04-09 13:28:16.673 23262 23262 D BluetoothMapService: onReceive: android.bluetooth.device.action.ACL_DISCONNECTED&lt;BR /&gt;04-09 13:28:16.674 3520 3520 D CachedBluetoothDevice: onProfileStateChanged: profile PAN, device=7C:D3:0A:41:A4:EB, newProfileState 0&lt;BR /&gt;04-09 13:28:16.675 23262 23262 D AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 W AdapterProperties: PROFILE_CONNECTION_STATE_CHANGE: unexpected transition for profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 3381 3535 D CachedBluetoothDevice: onProfileStateChanged: profile PAN, device=7C:D3:0A:41:A4:EB, newProfileState 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 D AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: 7C:D3:0A:41:A4:EB: 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.676 23262 23262 W AdapterProperties: ADAPTER_CONNECTION_STATE_CHANGE: unexpected transition for profile=5, device=7C:D3:0A:41:A4:EB, 2 -&amp;gt; 0&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: the mrvl nl80211 driver cmd is BTCOEXSCAN-STOP&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: the nl80211 driver cmd len is 15&lt;BR /&gt;04-09 13:28:16.678 23196 23196 I wpa_supplicant: Use private command =====&lt;BR /&gt;04-09 13:28:25.084 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:35.324 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:42.980 3029 3143 E display : threadLoop invalid uevent change@/devices/virtual/xt_idletimer/timers&lt;BR /&gt;04-09 13:28:45.564 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:28:55.804 3029 3143 I chatty : uid=1000(system) HWC-UEvent-Thre identical 1 line&lt;BR /&gt;04-09 13:29:06.044 3029 3143 E display : threadLoop invalid uevent change@/devices/platform/30a40000.i2c/i2c-2/2-006a/power_supply/battery&lt;BR /&gt;04-09 13:29:07.184 3029 3143 E display : threadLoop invalid uevent &lt;A href="mailto:change@/devices/virtual/xt_idletimer/timers" target="_blank"&gt;change@/devices/virtual/xt_idletimer/timers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 02:15:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-9-Bluetooth-Tethering-Will-disconnect/m-p/1260113#M172397</guid>
      <dc:creator>peterchao</dc:creator>
      <dc:date>2021-04-12T02:15:13Z</dc:date>
    </item>
  </channel>
</rss>

