1.1 OTA Functionality Development Library

The MchpBLELib_OTA framework provides the required Over-The-Air (OTA) functions for device firmware updates. It integrates effectively into an iOS application. The MchpBLELib_OTA framework communicates with the OTA API and OTA delegate methods.

The OTAManager class implements the Bluetooth® Low Energy OTA protocol and provides a high-level API to perform firmware upgrades on an OTAU device.

Message sequence chart of the Bluetooth Low Energy OTA protocol: refer to the 2.1.4.5 OTA Firmware Update Procedures section in the MPLAB Harmony Wireless BLE.

OTA Functions

  • Scan and connect to the device. Allows scanning for a specific device by scan filter.
  • OTA process control: Start, Stop (Pause, Resume not supported).
  • OTA Image parser.

The OTALibDelegate protocol provides the required data and updates to the UI component. The OTA state changes and error messages are provided through the otaProgressUpdate and operationError methods.

For more information, refer to the framework release document (MchpBLELib.doccarchive).
Note: This document is available as part of the package file.
Figure 1-2. Framework Document
Figure 1-3. OTA Lib Document