Provide structs commonly used in the SDK, enumerating constant definitions.
uint64_t OBDeviceState
Device state.
OBDataTranState
Enumeration value describing the data transfer status.
OBFileTranState
Enumeration value describing the file transfer status.
OBUpgradeState
Enumeration value describing the firmware upgrade status.
std::function< void(OBDeviceState state, const char *message)> DeviceStateChangedCallback
Callback function for device status updates.
std::function< void(OBDataTranState state, uint8_t percent)> SetDataCallback
Callback function for setting the raw data property when progress callbacks are made.
std::function< void(OBUpgradeState state, const char *message, uint8_t percent)> DeviceUpgradeCallback
Callback function for device upgrade status updates.
std::function< void(OBDataTranState state, OBDataChunk *dataChunk)> GetDataCallback
Callback function for getting raw data property data when data and progress callbacks are made.
std::function< void(OBFileTranState state, const char *message, uint8_t percent)> SendFileCallback
Callback function for file transfer status updates.
Structure for transmitting data blocks.