|
HF-BNO08x
0.1.0-dev
|
HcBin_t implementation for firmware stored in memory. More...
#include <MemoryFirmware.hpp>
Public Member Functions | |
| MemoryFirmware (const uint8_t *data, uint32_t len, const char *format="BNO_V1", const char *part="unknown", uint32_t packet_len=0) | |
| const HcBin_t & | hcbin () const |
HcBin_t implementation for firmware stored in memory.
Construct with a pointer to the binary image and its length. Optional strings describe the format and part number. Pass the returned handle to dfu() to stream the image to the device.
This adapter is single-session per thread: open() binds the most recently selected MemoryFirmware instance for that thread and rejects nested opens.
|
inline |
|
inline |
Obtain an HcBin handle for the DFU helpers.