请教一个问题 :
修改ti的keyfobdemo用例中:DEFAULT_ENABLE_UPDATE_REQUEST 为TRUE后。
和iphone4s连接,在 ios中调用discoverServices:nil 读取所有service时,经常无返回。
如果设DEFAULT_ENABLE_UPDATE_REQUEST为FALSE,就百分之百有返回。
请问这个是为什么?
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.
你好,
1.3 跟 1.2.1版本在处理update connection parameter上有些区别.
在peripheral.c 的函数 static void gapRole_ProcessGAPMsg( gapEventHdr_t *pMsg ) 里, 如果DEFAULT_ENABLE_UPDATE_REQUEST设为TRUE, 就有可能向iPhone发送connection parameter update的请求. 请确认这时设置的connection parameter的值, 1.3跟1.2.1的区别是这里多了一个minimum connection interval的参数. 请确认这个值是否会影响到你的app?