从 GATT 客户端向服务器发送(简单)数据流
Sending (simple) data streams from GATT client to server
我有一块使用 TI 低功耗蓝牙芯片 (CC2541) 的 PCB。我希望很少(一次 day/week)从客户端(例如 phone)向服务器(CC2541)发送一些简单的天气数据。是否需要为此实施自定义配置文件?是否可以修改已建立的配置文件以处理数据,例如具有更大属性的邻近配置文件?
如果每种类型的数据都需要一个profile,就显得比较笨拙了。 sending/handling 简单数据流的规范方法是什么?
谢谢
其中 link, you can see the full list of Bluetooth SIG profiles. The services and characteristics in these profiles have 16 bit UUIDs that are defined by SIG. For inter-operability between vendors, it is recommended to use SIG defined profiles. For example let's think about a mobile application developer who is developing an app that collects glucose level from medical devices. If Glucose profile 未由 Bluetooth SIG 定义,开发人员将不得不考虑每个供应商的实现。 Bluetooth SIG 定义的配置文件是一种用于互操作性目的的规范。 Bluetooth SIG 定义的配置文件的数量已增加,列表自蓝牙版本 4 以来已更新。
对于您的情况,您必须实施自己的自定义配置文件。所有自定义服务和特性都应具有 128 位 UUID。我建议从 Bluetooth SIG 网站上阅读一些资料。 Smart Starter Kit and Application Accelerator Kit 包含关于自定义配置文件和源代码示例的非常好的文档。
我有一块使用 TI 低功耗蓝牙芯片 (CC2541) 的 PCB。我希望很少(一次 day/week)从客户端(例如 phone)向服务器(CC2541)发送一些简单的天气数据。是否需要为此实施自定义配置文件?是否可以修改已建立的配置文件以处理数据,例如具有更大属性的邻近配置文件?
如果每种类型的数据都需要一个profile,就显得比较笨拙了。 sending/handling 简单数据流的规范方法是什么?
谢谢
其中 link, you can see the full list of Bluetooth SIG profiles. The services and characteristics in these profiles have 16 bit UUIDs that are defined by SIG. For inter-operability between vendors, it is recommended to use SIG defined profiles. For example let's think about a mobile application developer who is developing an app that collects glucose level from medical devices. If Glucose profile 未由 Bluetooth SIG 定义,开发人员将不得不考虑每个供应商的实现。 Bluetooth SIG 定义的配置文件是一种用于互操作性目的的规范。 Bluetooth SIG 定义的配置文件的数量已增加,列表自蓝牙版本 4 以来已更新。
对于您的情况,您必须实施自己的自定义配置文件。所有自定义服务和特性都应具有 128 位 UUID。我建议从 Bluetooth SIG 网站上阅读一些资料。 Smart Starter Kit and Application Accelerator Kit 包含关于自定义配置文件和源代码示例的非常好的文档。