@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class DeviceBootloader extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceBootloader.ApplicationInfo |
static class |
DeviceBootloader.Config |
static class |
DeviceBootloader.MemoryInfo |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DeviceBootloader(ByteBuffer nameOrDeviceId) |
DeviceBootloader(ByteBuffer nameOrDeviceId,
boolean allowFlashingBootloader) |
DeviceBootloader(BytePointer nameOrDeviceId) |
DeviceBootloader(BytePointer nameOrDeviceId,
boolean allowFlashingBootloader)
Connects to device with specified name/device id
|
DeviceBootloader(DeviceInfo devInfo)
Connects to or boots device in bootloader mode depending on devInfo state; flashing not allowed
|
DeviceBootloader(DeviceInfo devInfo,
depthai.Type type) |
DeviceBootloader(DeviceInfo devInfo,
depthai.Type type,
boolean allowFlashingBootloader)
Connects to device in bootloader of specified type.
|
DeviceBootloader(DeviceInfo devInfo,
int type) |
DeviceBootloader(DeviceInfo devInfo,
int type,
boolean allowFlashingBootloader) |
DeviceBootloader(DeviceInfo devInfo,
Path pathToBootloader) |
DeviceBootloader(DeviceInfo devInfo,
Path pathToBootloader,
boolean allowFlashingBootloader)
Connects to or boots device in bootloader mode depending on devInfo state with a custom bootloader firmware.
|
DeviceBootloader(Pointer p)
Pointer cast constructor.
|
DeviceBootloader(String nameOrDeviceId) |
DeviceBootloader(String nameOrDeviceId,
boolean allowFlashingBootloader) |
| Modifier and Type | Method and Description |
|---|---|
void |
_close()
Explicitly closes connection to device.
|
void |
bootMemory(ByteVector fw)
Boots a custom FW in memory
|
void |
bootUsbRomBootloader()
Boots into integrated ROM bootloader in USB mode
|
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline) |
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
boolean compress) |
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
boolean checkChecksum) |
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
boolean compress,
BytePointer applicationName,
boolean checkChecksum)
Creates application package which can be flashed to depthai device.
|
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
boolean compress,
String applicationName,
boolean checkChecksum) |
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
Path pathToCmd,
boolean compress,
ByteBuffer applicationName,
boolean checkChecksum) |
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
Path pathToCmd,
boolean compress,
BytePointer applicationName,
boolean checkChecksum)
Creates application package which can be flashed to depthai device.
|
static ByteVector |
createDepthaiApplicationPackage(Pipeline pipeline,
Path pathToCmd,
boolean compress,
String applicationName,
boolean checkChecksum) |
static depthai.Type |
DEFAULT_TYPE()
Default Bootloader type
|
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline) |
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
depthai.Memory memory,
boolean checkChecksum) |
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
BytePointer applicationName,
depthai.Memory memory,
boolean checkChecksum)
Flashes a given pipeline to the device.
|
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
BytePointer applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
String applicationName,
depthai.Memory memory,
boolean checkChecksum) |
Pointer |
flash(depthai.ProgressCallback progressCallback,
Pipeline pipeline,
boolean compress,
String applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flash(Pipeline pipeline) |
Pointer |
flash(Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
depthai.Memory memory,
boolean checkChecksum) |
Pointer |
flash(Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flash(Pipeline pipeline,
boolean compress,
BytePointer applicationName,
depthai.Memory memory,
boolean checkChecksum)
Flashes a given pipeline to the device.
|
Pointer |
flash(Pipeline pipeline,
boolean compress,
BytePointer applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flash(Pipeline pipeline,
boolean compress,
String applicationName,
depthai.Memory memory,
boolean checkChecksum) |
Pointer |
flash(Pipeline pipeline,
boolean compress,
String applicationName,
int memory,
boolean checkChecksum) |
Pointer |
flashBootHeader(depthai.Memory memory) |
Pointer |
flashBootHeader(depthai.Memory memory,
int frequency,
long location,
int dummyCycles,
long offset)
Flash optimized boot header
|
Pointer |
flashBootHeader(int memory) |
Pointer |
flashBootHeader(int memory,
int frequency,
long location,
int dummyCycles,
long offset) |
Pointer |
flashBootloader(depthai.Memory memory,
depthai.Type type,
depthai.ProgressCallback progressCallback) |
Pointer |
flashBootloader(depthai.Memory memory,
depthai.Type type,
depthai.ProgressCallback progressCallback,
Path path)
Flash selected bootloader to the current board
|
Pointer |
flashBootloader(depthai.ProgressCallback progressCallback) |
Pointer |
flashBootloader(depthai.ProgressCallback progressCallback,
Path path)
Flashes bootloader to the current board
|
Pointer |
flashBootloader(int memory,
int type,
depthai.ProgressCallback progressCallback) |
Pointer |
flashBootloader(int memory,
int type,
depthai.ProgressCallback progressCallback,
Path path) |
Pointer |
flashClear() |
Pointer |
flashClear(depthai.Memory memory)
Clears flashed application on the device, by removing SBR boot structure
Doesn't remove fast boot header capability to still boot the application
|
Pointer |
flashClear(int memory) |
Pointer |
flashConfig(DeviceBootloader.Config config) |
Pointer |
flashConfig(DeviceBootloader.Config config,
depthai.Memory memory,
depthai.Type type)
Flashes configuration to bootloader
|
Pointer |
flashConfig(DeviceBootloader.Config config,
int memory,
int type) |
Pointer |
flashConfigClear() |
Pointer |
flashConfigClear(depthai.Memory memory,
depthai.Type type)
Clears configuration data
|
Pointer |
flashConfigClear(int memory,
int type) |
Pointer |
flashConfigData(Pointer configData) |
Pointer |
flashConfigData(Pointer configData,
depthai.Memory memory,
depthai.Type type)
Flashes configuration data to bootloader
|
Pointer |
flashConfigData(Pointer configData,
int memory,
int type) |
Pointer |
flashConfigFile(Path configPath) |
Pointer |
flashConfigFile(Path configPath,
depthai.Memory memory,
depthai.Type type)
Flashes configuration data to bootloader
|
Pointer |
flashConfigFile(Path configPath,
int memory,
int type) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
byte[] data,
long size) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
byte[] data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteBuffer filename) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteBuffer filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteBuffer data,
long size) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteBuffer data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
BytePointer filename) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
BytePointer filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
BytePointer data,
long size) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
BytePointer data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteVector data) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
ByteVector data,
depthai.ProgressCallback progressCb)
Flash arbitrary data at custom offset in specified memory
|
Pointer |
flashCustom(depthai.Memory memory,
long offset,
String filename) |
Pointer |
flashCustom(depthai.Memory memory,
long offset,
String filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
byte[] data,
long size) |
Pointer |
flashCustom(int memory,
long offset,
byte[] data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
ByteBuffer filename) |
Pointer |
flashCustom(int memory,
long offset,
ByteBuffer filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
ByteBuffer data,
long size) |
Pointer |
flashCustom(int memory,
long offset,
ByteBuffer data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
BytePointer filename) |
Pointer |
flashCustom(int memory,
long offset,
BytePointer filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
BytePointer data,
long size) |
Pointer |
flashCustom(int memory,
long offset,
BytePointer data,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
ByteVector data) |
Pointer |
flashCustom(int memory,
long offset,
ByteVector data,
depthai.ProgressCallback progressCb) |
Pointer |
flashCustom(int memory,
long offset,
String filename) |
Pointer |
flashCustom(int memory,
long offset,
String filename,
depthai.ProgressCallback progressCb) |
Pointer |
flashDepthaiApplicationPackage(ByteVector _package) |
Pointer |
flashDepthaiApplicationPackage(ByteVector _package,
depthai.Memory memory)
Flashes a specific depthai application package that was generated using createDepthaiApplicationPackage or saveDepthaiApplicationPackage
|
Pointer |
flashDepthaiApplicationPackage(ByteVector _package,
int memory) |
Pointer |
flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback,
ByteVector _package) |
Pointer |
flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback,
ByteVector _package,
depthai.Memory memory)
Flashes a specific depthai application package that was generated using createDepthaiApplicationPackage or saveDepthaiApplicationPackage
|
Pointer |
flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback,
ByteVector _package,
int memory) |
Pointer |
flashFastBootHeader(depthai.Memory memory) |
Pointer |
flashFastBootHeader(depthai.Memory memory,
int frequency,
long location,
int dummyCycles,
long offset)
Flash fast boot header.
|
Pointer |
flashFastBootHeader(int memory) |
Pointer |
flashFastBootHeader(int memory,
int frequency,
long location,
int dummyCycles,
long offset) |
Pointer |
flashGpioModeBootHeader(depthai.Memory memory,
int gpioMode)
Flash boot header which boots same as equivalent GPIO mode would
|
Pointer |
flashGpioModeBootHeader(int memory,
int gpioMode) |
Pointer |
flashUsbRecoveryBootHeader(depthai.Memory memory)
Flash USB recovery boot header.
|
Pointer |
flashUsbRecoveryBootHeader(int memory) |
Pointer |
flashUserBootloader(depthai.ProgressCallback progressCallback) |
Pointer |
flashUserBootloader(depthai.ProgressCallback progressCallback,
Path path)
Flashes user bootloader to the current board.
|
static DeviceInfo |
getAllAvailableDevices()
Searches for connected devices in either UNBOOTED or BOOTLOADER states.
|
static BytePointer |
getEmbeddedBootloaderBinary() |
static BytePointer |
getEmbeddedBootloaderBinary(depthai.Type type) |
static ByteBuffer |
getEmbeddedBootloaderBinary(int type) |
static Version |
getEmbeddedBootloaderVersion() |
static Pointer |
getFirstAvailableDevice()
Searches for connected devices in either UNBOOTED or BOOTLOADER states and returns first available.
|
DeviceBootloader.MemoryInfo |
getMemoryInfo(depthai.Memory memory)
Retrieves information about specified memory
|
DeviceBootloader.MemoryInfo |
getMemoryInfo(int memory) |
depthai.Type |
getType() |
Version |
getVersion() |
boolean |
isAllowedFlashingBootloader() |
boolean |
isClosed()
Is the device already closed (or disconnected)
\warning This function is thread-unsafe and may return outdated incorrect values.
|
boolean |
isEmbeddedVersion() |
boolean |
isUserBootloader()
Retrieves whether current bootloader is User Bootloader (B out of A/B configuration)
|
boolean |
isUserBootloaderSupported()
Checks whether User Bootloader is supported with current bootloader
|
DeviceBootloader.ApplicationInfo |
readApplicationInfo(depthai.Memory memory)
Reads information about flashed application in specified memory from device
|
DeviceBootloader.ApplicationInfo |
readApplicationInfo(int memory) |
DeviceBootloader.Config |
readConfig() |
DeviceBootloader.Config |
readConfig(depthai.Memory memory,
depthai.Type type)
Reads configuration from bootloader
|
DeviceBootloader.Config |
readConfig(int memory,
int type) |
Pointer |
readConfigData() |
Pointer |
readConfigData(depthai.Memory memory,
depthai.Type type)
Reads configuration data from bootloader
|
Pointer |
readConfigData(int memory,
int type) |
BoolStringByteVectorTuple |
readCustom(depthai.Memory memory,
long offset,
long size) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
byte[] data) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
byte[] data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
ByteBuffer data) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
ByteBuffer data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
BytePointer data) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
BytePointer data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
ByteVector data) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
ByteVector data,
depthai.ProgressCallback progressCb)
Reads arbitrary data at custom offset in specified memory
|
BoolStringByteVectorTuple |
readCustom(depthai.Memory memory,
long offset,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
String filename) |
Pointer |
readCustom(depthai.Memory memory,
long offset,
long size,
String filename,
depthai.ProgressCallback progressCb) |
BoolStringByteVectorTuple |
readCustom(int memory,
long offset,
long size) |
Pointer |
readCustom(int memory,
long offset,
long size,
byte[] data) |
Pointer |
readCustom(int memory,
long offset,
long size,
byte[] data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(int memory,
long offset,
long size,
ByteBuffer data) |
Pointer |
readCustom(int memory,
long offset,
long size,
ByteBuffer data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(int memory,
long offset,
long size,
BytePointer data) |
Pointer |
readCustom(int memory,
long offset,
long size,
BytePointer data,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(int memory,
long offset,
long size,
ByteVector data) |
Pointer |
readCustom(int memory,
long offset,
long size,
ByteVector data,
depthai.ProgressCallback progressCb) |
BoolStringByteVectorTuple |
readCustom(int memory,
long offset,
long size,
depthai.ProgressCallback progressCb) |
Pointer |
readCustom(int memory,
long offset,
long size,
String filename) |
Pointer |
readCustom(int memory,
long offset,
long size,
String filename,
depthai.ProgressCallback progressCb) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
boolean compress) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
boolean compress,
ByteBuffer applicationName,
boolean checkChecksum) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
boolean compress,
BytePointer applicationName,
boolean checkChecksum)
Saves application package to a file which can be flashed to depthai device.
|
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
boolean compress,
String applicationName,
boolean checkChecksum) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
Path pathToCmd,
boolean compress,
ByteBuffer applicationName,
boolean checkChecksum) |
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
Path pathToCmd,
boolean compress,
BytePointer applicationName,
boolean checkChecksum)
Saves application package to a file which can be flashed to depthai device.
|
static void |
saveDepthaiApplicationPackage(Path path,
Pipeline pipeline,
Path pathToCmd,
boolean compress,
String applicationName,
boolean checkChecksum) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DeviceBootloader(Pointer p)
Pointer(Pointer).public DeviceBootloader(@Const @ByRef DeviceInfo devInfo)
devInfo - DeviceInfo of which to boot or connect topublic DeviceBootloader(@Const @ByRef DeviceInfo devInfo, depthai.Type type, @Cast(value="bool") boolean allowFlashingBootloader)
devInfo - DeviceInfo of which to boot or connect totype - Type of bootloader to boot/connect to.allowFlashingBootloader - Set to true to allow flashing the devices bootloader. Defaults to falsepublic DeviceBootloader(@Const @ByRef DeviceInfo devInfo, depthai.Type type)
public DeviceBootloader(@Const @ByRef DeviceInfo devInfo, @Cast(value="dai::bootloader::Type") int type, @Cast(value="bool") boolean allowFlashingBootloader)
public DeviceBootloader(@Const @ByRef DeviceInfo devInfo, @Cast(value="dai::bootloader::Type") int type)
public DeviceBootloader(@Const @ByRef DeviceInfo devInfo, @Const @ByRef Path pathToBootloader, @Cast(value="bool") boolean allowFlashingBootloader)
devInfo - DeviceInfo of which to boot or connect topathToBootloader - Custom bootloader firmware to bootallowFlashingBootloader - Set to true to allow flashing the devices bootloader. Defaults to falsepublic DeviceBootloader(@Const @ByRef DeviceInfo devInfo, @Const @ByRef Path pathToBootloader)
public DeviceBootloader(@StdString BytePointer nameOrDeviceId, @Cast(value="bool") boolean allowFlashingBootloader)
nameOrDeviceId - Creates DeviceInfo with nameOrDeviceId to connect toallowFlashingBootloader - Set to true to allow flashing the devices bootloader. Defaults to falsepublic DeviceBootloader(@StdString BytePointer nameOrDeviceId)
public DeviceBootloader(@StdString ByteBuffer nameOrDeviceId, @Cast(value="bool") boolean allowFlashingBootloader)
public DeviceBootloader(@StdString ByteBuffer nameOrDeviceId)
public DeviceBootloader(@StdString String nameOrDeviceId, @Cast(value="bool") boolean allowFlashingBootloader)
public DeviceBootloader(@StdString String nameOrDeviceId)
@MemberGetter public static depthai.Type DEFAULT_TYPE()
@ByVal @Cast(value="std::tuple<bool,dai::DeviceInfo>*") public static Pointer getFirstAvailableDevice()
@StdVector public static DeviceInfo getAllAvailableDevices()
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="bool") boolean checkChecksum)
pipeline - Pipeline from which to create the application packagepathToCmd - Optional path to custom device firmwarecompress - Optional boolean which specifies if contents should be compressedapplicationName - Optional name the application that is flashed@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline)
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="bool") boolean checkChecksum)
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="bool") boolean checkChecksum)
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="bool") boolean checkChecksum)
pipeline - Pipeline from which to create the application packagecompress - Specifies if contents should be compressedapplicationName - Name the application that is flashed@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress)
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="bool") boolean checkChecksum)
@ByVal public static ByteVector createDepthaiApplicationPackage(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="bool") boolean checkChecksum)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="bool") boolean checkChecksum)
path - Path where to save the application packagepipeline - Pipeline from which to create the application packagepathToCmd - Optional path to custom device firmwarecompress - Optional boolean which specifies if contents should be compressedapplicationName - Optional name the application that is flashedpublic static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="bool") boolean checkChecksum)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Const @ByRef(nullValue="dai::Path{}") Path pathToCmd, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="bool") boolean checkChecksum)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="bool") boolean checkChecksum)
path - Path where to save the application packagepipeline - Pipeline from which to create the application packagecompress - Specifies if contents should be compressedapplicationName - Optional name the application that is flashedpublic static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="bool") boolean checkChecksum)
public static void saveDepthaiApplicationPackage(@Const @ByRef Path path, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="bool") boolean checkChecksum)
@ByVal public static Version getEmbeddedBootloaderVersion()
@Cast(value="std::uint8_t*") @StdVector public static BytePointer getEmbeddedBootloaderBinary(depthai.Type type)
@Cast(value="std::uint8_t*") @StdVector public static BytePointer getEmbeddedBootloaderBinary()
@Cast(value="std::uint8_t*") @StdVector public static ByteBuffer getEmbeddedBootloaderBinary(@Cast(value="dai::bootloader::Type") int type)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
progressCallback - Callback that sends back a value between 0..1 which signifies current flashing progresspipeline - Pipeline to flash to the boardcompress - Compresses application to reduce needed memory sizeapplicationName - Name the application that is flashed@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(depthai.ProgressCallback progressCallback, @Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
pipeline - Pipeline to flash to the boardcompress - Compresses application to reduce needed memory sizeapplicationName - Optional name the application that is flashed@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString BytePointer applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString ByteBuffer applicationName, depthai.Memory memory, @Cast(value="bool") boolean checkChecksum)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flash(@Const @ByRef Pipeline pipeline, @Cast(value="bool") boolean compress, @StdString String applicationName, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="bool") boolean checkChecksum)
@ByVal public DeviceBootloader.ApplicationInfo readApplicationInfo(depthai.Memory memory)
memory - Specifies which memory to query@ByVal public DeviceBootloader.ApplicationInfo readApplicationInfo(@Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback, @ByVal ByteVector _package, depthai.Memory memory)
progressCallback - Callback that sends back a value between 0..1 which signifies current flashing progresspackage - Depthai application package to flash to the board@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback, @ByVal ByteVector _package)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(depthai.ProgressCallback progressCallback, @ByVal ByteVector _package, @Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(@ByVal ByteVector _package, depthai.Memory memory)
package - Depthai application package to flash to the board@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(@ByVal ByteVector _package)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashDepthaiApplicationPackage(@ByVal ByteVector _package, @Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashClear(depthai.Memory memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashClear(@Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(depthai.ProgressCallback progressCallback, @Const @ByRef(nullValue="dai::Path{}") Path path)
progressCallback - Callback that sends back a value between 0..1 which signifies current flashing progresspath - Optional parameter to custom bootloader to flash@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(depthai.ProgressCallback progressCallback)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(depthai.Memory memory, depthai.Type type, depthai.ProgressCallback progressCallback, @Const @ByRef(nullValue="dai::Path{}") Path path)
memory - Memory to flashtype - Bootloader type to flashprogressCallback - Callback that sends back a value between 0..1 which signifies current flashing progresspath - Optional parameter to custom bootloader to flash@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(depthai.Memory memory, depthai.Type type, depthai.ProgressCallback progressCallback)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type, depthai.ProgressCallback progressCallback, @Const @ByRef(nullValue="dai::Path{}") Path path)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootloader(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type, depthai.ProgressCallback progressCallback)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashUserBootloader(depthai.ProgressCallback progressCallback, @Const @ByRef(nullValue="dai::Path{}") Path path)
progressCallback - Callback that sends back a value between 0..1 which signifies current flashing progresspath - Optional parameter to custom bootloader to flash@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashUserBootloader(depthai.ProgressCallback progressCallback)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashGpioModeBootHeader(depthai.Memory memory, int gpioMode)
gpioMode - GPIO mode equivalent@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashGpioModeBootHeader(@Cast(value="dai::bootloader::Memory") int memory, int gpioMode)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashUsbRecoveryBootHeader(depthai.Memory memory)
memory - Which memory to flash the header to@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashUsbRecoveryBootHeader(@Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootHeader(depthai.Memory memory, int frequency, @Cast(value="int64_t") long location, int dummyCycles, @Cast(value="int64_t") long offset)
memory - Which memory to flasht the header tofrequency - SPI specific parameter, frequency in MHzlocation - Target location the header should boot to. Default to location of bootloaderdummyCycles - SPI specific parameteroffset - Offset in memory to flash the header to. Defaults to offset of boot header@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootHeader(depthai.Memory memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootHeader(@Cast(value="dai::bootloader::Memory") int memory, int frequency, @Cast(value="int64_t") long location, int dummyCycles, @Cast(value="int64_t") long offset)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashBootHeader(@Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashFastBootHeader(depthai.Memory memory, int frequency, @Cast(value="int64_t") long location, int dummyCycles, @Cast(value="int64_t") long offset)
memory - Which memory to flash the header tofrequency - SPI specific parameter, frequency in MHzlocation - Target location the header should boot to. Default to location of bootloaderdummyCycles - SPI specific parameteroffset - Offset in memory to flash the header to. Defaults to offset of boot header@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashFastBootHeader(depthai.Memory memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashFastBootHeader(@Cast(value="dai::bootloader::Memory") int memory, int frequency, @Cast(value="int64_t") long location, int dummyCycles, @Cast(value="int64_t") long offset)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashFastBootHeader(@Cast(value="dai::bootloader::Memory") int memory)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Const @ByRef ByteVector data, depthai.ProgressCallback progressCb)
memory - Memory to flashoffset - Offset at which to flash the given data in bytesprogressCallback - Callback that sends back a value between 0..1 which signifies current flashing progressdata - Data to flash@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Const @ByRef ByteVector data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Const @ByRef ByteVector data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Const @ByRef ByteVector data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") BytePointer data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") ByteBuffer data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="const uint8_t*") byte[] data, @Cast(value="size_t") long size)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString BytePointer filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString BytePointer filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString ByteBuffer filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString ByteBuffer filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString String filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString String filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString BytePointer filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString BytePointer filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString ByteBuffer filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @StdString ByteBuffer filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString String filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @StdString String filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @ByRef ByteVector data, depthai.ProgressCallback progressCb)
memory - Memory to readoffset - Offset at which to read the specified bytessize - Number of bytes to readdata - Data to read to. Must be at least 'size' number of bytes bigprogressCallback - Callback that sends back a value between 0..1 which signifies current reading progress@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @ByRef ByteVector data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @ByRef ByteVector data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @ByRef ByteVector data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") BytePointer data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") BytePointer data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") ByteBuffer data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") ByteBuffer data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") byte[] data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") byte[] data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") BytePointer data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") BytePointer data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") ByteBuffer data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") ByteBuffer data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") byte[] data, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @Cast(value="uint8_t*") byte[] data)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @StdString String filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @StdString String filename)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @StdString String filename, depthai.ProgressCallback progressCb)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, @StdString String filename)
@ByVal public BoolStringByteVectorTuple readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal public BoolStringByteVectorTuple readCustom(depthai.Memory memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size)
@ByVal public BoolStringByteVectorTuple readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size, depthai.ProgressCallback progressCb)
@ByVal public BoolStringByteVectorTuple readCustom(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="size_t") long offset, @Cast(value="size_t") long size)
@ByVal @Cast(value="nlohmann::json*") public Pointer readConfigData(depthai.Memory memory, depthai.Type type)
memory - Optional - from which memory to read configuration datatype - Optional - from which type of bootloader to read configuration data@ByVal @Cast(value="nlohmann::json*") public Pointer readConfigData(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigData(@ByVal @Cast(value="nlohmann::json*") Pointer configData, depthai.Memory memory, depthai.Type type)
configData - Unstructured configuration datamemory - Optional - to which memory flash configurationtype - Optional - for which type of bootloader to flash configuration@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigData(@ByVal @Cast(value="nlohmann::json*") Pointer configData)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigData(@ByVal @Cast(value="nlohmann::json*") Pointer configData, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigFile(@Const @ByRef Path configPath, depthai.Memory memory, depthai.Type type)
configPath - Unstructured configuration datamemory - Optional - to which memory flash configurationtype - Optional - for which type of bootloader to flash configuration@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigFile(@Const @ByRef Path configPath)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigFile(@Const @ByRef Path configPath, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigClear(depthai.Memory memory, depthai.Type type)
memory - Optional - on which memory to clear configuration datatype - Optional - for which type of bootloader to clear configuration data@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigClear()
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfigClear(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal public DeviceBootloader.Config readConfig(depthai.Memory memory, depthai.Type type)
memory - Optional - from which memory to read configurationtype - Optional - from which type of bootloader to read configuration@ByVal public DeviceBootloader.Config readConfig()
@ByVal public DeviceBootloader.Config readConfig(@Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfig(@Const @ByRef DeviceBootloader.Config config, depthai.Memory memory, depthai.Type type)
configData - Configuration structurememory - Optional - to which memory flash configurationtype - Optional - for which type of bootloader to flash configuration@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfig(@Const @ByRef DeviceBootloader.Config config)
@ByVal @Cast(value="std::tuple<bool,std::string>*") public Pointer flashConfig(@Const @ByRef DeviceBootloader.Config config, @Cast(value="dai::bootloader::Memory") int memory, @Cast(value="dai::bootloader::Type") int type)
@ByVal public DeviceBootloader.MemoryInfo getMemoryInfo(depthai.Memory memory)
memory - Specifies which memory to query@ByVal public DeviceBootloader.MemoryInfo getMemoryInfo(@Cast(value="dai::bootloader::Memory") int memory)
@Cast(value="bool") public boolean isUserBootloaderSupported()
@Cast(value="bool") public boolean isUserBootloader()
public void bootMemory(@Const @ByRef ByteVector fw)
fw - A - runtime exception if there are any communication issuespublic void bootUsbRomBootloader()
A - runtime exception if there are any communication issues@Cast(value="bool") public boolean isEmbeddedVersion()
public depthai.Type getType()
@Cast(value="bool") public boolean isAllowedFlashingBootloader()
@Name(value="close") public void _close()
@Cast(value="bool") public boolean isClosed()
Copyright © 2023. All rights reserved.