如题,最近在研究蓝牙,学习BLE Software Developer's Guide.pdf,其中关于GATT层的解释有client和server的概念。
说来惭愧,之前搞MQTT的时候,遇到过这个概念,当时就没弄清楚,现在又遇到,还是很懵
请问:
1.这两个角色是对立的吗?有上下层的关系吗?比如server的角色是位于通讯的上层之类的
2.如何根据自己的应用来确定GATT应初始化为client还是server?
暂时先这么多吧,期待大神的回答!笔芯!
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.
通俗地说,GATT client和server是通信双方的关系,GATT 服务端(Server)用于维持ATT 的查找表以及 service 和 characteristic 的定义。 GATT 客户端(Client)向 Server 发起请求进行数据通信
这边有GATT role的详解,参考一下: www.race604.com/.../