Skip to main content

build

Function build 

Source
pub fn build(
    manufacturer: u16,
    image_type: u16,
    file_version: u32,
    body: &[u8],
) -> Vec<u8> ⓘ
Expand description

Build an OTA file: a header for manufacturer, image_type and file_version, then body. For tests and tools.