8.2.2 Microchip OTAU Profile
The Bluetooth Low Energy OTAU profile is a GATT-based profile. It is designed to perform device firmware updates via OTA. In general, the mobile acts as the OTAU client role and the Bluetooth Low Energy device as the OTAU server role. OTAU Service (OTAS) is a Microchip proprietary service with a 16-byte service UUID, and it is mandatory for the OTA server.
There must be only one instance of the OTAS in a device. The OTAS must be instantiated as a primary service.
The service Universally Unique Identifier (UUID) value must be set to 4D434850-253D-46B3-9923-E61B8E8215D7
.
There are three characteristics defined under the service.
Characteristic Name | Universally Unique Identifier (UUID) |
---|---|
OTA Feature | 4D434850-22E4-4246-AF03-0C4A2F906358 |
OTA Data | 4D434850-34D9-40A6-BA7E-56F57C8CD478 |
OTA Control Point | 4D434850-9327-45DE-8882-C97F39028A76 |
Characteristic Name | Requirement | Mandatory Properties | Optional Properties | Security Permissions |
---|---|---|---|---|
OTA Feature | M | Read | None | Encryption required |
OTA Data | M | Write Without Response, Notify | None | Encryption required |
OTA control point | M | Write, Notify | None | Encryption required |
- OTAU feature characteristics – Use it to expose the supported image type to the device. Its content carries the supported image type:
- Firmware image
- Meta data
- OTAU data characteristics – Allows the OTAU
client to send upgradable image data to the OTAU
server.
Properties:
- Write
- WithoutResponse
- Notify
- OTAU control point – The OTAU client uses it to
issue the operational requests to the OTAU server.
Notification of this control point is used by the
server to perform a dedicated operation. The
operation includes the following:
- Firmware update request
- Firmware update start
- Firmware update complete
- Device reset request
Properties:
- Write
- Notify