tomaskovacik / BK3254

arduino library for A2DP bluetooth module based on BK3254 chip from Beken Corp (F-6888) and BK3266 based module F-6988 from HYT named HY5066 (not HY5066SR)
GNU General Public License v3.0
54 stars 18 forks source link

reset when module did not respond in time #1

Closed tomaskovacik closed 5 years ago

tomaskovacik commented 5 years ago

this require that code wait for responce in timed loop and if loop reach end without responce from module, initialize reset of module

or

make note of last send command for which we should have receive responce in some defined time, and check in function getNextEventFromBT if we are not over defined timeout

tomaskovacik commented 5 years ago

this should be based on datasheet, but no mentioned in datasheet about timeout in which module should responce