CSRmesh 2.1 Home Automation简介(二)
1.1.3 Services Supported in GATT Server Role
The applications use the following services:
■ Mesh Control Service v2.0
■ GATT Service
■ GAP Service
■ CSR OTA Update Application Service v7 (Supported only on CSR101x platform)
■ Generic Application Interface Architecture (GAIA) Service (Supported only on CSR102x
platform)
The Mesh Control Service is mandated by the CSRmesh Control Profile. The GATT and GAP
Services are mandated by Bluetooth Core Specification Version 4.1.
Figure 1-1 shows the services supported in the GATT Server Role.
这些应用程序使用以下服务:■网格控制服务v2.0
■GATT服务
■GAP服务
■CSR OTA更新应用程序服务v7(仅在CSR101x平台上支持)
■通用应用程序接口体系结构(GAIA)服务(仅支持CSR102x
平台)
网格控制服务由CSRmesh控制配置文件强制执行。 GATT和GAP
服务由蓝牙核心规范版本4.1强制执行。
图1-1显示了GATT服务器角色中支持的服务。
Figure 1-1 Primary services
OTA Update Application Service
The OTA Update Application Service enables wireless update of the application software. A PC or mobile phone application provided by the device manufacturer enables the end-user to keep their device up-to-date with the latest features and bug fixes. To enable a device for future OTA updates, the application needs to:
■ Add OTA Update functionality to the on-chip application
■ Add support for the CSR OTA Update Application Service and GATT Services to an application
■ Configure the on-chip bootloader
The OTA Update bootloader image must be present on the device and configured to contain the correct device name and optional shared authentication key. When the device is enabled for OTA Update, the µEnergy Over-the-Air Updater host application included in the SDK can update the device. correct device name and optional shared authentication key. When the device is enabled for OTA Update, the µEnergy Over-the-Air Updater host application
included in the SDK can update the device. For more information about OTA Update, refer to the:■ Overview of OTAu system Application Note
■ Modifying an Application to Support OTA Update Application Note
This service is only supported on CSR101x platform.
OTA更新应用程序服务
OTA更新应用程序服务支持无线更新应用程序软件。由设备制造商提供的PC或移动电话应用程序可使最终用户使用最新功能和错误修复来使其设备保持最新状态。要为将来的OTA更新启用设备,应用程序需要:
■将OTA更新功能添加到片上应用程序
■将对CSR OTA更新应用程序服务和GATT服务的支持添加到应用程序
■配置片上引导加载程序
OTA更新引导加载程序映像必须存在于设备上,并配置为包含正确的设备名称和可选的共享验证**。当设备启用OTA更新时,SDK中包含的μEnergy无线更新程序主机应用程序可以更新设备。正确的设备名称和可选的共享验证**。当设备启用OTA更新时,μEnergy无线更新程序主机应用程序
包含在SDK中可以更新设备。有关OTA更新的更多信息,请参阅:
■OTAu系统概述应用笔记
■修改应用程序以支持OTA更新应用程序说明
该服务仅在CSR101x平台上受支持。