@@ -343,6 +343,7 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
343
343
py::enum_<BoardConfig::GPIO::Pull> boardConfigGpioPull (boardConfigGpio, " Pull" , DOC (dai, BoardConfig, GPIO, Pull));
344
344
py::enum_<BoardConfig::GPIO::Drive> boardConfigGpioDrive (boardConfigGpio, " Drive" , DOC (dai, BoardConfig, GPIO, Drive));
345
345
py::class_<BoardConfig::UART> boardConfigUart (boardConfig, " UART" , DOC (dai, BoardConfig, UART));
346
+ py::class_<BoardConfig::UVC> boardConfigUvc (boardConfig, " UVC" , DOC (dai, BoardConfig, UVC));
346
347
struct PyClock {};
347
348
py::class_<PyClock> clock (m, " Clock" );
348
349
@@ -379,6 +380,8 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
379
380
.def_readwrite (" flashBootedVid" , &BoardConfig::USB::flashBootedVid)
380
381
.def_readwrite (" flashBootedPid" , &BoardConfig::USB::flashBootedPid)
381
382
.def_readwrite (" maxSpeed" , &BoardConfig::USB::maxSpeed)
383
+ .def_readwrite (" productName" , &BoardConfig::USB::productName)
384
+ .def_readwrite (" manufacturer" , &BoardConfig::USB::manufacturer)
382
385
;
383
386
384
387
// Bind BoardConfig::Network
@@ -456,6 +459,17 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
456
459
.def_readwrite (" tmp" , &BoardConfig::UART::tmp)
457
460
;
458
461
462
+ // Bind BoardConfig::UVC
463
+ boardConfigUvc
464
+ .def (py::init<>())
465
+ .def (py::init<uint16_t , uint16_t >())
466
+ .def_readwrite (" cameraName" , &BoardConfig::UVC::cameraName)
467
+ .def_readwrite (" width" , &BoardConfig::UVC::width)
468
+ .def_readwrite (" height" , &BoardConfig::UVC::height)
469
+ .def_readwrite (" frameType" , &BoardConfig::UVC::frameType)
470
+ .def_readwrite (" enable" , &BoardConfig::UVC::enable)
471
+ ;
472
+
459
473
// Bind BoardConfig
460
474
boardConfig
461
475
.def (py::init<>())
@@ -474,6 +488,7 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
474
488
.def_readwrite (" logSizeMax" , &BoardConfig::logSizeMax, DOC (dai, BoardConfig, logSizeMax))
475
489
.def_readwrite (" logVerbosity" , &BoardConfig::logVerbosity, DOC (dai, BoardConfig, logVerbosity))
476
490
.def_readwrite (" logDevicePrints" , &BoardConfig::logDevicePrints, DOC (dai, BoardConfig, logDevicePrints))
491
+ .def_readwrite (" uvc" , &BoardConfig::uvc, DOC (dai, BoardConfig, uvc))
477
492
;
478
493
479
494
// Bind Device::Config
0 commit comments