@@ -482,13 +482,15 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
482
482
.def_readwrite (" version" , &Device::Config::version)
483
483
.def_readwrite (" board" , &Device::Config::board)
484
484
.def_readwrite (" nonExclusiveMode" , &Device::Config::nonExclusiveMode)
485
+ .def_readwrite (" outputLogLevel" , &Device::Config::outputLogLevel)
486
+ .def_readwrite (" logLevel" , &Device::Config::logLevel)
485
487
;
486
488
487
489
// Bind CrashDump
488
490
crashDump
489
491
.def (py::init<>())
490
492
.def (" serializeToJson" , &CrashDump::serializeToJson, DOC (dai, CrashDump, serializeToJson))
491
-
493
+
492
494
.def_readwrite (" crashReports" , &CrashDump::crashReports, DOC (dai, CrashDump, crashReports))
493
495
.def_readwrite (" depthaiCommitHash" , &CrashDump::depthaiCommitHash, DOC (dai, CrashDump, depthaiCommitHash))
494
496
.def_readwrite (" deviceId" , &CrashDump::deviceId, DOC (dai, CrashDump, deviceId))
@@ -501,7 +503,7 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
501
503
.def_readwrite (" crashedThreadId" , &CrashDump::CrashReport::crashedThreadId, DOC (dai, CrashDump, CrashReport, crashedThreadId))
502
504
.def_readwrite (" threadCallstack" , &CrashDump::CrashReport::threadCallstack, DOC (dai, CrashDump, CrashReport, threadCallstack))
503
505
;
504
-
506
+
505
507
errorSourceInfo
506
508
.def (py::init<>())
507
509
.def_readwrite (" assertContext" , &CrashDump::CrashReport::ErrorSourceInfo::assertContext, DOC (dai, CrashDump, CrashReport, ErrorSourceInfo, assertContext))
@@ -566,6 +568,7 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
566
568
.def_static (" getEmbeddedDeviceBinary" , py::overload_cast<DeviceBase::Config>(&DeviceBase::getEmbeddedDeviceBinary), py::arg (" config" ), DOC (dai, DeviceBase, getEmbeddedDeviceBinary, 2 ))
567
569
.def_static (" getDeviceByMxId" , &DeviceBase::getDeviceByMxId, py::arg (" mxId" ), DOC (dai, DeviceBase, getDeviceByMxId))
568
570
.def_static (" getAllConnectedDevices" , &DeviceBase::getAllConnectedDevices, DOC (dai, DeviceBase, getAllConnectedDevices))
571
+ .def_static (" getGlobalProfilingData" , &DeviceBase::getGlobalProfilingData, DOC (dai, DeviceBase, getGlobalProfilingData))
569
572
570
573
// methods
571
574
.def (" getBootloaderVersion" , &DeviceBase::getBootloaderVersion, DOC (dai, DeviceBase, getBootloaderVersion))
@@ -612,6 +615,7 @@ void DeviceBindings::bind(pybind11::module& m, void* pCallstack){
612
615
.def (" getUsbSpeed" , [](DeviceBase& d) { py::gil_scoped_release release; return d.getUsbSpeed (); }, DOC (dai, DeviceBase, getUsbSpeed))
613
616
.def (" getDeviceInfo" , [](DeviceBase& d) { py::gil_scoped_release release; return d.getDeviceInfo (); }, DOC (dai, DeviceBase, getDeviceInfo))
614
617
.def (" getMxId" , [](DeviceBase& d) { py::gil_scoped_release release; return d.getMxId (); }, DOC (dai, DeviceBase, getMxId))
618
+ .def (" getProfilingData" , [](DeviceBase& d) { py::gil_scoped_release release; return d.getProfilingData (); }, DOC (dai, DeviceBase, getProfilingData))
615
619
.def (" readCalibration" , [](DeviceBase& d) { py::gil_scoped_release release; return d.readCalibration (); }, DOC (dai, DeviceBase, readCalibration))
616
620
.def (" flashCalibration" , [](DeviceBase& d, CalibrationHandler calibrationDataHandler) { py::gil_scoped_release release; return d.flashCalibration (calibrationDataHandler); }, py::arg (" calibrationDataHandler" ), DOC (dai, DeviceBase, flashCalibration))
617
621
.def (" setXLinkChunkSize" , [](DeviceBase& d, int s) { py::gil_scoped_release release; d.setXLinkChunkSize (s); }, py::arg (" sizeBytes" ), DOC (dai, DeviceBase, setXLinkChunkSize))
0 commit comments