This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何实现自动重连,master收到指令后自动发起connection request?



请教TI大神:

 实现目的:蓝牙断开后自动重连。无论断开时间的长短,slave发广播后,master就能和slave自动连接。

  思路:slave在广播包或者扫描回应中,加一些数据可以让master识别到,并且主动发起connection request。发起连接请求之后,连接就水到渠成了。(不改变master的相关代码)

  问题:此思路是否可行?若可行,需要加那些数据?

 谢谢!