我从sample-128修改为外设,并为我的应用程序工作得很好。最近通过传感器检测更新了广告数据,效果也很好。但有时连接无法回应!!
今天,当我试图通过App/iPhone向DA14580设备发送命令时,没有任何响应,但是我可以看到广告的数据。换句话说,广告效果很好。我尝试使用LightBlue来测试它,结果是一样的(这意味着我的应用程序工作得很好)。有一个来自LightBlue的报告“被询问时外设断开”。 After reset DA14580, it works very well again and this case is very difficult to duplicate but it's a fatal issue for a product.
I can't find any issue from my side. I think there may be a bug somewhere for disconnection. I'm not sure if there is any problem from advertising data updated by stop_advertising and start_adverting, but the advertising data is sent and can be received well by my app. Please help!
Thanks!