Skip to main content

Module ota

Module ota 

Source
Expand description

The OTA provider: the controller offers the nodes it commissioned the Matter OTA image files in a directory, and serves them over BDX.

rs-matter’s OTA Provider cluster answers a node’s QueryImage and its BDX handler streams the image; this module tells them which image a node gets (the newest for its vendor and product that applies on top of its version) and where its bytes are. A file’s name is its BDX file designator.

Structs§

OtaImage
An OTA image file the controller offers.

Functions§

best
The newest image in images for a node of vendor_id and product_id running version.
list
The OTA image files in dir, by name; files that are not images are left out.