2540端用的 central 的demo(协议站版本1.4)基本无改动;
iphone5 在lightblue 软件中设置为从机,建立0xfff0 - 0xfff1;
二者可以建立连接并可以对0xfff1进行读写操作,几十秒后 iphone 会发送一个终止连接的请求(编码为0x13 远端用户终止)给 2540主机,然后连接断开;
iphone 发送的终止请求的原因是什么?如何解决 3q
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.
2540:使用的BTool ;
connection settings:min interval = 100ms, max interval = 200ms, latency = 0,supervision timeout = 4s
IPhone :LightBlue 中配置為peripheral
2540 和 IPhone 建立連接之後,不做任何操作,幾十秒后,IPhone 會發送一個 Terminatge Ind 給2540 ,然後鏈接斷開,IPhone開始廣播,截圖如下:
注:如果 始能IPhone端 Notification屬性的Characteristics后,則不會自動發送 Terminate Ind
照你这样说,iphone为GATT的server端,cc2540为GATT的server端吧。cc2540主动使能iphone端的notification,可不可以?