SnapDragonfly / SnapAirUnit

SnapAirUnit aims to provide an basic kit connecting open-source flight controller and snap/python programming language.
GNU General Public License v3.0
1 stars 2 forks source link

ERROR BT_APPL: bta_dm_pm_btm_status hci_status=36 #12

Open lida2003 opened 1 year ago

lida2003 commented 1 year ago

When using BT SPP UART for a long time connection, about 60 seconds or more. Log file shows "BT_APPL: bta_dm_pm_btm_status hci_status=36", which is an "Error" log.

I (150873) BTDM_INIT: BT controller compile version [8020d24] I (151433) spp: Own address:[24:6f:28:b3:f3:1e] I (151433) evt: Switch to 2-------- ret = 0 .........W (159903) BT_HCI: hcif conn complete: hdl 0x80, st 0x0 W (160143) BT_APPL: new conn_srvc id:26, app_id:255 W (167933) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x24 E (167933) BT_APPL: bta_dm_pm_btm_status hci_status=36 .......W (175413) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(400 800) .W (175863) BT_HCI: hcif mode change: hdl 0x80, mode 2, intv 792, status 0x0 ............................W (204083) BT_HCI: hci cmd send: unsniff: hdl 0x80 .W (205073) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x0 W (205073) BT_RFCOMM: port_rfc_closed RFCOMM connection in server:1 state 2 closed: Closed (res: 19) W (205093) BT_RFCOMM: rfc_find_lcid_mcb LCID reused LCID:0x41 current:0x0 W (205093) BT_RFCOMM: RFCOMM_DisconnectInd LCID:0x41 ...W (208253) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13 ....W (212333) BT_HCI: hcif conn complete: hdl 0x81, st 0x0 .W (212603) BT_APPL: new conn_srvc id:26, app_id:255 .......W (220303) BT_HCI: hci cmd send: sniff: hdl 0x81, intv(400 800) W (220333) BT_HCI: hcif mode change: hdl 0x81, mode 0, intv 0, status 0x24 E (220333) BT_APPL: bta_dm_pm_btm_status hci_status=36 W (232073) BT_RFCOMM: rfc_find_lcid_mcb LCID reused LCID:0x41 current:0x0rver:1 state 2 closed: Closed (res: 19) W (232083) BT_RFCOMM: RFCOMM_DisconnectInd LCID:0x41 ...W (235253) BT_HCI: hcif disc complete: hdl 0x81, rsn 0x13 .....W (240273) BT_HCI: hcif conn complete: hdl 0x80, st 0x0 .W (240573) BT_APPL: new conn_srvc id:26, app_id:255 .......W (248293) BT_HCI: hci cmd send: sniff: hdl 0x80, intv(400 800) W (248323) BT_HCI: hcif mode change: hdl 0x80, mode 0, intv 0, status 0x24 E (248323) BT_APPL: bta_dm_pm_btm_status hci_status=36 ...W (250993) BT_RFCOMM: port_rfc_closed RFCOMM connection in server:1 state 2 closed: Closed (res: 19) W (251003) BT_RFCOMM: rfc_find_lcid_mcb LCID reused LCID:0x41 current:0x0 W (251013) BT_RFCOMM: RFCOMM_DisconnectInd LCID:0x41 ...W (254143) BT_HCI: hcif disc complete: hdl 0x80, rsn 0x13