Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_DEVICE_FIRMWARE Struct Reference

#include <devices.h>

Data Fields

uint32_t deviceclass
 The Device class supported by this firmware (or DEVICE_CLASS_ANY for all devices).
char name [FIRMWARE_NAME_LENGTH]
 The device specific name of the firmware which may be a filename, a device model, id or type.
uint32_t size
 For block (memory) based firmware, the size passed to Create or 0 for other firmware types.
void * buffer
 For block (memory) based firmware, the buffer passed to Create or nil for other firmware types.
FIRMWARE_HANDLEhandles
 List of currently open handles for this firmware.
device_firmware_handler handler
 The device specific callback for the handler which provides this firmware.
DEVICE_FIRMWAREprev
 Previous entry in Device Firmware table.
DEVICE_FIRMWAREnext
 Next entry in Device Firmware table.

Detailed Description

Device Firmware

Field Documentation

◆ deviceclass

uint32_t deviceclass

The Device class supported by this firmware (or DEVICE_CLASS_ANY for all devices).

◆ name

The device specific name of the firmware which may be a filename, a device model, id or type.

◆ size

uint32_t size

For block (memory) based firmware, the size passed to Create or 0 for other firmware types.

◆ buffer

void* buffer

For block (memory) based firmware, the buffer passed to Create or nil for other firmware types.

◆ handles

FIRMWARE_HANDLE* handles

List of currently open handles for this firmware.

◆ handler

The device specific callback for the handler which provides this firmware.

◆ prev

Previous entry in Device Firmware table.

◆ next

Next entry in Device Firmware table.


The documentation for this struct was generated from the following file: