Namespaces | Classes | Enumerations | Functions | Variables
dai::bootloader Namespace Reference

Namespaces

 request
 
 response
 

Classes

struct  Config
 
struct  NetworkBootloaderStructure
 
struct  NetworkConfig
 
struct  Structure
 
struct  UsbBootloaderStructure
 
struct  UsbConfig
 

Enumerations

enum  Memory : std::int32_t { Memory::AUTO = -1, Memory::FLASH = 0, Memory::EMMC = 1 }
 
enum  Section : std::int32_t {
  Section::AUTO = -1, Section::HEADER = 0, Section::BOOTLOADER = 1, Section::BOOTLOADER_CONFIG = 2,
  Section::APPLICATION = 3, Section::USER_BOOTLOADER = 4
}
 
enum  Type : std::int32_t { Type::AUTO = -1, Type::USB = 0, Type::NETWORK = 1 }
 

Functions

 DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE (Config, appMem, usb, network, userBlSize, userBlChecksum)
 
 DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE (NetworkConfig, timeoutMs, ipv4, ipv4Mask, ipv4Gateway, ipv4Dns, ipv4DnsAlt, staticIpv4, ipv6, ipv6Prefix, ipv6Gateway, ipv6Dns, ipv6DnsAlt, staticIpv6, mac)
 
 DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE (UsbConfig, timeoutMs, maxUsbSpeed, vid, pid)
 
const Structure getStructure (Type type)
 

Variables

constexpr static const char * XLINK_CHANNEL_BOOTLOADER = "__bootloader"
 
constexpr static const char * XLINK_CHANNEL_WATCHDOG = "__watchdog"
 
constexpr static std::uint32_t XLINK_STREAM_MAX_SIZE = 5 * 1024 * 1024
 
constexpr static const std::chrono::milliseconds XLINK_WATCHDOG_TIMEOUT {1500}
 

Enumeration Type Documentation

◆ Memory

enum dai::bootloader::Memory : std::int32_t
strong
Enumerator
AUTO 
FLASH 
EMMC 

Definition at line 11 of file Memory.hpp.

◆ Section

enum dai::bootloader::Section : std::int32_t
strong
Enumerator
AUTO 
HEADER 
BOOTLOADER 
BOOTLOADER_CONFIG 
APPLICATION 
USER_BOOTLOADER 

Definition at line 11 of file Section.hpp.

◆ Type

enum dai::bootloader::Type : std::int32_t
strong
Enumerator
AUTO 
USB 
NETWORK 

Definition at line 11 of file Type.hpp.

Function Documentation

◆ DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE() [1/3]

dai::bootloader::DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE ( Config  ,
appMem  ,
usb  ,
network  ,
userBlSize  ,
userBlChecksum   
)

◆ DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE() [2/3]

dai::bootloader::DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE ( NetworkConfig  ,
timeoutMs  ,
ipv4  ,
ipv4Mask  ,
ipv4Gateway  ,
ipv4Dns  ,
ipv4DnsAlt  ,
staticIpv4  ,
ipv6  ,
ipv6Prefix  ,
ipv6Gateway  ,
ipv6Dns  ,
ipv6DnsAlt  ,
staticIpv6  ,
mac   
)

◆ DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE() [3/3]

dai::bootloader::DEPTHAI_BOOTLOADER_NLOHMANN_DEFINE_TYPE_OPTIONAL_NON_INTRUSIVE ( UsbConfig  ,
timeoutMs  ,
maxUsbSpeed  ,
vid  ,
pid   
)

◆ getStructure()

const Structure dai::bootloader::getStructure ( Type  type)
inline

Definition at line 78 of file Structure.hpp.

Variable Documentation

◆ XLINK_CHANNEL_BOOTLOADER

constexpr static const char* dai::bootloader::XLINK_CHANNEL_BOOTLOADER = "__bootloader"
staticconstexpr

◆ XLINK_CHANNEL_WATCHDOG

constexpr static const char* dai::bootloader::XLINK_CHANNEL_WATCHDOG = "__watchdog"
staticconstexpr

◆ XLINK_STREAM_MAX_SIZE

constexpr static std::uint32_t dai::bootloader::XLINK_STREAM_MAX_SIZE = 5 * 1024 * 1024
staticconstexpr

◆ XLINK_WATCHDOG_TIMEOUT

constexpr static const std::chrono::milliseconds dai::bootloader::XLINK_WATCHDOG_TIMEOUT {1500}
staticconstexpr


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20