Skip to content

Instantly share code, notes, and snippets.

@speters
Last active May 22, 2021 20:18
Show Gist options
  • Select an option

  • Save speters/41fba5a07e768483bbbeb2e18f5fb5dc to your computer and use it in GitHub Desktop.

Select an option

Save speters/41fba5a07e768483bbbeb2e18f5fb5dc to your computer and use it in GitHub Desktop.
oeserverd/oexserverd options
-a              Version info
-d              Debug
-p <pipename>   named pipe name
-s              test is dongle available (0=no, 1=yes)
-t              get dongle serial number (0 if no dongle)
-k <fileprefix> Make SGLock fingerprint (fpr file)
-g <fileprefix> Make fingerprint (fpr file)

wxLogMessage(_T("oesenc_pi: Getting XFPR: Starting: ") + cmd ); wxString result = callActivityMethod_s6s("createProcSync4", cmd, _T("-q"), rootDir, _T("-g"), dataDir, libDir);

LogMessage(_T("oesenc_pi: Getting HWID: Starting: ") + cmd ); wxString result = callActivityMethod_s6s("createProcSync4", cmd, _T("-q"), rootDir, _T("-w"), dataDir, libDir);

wxString cmd = g_sencutil_bin; cmd += _T(" -t -s "); cmd += senc_file_name;

cmd += _T(" -b "); wxString port; port.Printf( _T("%d"), g_backchannel_port ); g_backchannel_port = 49500; //49152; //ports 49152–65535 are unallocated

cmd += port;

cmd += _T(" -f "); port.Printf( _T("%d"), g_frontchannel_port ); g_frontchannel_port = 50000;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment