OVMS3-idf/components/bt/bluedroid/bta/sys
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 : run astyle handle the code files 2016-11-25 02:10:15 +08:00
bta_sys_conn.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00
bta_sys_main.c component/bt: free timer resources after using them 2018-02-01 13:52:19 +08:00
utl.c component/bt : remove all GKI reference 2017-08-23 15:29:30 +08:00