Over-the-Air Download (OAD)¶
The following sections aim to describe the lower layers of OAD software that are common across all protocol stack implementations. This includes the OAD image header, the flash layout, Boot Image Manager, and the oad_image_tool.
The following sections aim to describe the BLE5-Stack specific application and profile layer of the OAD solution. The OAD application section will describe the BLE OAD process from a high level in terms of events and states, and the profile section will cover the actual structures that are sent over the air.
See Over the Air Download (OAD) Reference for more information about the various OAD APIs and structures.
Note
The current BLE5-Stack does not support on-chip OAD. Any reference to on-chip the following sections can be ignored
- OAD Application
- BLE-Stack OAD Profile
- Over the Air Message Sequence
- OAD Service (0xFFC0)
- OAD Image Identify (0xFFC1)
- OAD Image Block Characteristic (0xFFC2)
- OAD Control Point Characteristic (0xFFC5)
- Get OAD Block Size CMD/RSP
- Set Image Count CMD/RSP
- Start OAD CMD/RSP
- Enable OAD Image CMD/RSP
- Cancel OAD CMD/RSP
- Disable OAD Image Block Write CMD/RSP
- Get Software Version CMD/RSP
- Get OAD Image Status CMD/RSP
- Get Profile Version CMD/RSP
- Get Device Type CMD/RSP
- Image Block Write Char RSP
- Erase All Bonds REQ/RSP
- OAD Reset Service (0xFFD0)
- OAD Return Values
- OAD Block Size Rules
The following sections cover the out of the box demo for OAD using the BLE5-Stack. Additionally, the steps are included on how to add OAD to an existing project.