Download Print this page

Socket ScanAPI Reference Manual page 75

Advertisement

Socket ScanAPI Reference
kSktScanConfigMonitorDbgFileLineLevel Add or remove the file
kSktScanConfigMonitorDbgChannel
The value of the serial port configuration contains a list of COM port names where
each item of the list is separated by semi colon: "COM3:;COM4:"
In order to set the property, the configuration name should be specified in the
property string field with an equal sign and the new value for this configuration.
Example
TSktScanObject ScanObj;
memset(&ScanObj,0,sizeof(ScanObj);
// allocate memory to receive the new config string
ScanObj.Property.String.pValue=new
if(ScanObj.Property.String.pValue)
{
ScanObj.Property.ID=kSktScanPropIdConfiguration;
ScanObj.Property.Type=kSktScanPropTypeString;
printf(ScanObj.Property.String.pValue,"%s=%s",
kSktScanConfigSerialComPort,"COM3:;COM4:");
ScanObj.Property.String.nLength=
strlen(ScanObj.Property.String.pValue);
// set the configuration here
Result=SktScanSet(hScanAPI,&ScanObj);
// done with this buffer
© 2013 Socket Mobile, Inc.
and line information in
the traces. This feature
works only on
Windows Platforms.
Modify the channel to
where the debug traces
are directed.
char[64];
effect.
This value is
expressed in
hexadecimal.
This value is
expressed in
hexadecimal.
0x01 for the
normal debug
window.
0x08 for using
the application
output if
correctly setup.
A value of 0x09
will display
traces on both,
debug window
and application
output.
75/152

Advertisement

loading
Need help?

Need help?

Do you have a question about the ScanAPI and is the answer not in the manual?

Subscribe to Our Youtube Channel