Socket ScanAPI Reference
Get
None
Version
ScanAPI Interface Version
See also:
11.6.1 Power Event
14.33 Property kSktScanPropIdStartUpRoleSPPDevice
This property retrieves or modifies the persistence of a device Serial Port Profile
(SPP) role. The Series 7 scanners have their SPP role set to persistent by default. If a
scanner scans a connect barcode to connect to a host, then each time this scanner is
powered on, it will try to connect to the last host.
This feature can be turned off using this property. If it is turned off, the scanner will
need to scan a connect barcode each time it needs to connect to a host.
The scanner retry feature stays unchanged whatever the Start Up Role is.
This property parameter is a byte value.
There are two possible values for this property and they are defined as shown in
this table:
Name
kSktScanStartUpRoleSPPAcceptor 0x00
kSktScanStartUpRoleSPPLastRole 0x01
C/C++:
The helper macro and the constant definition can be found in the SktScanPropIds.h
file.
Java:
The helper macro can be found in com.SocketMobile.ScanAPI.SktScan.helper and the
constant definition can be found in
Com.SocketMobile.ScanAPI.ISktScanProperty.values.startUpRoleSpp.
C#:
The helper macro can be found in ScanAPI.SktScan.helper and the constant
definition can be found in ScanAPI.ISktScanProperty.values.startUpRoleSpp.
Objective C:
© 2013 Socket Mobile, Inc.
Get Complete
Ulong
Value Description
Set
Not applicable
1.0.0 or higher
Not persistent, the scanner goes back to
acceptor each time the scanner starts
up.
Persistent, the scanner uses the last
role each time the scanner starts up.
Set Complete
Not applicable
119/152
Need help?
Do you have a question about the ScanAPI and is the answer not in the manual?