console:/ # logcat -G 64M console:/ # logcat | grep -E "HAL_frontpanel|bt_" 01-25 14:28:23.157 956 1386 W bt_btif : bta_dm_acl_change info: 0x0 01-25 14:28:23.158 956 1069 D bt_btif_dm: remote version info [8c:8e:f2:94:eb:0c]: 0, 0, 0 01-25 14:28:23.245 956 1386 E bt_btm : btm_establish_continue: Already link is up 01-25 14:28:23.246 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x004b:0x0107 01-25 14:28:23.381 956 1069 I bt_stack: [INFO:btif_config.cc(647)] hash_file: Disabled for multi-user 01-25 14:28:23.381 956 1069 I bt_stack: [INFO:btif_config.cc(689)] write_checksum_file: Disabled for multi-user, since config changed removing checksums. 01-25 14:28:23.417 1738 1738 D SkbLogService: {"device_info_bt":{"bt_device_name":"chiyiaoZzzz","bt_mac":"8C:8E:F2:94:EB:0C","bt_device_profile":"OPP","bt_status":1},"log_info_type":"Q1","log_time":"20210125142823.023"} 01-25 14:28:23.441 956 1386 I bt_stack: [INFO:gatt_api.cc(947)] GATT_Register 134a6924-7f91-1ec6-0520-bf1ddb6523e6 01-25 14:28:23.441 956 1386 I bt_stack: [INFO:gatt_api.cc(967)] allocated gatt_if=7 01-25 14:28:23.443 956 1069 D bt_btif_config: btif_get_address_type: Device [40:19:20:20:7c:c2] address type 0 01-25 14:28:23.443 956 1069 D bt_btif_config: btif_get_device_type: Device [40:19:20:20:7c:c2] type 2 01-25 14:28:23.443 956 1386 I bt_stack: [INFO:gatt_api.cc(1105)] GATT_Connectgatt_if=7, address=40:19:20:20:7c:c2 01-25 14:28:23.449 956 1069 D bt_bta_gattc: bta_gattc_get_gatt_db 01-25 14:28:23.651 956 1386 I bt_stack: [INFO:btsnoop.cc(323)] clear_l2cap_whitelist: Clearing whitelist from l2cap channel. conn_handle=2 cid=75:263 01-25 14:28:23.759 956 1386 I bt_stack: [INFO:gatt_api.cc(1219)] GATT_Disconnect conn_id=0x0007 01-25 14:28:23.759 956 1386 I bt_stack: [INFO:gatt_api.cc(1164)] GATT_CancelConnect: gatt_if:7, address: 40:19:20:20:7c:c2, direct:0 01-25 14:28:23.759 956 1386 E bt_stack: [ERROR:bta_gattc_act.cc(423)] bta_gattc_cancel_bk_conn: failed 01-25 14:28:24.237 956 1386 E bt_btm : btm_acl_role_changed: peer 8c:8e:f2:94:eb:0c tBTM_SEC_DEV:0xc06f9b88 rs_disc_pending=0 01-25 14:28:24.237 956 1386 I bt_bta_dm: handle_role_change: peer 8c:8e:f2:94:eb:0c info:0x0 new_role:0x1 dev count:2 hci_status=0 01-25 14:28:24.237 956 1386 W bt_btif : bta_dm_check_av:2 01-25 14:28:24.237 956 1386 W bt_btif : [0]: state:1, info:x0, avoid_rs 0 01-25 14:28:24.237 956 1386 W bt_btif : [1]: state:1, info:x0, avoid_rs 0 01-25 14:28:24.240 956 1069 W bt_btif : btif_dm_upstreams_evt: unhandled event (14) 01-25 14:28:24.405 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x004c:0x0207 01-25 14:28:24.406 956 1386 I bt_stack: [INFO:gatt_main.cc(579)] Connection indication cid = 77 01-25 14:28:24.468 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x004e:0x0308 01-25 14:28:24.469 956 1386 I bt_bta_av: bta_av_conn_cback: conn_cback bd_addr: 8c:8e:f2:94:eb:0c 01-25 14:28:24.469 956 1386 I bt_bta_av: bta_av_sig_chg: AVDT_CONNECT_IND_EVT: peer 8c:8e:f2:94:eb:0c selected lcb_index 0 01-25 14:28:24.469 956 1386 W bt_btif : bta_av_rc_create: Skipping RC creation for the old AVRCP profile 01-25 14:28:24.469 956 1386 W bt_bta_av: OnConnected: Failed to read cached peer AVDTP version for 8c:8e:f2:94:eb:0c 01-25 14:28:24.469 956 1386 W bt_btif : bta_dm_rm_cback:2, status:0 01-25 14:28:24.469 956 1386 W bt_btif : new conn_srvc id:18, app_id:0 01-25 14:28:24.470 956 1386 W bt_btif : btif_av_get_peer_sep: No active peer found 01-25 14:28:24.470 956 1386 I bt_btif_a2dp: btif_a2dp_on_idle: ## ON A2DP IDLE ## peer_sep = 1 01-25 14:28:24.470 956 1386 W bt_btif : btif_av_get_peer_sep: No active peer found 01-25 14:28:24.470 956 1386 I bt_btif_a2dp_source: btif_a2dp_source_on_idle: state=STATE_OFF 01-25 14:28:24.470 956 1386 I bt_bta_av: BTA_AvOpen: peer 8c:8e:f2:94:eb:0c handle:0x41 use_rc=true sec_mask=0x12 uuid=0x110b 01-25 14:28:24.524 956 1386 I bt_stack: [INFO:connection_handler.cc(304)] void bluetooth::avrcp::ConnectionHandler::AcceptorControlCb(uint8_t, uint8_t, uint16_t, const RawAddress *): handle=0x01 result=000000 addr=8c:8e:f2:94:eb:0c 01-25 14:28:24.525 956 1386 I bt_stack: [INFO:connection_handler.cc(310)] void bluetooth::avrcp::ConnectionHandler::AcceptorControlCb(uint8_t, uint8_t, uint16_t, const RawAddress *): Connection Opened Event 01-25 14:28:24.525 956 1386 I bt_stack: [INFO:connection_handler.cc(322)] void bluetooth::avrcp::ConnectionHandler::AcceptorControlCb(uint8_t, uint8_t, uint16_t, const RawAddress *): Performing SDP on connected device. address=8c:8e:f2:94:eb:0c 01-25 14:28:24.525 956 1386 I bt_stack: [INFO:connection_handler.cc(161)] virtual bool bluetooth::avrcp::ConnectionHandler::SdpLookup(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback) 01-25 14:28:24.525 956 1386 I bt_stack: [INFO:connection_handler.cc(185)] Connect to device ff:ff:ff:ff:ff:ff 01-25 14:28:24.525 956 1386 I bt_stack: [INFO:connection_handler.cc(206)] virtual bool bluetooth::avrcp::ConnectionHandler::AvrcpConnect(bool, const RawAddress &): handle=0000 status= 000000 01-25 14:28:24.528 956 1386 E bt_stack: [ERROR:bta_gattc_act.cc(1240)] bta_gattc_process_indicate: indication/notif for unknown device, ignore 01-25 14:28:24.528 956 1386 I chatty : uid=1002(bluetooth) bt_main_thread identical 2 lines 01-25 14:28:24.528 956 1386 E bt_stack: [ERROR:bta_gattc_act.cc(1240)] bta_gattc_process_indicate: indication/notif for unknown device, ignore 01-25 14:28:24.533 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x0050:0x050a 01-25 14:28:24.557 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x004f:0x060b 01-25 14:28:24.568 956 1386 I bt_stack: [INFO:connection_handler.cc(304)] void bluetooth::avrcp::ConnectionHandler::AcceptorControlCb(uint8_t, uint8_t, uint16_t, const RawAddress *): handle=0x01 result=000000 addr=8c:8e:f2:94:eb:0c 01-25 14:28:24.568 956 1386 I bt_stack: [INFO:connection_handler.cc(368)] void bluetooth::avrcp::ConnectionHandler::AcceptorControlCb(uint8_t, uint8_t, uint16_t, const RawAddress *): Browse Open Event 01-25 14:28:24.568 956 1386 I bt_stack: [INFO:device.cc(66)] 8c:8e:f2:94:eb:0c : void bluetooth::avrcp::Device::SetBrowseMtu(uint16_t): browse_mtu = 669 01-25 14:28:24.618 1508 1537 I QSM : QSM : qsm_log_switch_parse_others type : BT_PAIRING, : {"device_info_bt":{"bt_device_name":"chiyiaoZzzz","bt_mac":"8C:8E:F2:94:EB:0C","bt_device_profile":"OPP","bt_status":1},"log_info_type":"Q1","log_time":"20210125142823.023"} 01-25 14:28:24.619 1508 1537 I QSM : "bt_device_name" : "chiyiaoZzzz", 01-25 14:28:24.619 1508 1537 I QSM : "bt_device_profile" : "OPP", 01-25 14:28:24.619 1508 1537 I QSM : "bt_mac" : "8C:8E:F2:94:EB:0C", 01-25 14:28:24.619 1508 1537 I QSM : "bt_status" : 1 01-25 14:28:24.976 956 1386 W bt_sdp : process_service_search_attr_rsp 01-25 14:28:25.045 956 1386 W bt_bta_av: OnConnected: Failed to read cached peer AVDTP version for 8c:8e:f2:94:eb:0c 01-25 14:28:25.045 956 1386 D bt_bta_av: bta_av_ci_setconfig: bta_av_handle=65 err_code=0 category=0 num_seid=0 recfg_needed=false avdt_handle=2 01-25 14:28:25.045 956 1386 I bt_btif_a2dp_sink: btif_a2dp_sink_update_decoder 01-25 14:28:25.046 956 1402 I bt_btif_a2dp_sink: btif_a2dp_sink_decoder_update_event 01-25 14:28:25.163 956 1386 I bt_stack: [INFO:btsnoop.cc(323)] clear_l2cap_whitelist: Clearing whitelist from l2cap channel. conn_handle=2 cid=79:1547 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(412)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): SDP lookup callback received 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(431)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c supports remote control 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(440)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c peer avrcp version=0x0104 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(446)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c supports metadata 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(452)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t) Get Supported categories 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(456)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t)Get Supported categories SDP ATTRIBUTES != null 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(460)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c supports advanced control 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(479)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c supports remote control target 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(485)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t): Device 8c:8e:f2:94:eb:0c peer avrcp target version=0x0106 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(493)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t) Get Supported categories 01-25 14:28:25.164 956 1386 I bt_stack: [INFO:connection_handler.cc(497)] void bluetooth::avrcp::ConnectionHandler::SdpCb(const RawAddress &, bluetooth::avrcp::ConnectionHandler::SdpCallback, tSDP_DISCOVERY_DB *, uint16_t)Get Supported categories SDP ATTRIBUTES != null 01-25 14:28:25.716 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x0051:0x070b 01-25 14:28:25.920 956 1386 W bt_btif : bta_dm_rm_cback:2, status:0 01-25 14:28:25.920 956 1386 I bt_bta_av: bta_av_chk_start: peer 8c:8e:f2:94:eb:0c channel:64 bta_av_cb.audio_open_cnt:1 role:0x1 features:0x825b start:false 01-25 14:28:25.920 956 1386 W bt_btif : bta_av_open_rc: Using the new AVRCP Profile 01-25 14:28:25.920 956 1386 I bt_stack: [INFO:avrcp_service.cc(334)] void bluetooth::avrcp::AvrcpService::ConnectDevice(const RawAddress &): address=8c:8e:f2:94:eb:0c 01-25 14:28:25.920 956 1386 I bt_stack: [INFO:connection_handler.cc(109)] Attempting to connect to device 8c:8e:f2:94:eb:0c 01-25 14:28:25.921 956 1386 W bt_stack: [WARNING:connection_handler.cc(113)] Already connected to device with address 8c:8e:f2:94:eb:0c 01-25 14:28:26.171 956 1386 I bt_stack: [INFO:btsnoop.cc(289)] whitelist_l2c_channel: Whitelisting l2cap channel. conn_handle=2 cid=0x0052:0x080c 01-25 14:28:27.049 956 1386 I bt_stack: [INFO:btsnoop.cc(323)] clear_l2cap_whitelist: Clearing whitelist from l2cap channel. conn_handle=2 cid=82:2060 01-25 14:28:28.546 956 1386 W bt_btif : bta_av_open_rc: Using the new AVRCP Profile 01-25 14:28:28.546 956 1386 I bt_stack: [INFO:avrcp_service.cc(334)] void bluetooth::avrcp::AvrcpService::ConnectDevice(const RawAddress &): address=8c:8e:f2:94:eb:0c 01-25 14:28:28.546 956 1386 I bt_stack: [INFO:connection_handler.cc(109)] Attempting to connect to device 8c:8e:f2:94:eb:0c 01-25 14:28:28.546 956 1386 W bt_stack: [WARNING:connection_handler.cc(113)] Already connected to device with address 8c:8e:f2:94:eb:0c 01-25 14:28:28.546 956 1386 I bt_bta_av: bta_av_chk_2nd_start: peer 8c:8e:f2:94:eb:0c channel:64 bta_av_cb.audio_open_cnt:1 role:0x1 features:0x825b 01-25 14:28:37.011 2309 2740 D Nog : [insert] log : {"log_dt":"1611556117010","srl_no":"5C:BA:EF:FE:BF:80","dvc_nm":"BFX-UA300","dvc_id":"","os":"MBL_AND","fmw_vsn":"19.522.41","app_vsn":"3.6.9","svr_typ":"STG","log_typ_cd":"N01001","rst_vu":"n_ssid:,n_rssi:0,n_dns_check:true,n_wifi_connection:true,n_dw_connection:true,d_volume_level:10,d_bt_on:true,d_bt_connection:true,d_lamp_on:false,d_lamp_color:,d_lamp_level:0"} 01-25 14:28:40.997 457 457 I HAL_frontpanel: HAL_FrontPanelSetLedState, 66, in, LED idx 3, state 2 01-25 14:28:41.099 457 457 I HAL_frontpanel: HAL_FrontPanelSetLedState, 68, out 01-25 14:28:50.819 457 457 I HAL_frontpanel: HAL_FrontPanelSetLedState, 66, in, LED idx 3, state 2 01-25 14:28:50.924 457 457 I HAL_frontpanel: HAL_FrontPanelSetLedState, 68, out