Bluetooth imx8mp evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bluetooth imx8mp evk

213 Views
shiva141
Contributor I

Hi ,

We are using prebuilt Android 13 image downloaded from the NXP website.

Image :android-13.0.0_1.2.0_image_8mpevk.tar

Target :imx8mp evk

1) We can Scan and Pair Bluetooth phone devices using the Android UI.

2) The phone device immediately disconnects

We captured the logcat and attached during the Bluetooth activity .

04-24 12:44:25.081 926 926 D BluetoothAdapter: getActiveDevices(profile= HEADSET)
04-24 12:44:25.082 855 1391 I BluetoothAdapterService: getActiveDevices: Headset device: null
04-24 12:44:25.086 564 681 E BpfInterfaceMapUpdater: Unable to get InterfaceParams for bt-pan
04-24 12:44:25.088 855 1391 I BluetoothAdapterService: getActiveDevices: Headset device: null
04-24 12:44:25.096 747 941 D BluetoothSap: getConnectionState(C4:A0:52:79:F8:34)
04-24 12:44:25.099 747 941 D BluetoothSap: getConnectionState(C4:A0:52:79:F8:34)
04-24 12:44:25.103 747 747 D BluetoothSap: getConnectionState(C4:A0:52:79:F8:34)
04-24 12:44:25.105 855 1074 D BluetoothPanServiceJni: connection_state_callback(L79): state:2, local_role:2, remote_role:1
04-24 12:44:25.105 855 1102 I bluetooth: packages/modules/Bluetooth/system/gd/hci/acl_manager/classic_impl.h:670 on_link_supervision_timeout_changed: UNIMPLEMENTED called
04-24 12:44:25.082 564 564 W NetworkStats: type=1400 audit(0.0:102): avc: denied { sys_module } for capability=16 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=capability permissive=0 bug=b/228030183
04-24 12:44:25.106 855 855 D PanService: handlePanDeviceStateChange preState: 2 state: 0
04-24 12:44:25.106 855 855 D PanService: handlePanDeviceStateChange LOCAL_PANU_ROLE:REMOTE_NAP_ROLE state = 0, prevState = 2
04-24 12:44:25.107 747 747 D BluetoothSap: getConnectionState(C4:A0:52:79:F8:34)
04-24 12:44:25.108 855 855 D Bluetooth Tethering: Unregistering NetworkFactory


Kindly provide your recommendation.

0 Kudos
2 Replies

183 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Please make sure that you apps in Bluetooth are working interface other devices to it, apparently this eeror is caused by the phone.

Regards

 

0 Kudos

174 Views
shiva141
Contributor I

Hello,

 

Thanks for the reply

Mobile device are able to connect with other Bluetooth devices ,Connection is unstable when we try with imx8mp EVK

From the log, we observed By default android BSP is trying Bluetooth Tethering  

 

Scenario A) When Mobile data ON in Phone and  we try to connect ,Bluetooth connection is stable between Phone and imx8mp EVK

 

Scenario B) When Mobile data if OFF in Phone ,when we try to connect it disconnected Immediately

 

According to the logs and the aforementioned conditions, the mobile device is disconnected if Bluetooth tethering is unsuccessful.

Please provide your thoughts.


Would turn off   Bluetooth tethering resolve this issue.
If yes , please share how to turn off  Bluetooth tethering

0 Kudos