请问,如何设置SimpleBLEPeripheral工程不进行回连?
希望得到各位的解答,谢谢!
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.
请问,如何设置SimpleBLEPeripheral工程不进行回连?
希望得到各位的解答,谢谢!
在连接断开后添加下面代码就可以 不广播l:
uint8_t advertEnabled = FALSE; // Turn off Advertising
// Disable connectable advertising.
GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),
&advertEnabled);