![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#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_HANDLE * | handles |
| List of currently open handles for this firmware. | |
| device_firmware_handler | handler |
| The device specific callback for the handler which provides this firmware. | |
| DEVICE_FIRMWARE * | prev |
| Previous entry in Device Firmware table. | |
| DEVICE_FIRMWARE * | next |
| Next entry in Device Firmware table. | |
Device Firmware
| 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_HANDLE* handles |
List of currently open handles for this firmware.
| device_firmware_handler handler |
The device specific callback for the handler which provides this firmware.
| DEVICE_FIRMWARE* prev |
Previous entry in Device Firmware table.
| DEVICE_FIRMWARE* next |
Next entry in Device Firmware table.