ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
app_net_source_t Struct Reference

In-RAM "download" cursor handed to the OTA net interface. More...

Data Fields

const uint8_t * data
 Image bytes being served.
uint32_t len
 Total image length in bytes.
uint32_t pos
 Bytes already handed to the OTA.

Detailed Description

In-RAM "download" cursor handed to the OTA net interface.

TODO(real network source): a production build binds ra8_ota's net interface to a TLS stream (ra8_tls, once it lands). Here the "image" is a baked-in RAM blob so the orchestration runs deterministically and offline.

Invariant
pos <= len.

Definition at line 183 of file main.c.

Field Documentation

◆ data

const uint8_t* app_net_source_t::data

Image bytes being served.

Definition at line 184 of file main.c.

Referenced by app_net_read().

◆ len

uint32_t app_net_source_t::len

Total image length in bytes.

Definition at line 185 of file main.c.

Referenced by app_net_open(), and app_net_read().

◆ pos

uint32_t app_net_source_t::pos

Bytes already handed to the OTA.

Definition at line 186 of file main.c.

Referenced by app_net_open(), and app_net_read().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hw_pending/ota_ab_orchestration/src/main.c