iOS中是否有任何方式发送/接收自定义HEX数据,除了使用服务&特点?
解决方法 不,这是不可能的,但其原因不是iOS,而是“服务”和“特征”只是BLE协议定义的一部分.官方规格:
https://developer.bluetooth.org/TechnologyOverview/Pages/BLE.aspx
总结Generic Attribute Profile
The latest Bluetooth specification uses a service-based architecture
based on the attribute protocol (ATT). All communication in low energy
takes place over the Generic Attribute Profile (GATT). An application
or another profile uses the GATT profile so a clIEnt and server can
interact in a structured way.The server contains a number of attributes,and the GATT Profile defines how to use the Attribute Protocol to discover,read,write and obtain indications. These features support a service-based architecture. The services are used as defined in the profile specifications. GATT enables you to expose service and characteristics defined in the profile specification.
以上是内存溢出为你收集整理的iOS BLE蓝牙 – 发送/接收HEX数据全部内容,希望文章能够帮你解决iOS BLE蓝牙 – 发送/接收HEX数据所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)