Bootloader Cloud Connector
Bootloader Cloud Overview
A bootloader cloud connector is an enhancement to a standard bootloader that allows it to interact with a cloud platform. It enables seamless communication between embedded devices and the cloud to support Over-The-Air (OTA) updates, remote diagnostics, and secure provisioning.
Application Interface
The below table captures the functions that are to be called from the application layer.
Function |
Description |
|---|---|
rs_bl_cloud_init |
To initializes the cloud-based services for the bootloader. |
rs_bl_cellular_file_download_process |
To processes the file download over a cellular network for the bootloader. |
rs_bl_mqtt_post_fmw_status |
To posts the firmware status to an MQTT broker. |
rs_bl_cloud_deinit |
To deinitializes the cloud-based services for the bootloader |
Error Code
Every API’s for the bootloader cloud connector returns some success or failure values. Please refer below section,
Implementation Guide
This section explains how to implement the bootloader using the RAPIDSEA stack, the steps to be followed are
Initialize the bootloader cloud connector information.
Processes the file download over a cellular network for the bootloader
Posts the firmware status to an MQTT broker.
Then deinitialize the bootloader cloud connector.
Bootloader cloud connector Header Details
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_bl_cloud_connector.h