Download Print this page

Device Object Properties; Property Ksktscanpropidversiondevice; Property Ksktscanpropiddevicetype - Socket ScanAPI Reference Manual

Advertisement

Socket ScanAPI Reference
Parameter type
Get
None
Version
ScanAPI Interface Version

14 Device object properties

14.1 Property kSktScanPropIdVersionDevice

This property retrieves the version information of a connected device. The version
of the device can be read upon reception of the Get Complete event. The property
has its type set to kSktScanPropTypeVersion, and the version field of the property
contains the version information of the device identified by its handle. The version is
described by 9 fields: wMajor, wMiddle, wMinor, dwBuild, wYear, wMonth, wDay,
wHour and wMinute.
These fields are all expressed in hexadecimal except for the dwBuild field that is
expressed in decimal.
Parameter type
Get
None
Version
ScanAPI Interface Version

14.2 Property kSktScanPropIdDeviceType

This property is used to retrieve the Device Type of a connected device.
A device type is defined in a 32-bit value composed of 2 types of information.
The first is the interface type that can be one of the following values:
Value
kSktScanDeviceTypeInterfaceNone
kSktScanDeviceTypeInterfaceSD
kSktScanDeviceTypeInterfaceCF
kSktScanDeviceTypeInterfaceBluetooth
kSktScanDeviceTypeInterfaceSerial
© 2013 Socket Mobile, Inc.
Get Complete
Byte
Get Complete
Version
Set
Byte
1.0.1 or higher
Set
Not applicable
1.0.0 or higher
Description
Unspecified interface type for this device
Secure Digital IO interface
Compact Flash interface
Bluetooth interface
Serial cable interface
Set Complete
None
Set Complete
Not applicable
82/152

Advertisement

loading
Need help?

Need help?

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