Hallo,
How is the Argus::Ext::IDebugCaptureSession suppoesd to work?
And which information is exported via this method?
When I tried to call Argus::Ext::IDebugCaptureSession::dump(int32_t fd) I only get an empty file.
Example of my code:
bool dumpArgusDbgInfo(Argus::CaptureSession* captureSession){
Argus::Ext::IDebugCaptureSession *iDbgCaptureSession = interface_cast<Argus::Ext::IDebugCaptureSession>(captureSession);
if(iDbgCaptureSession) return false;
std::stringstream ss;
ss << "/tmp/argusDebugDump.log";
int f = open(ss.str().c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
if(f <= 0) return false;
Argus::Status aStatus = iDbgCaptureSession->dump(f);
close(f);
if(aStatus != STATUS_OK) return false;
return true;
}
I am using L4T 32.7.2