How dose Ext::IDebugCaptureSession work?

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

Could you check the argus_camera sample code if dump any information.

if i press the d key on the argus_camera app I also don’t get any output

Could you print some message to check if the code be called while press the “d” key.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.