纯小白, 考虑了两种方式,请大牛指教:
1. 通过bluetooth socket方式在主从之间传递数据。 当前2541的SDK是否支持socket?
2. 定义好service以及特征, 主机通过设置特征值方式告诉从机是保存信息还是读取信息,如果是保存则从机把主机写的信息保存起来,如果是读取,则从机把保存的信息读出来,更新到特征值上,通知主机读取特征值。
两种方式都不太爽,请教更顺畅的实现方式。
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.