OVMS3-idf/components/bt/bluedroid/stack/rfcomm
wangmengyang fab14106c8 component/bt: free timer resources after using them
Bluedroid use a set of timer function pairs such as btu_start_timer/btu_stop_timer, btu_sys_start_timer/btu_sys_stop_timer for use, in a lack of timer release functions. Thus the timers may be exhausted after some event sequence such as repetition of connection/reconnection with different devices. The maximum timer number used in bluedroid is given by ALARM_CBS_NUM which is 30 for now. This bugfix borrowed some update from bluedroid in Andoroid 7.0, which add timer release functions which promote the recycle of timer resources.

# Conflicts:
#	components/bt/bluedroid/stack/btu/btu_task.c
#	components/bt/bluedroid/stack/gatt/gatt_main.c
#	components/bt/bluedroid/stack/rfcomm/port_utils.c
#	components/bt/bluedroid/stack/rfcomm/rfc_utils.c
2018-02-01 13:52:19 +08:00
..
include component/bt: free timer resources after using them 2018-02-01 13:52:19 +08:00
port_api.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
port_rfc.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
port_utils.c component/bt: free timer resources after using them 2018-02-01 13:52:19 +08:00
rfc_l2cap_if.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
rfc_mx_fsm.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
rfc_port_fsm.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
rfc_port_if.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
rfc_ts_frames.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
rfc_utils.c component/bt: free timer resources after using them 2018-02-01 13:52:19 +08:00