Download Print this page

Property Ksktscanpropiddisconnectdevice - Socket ScanAPI Reference Manual

Advertisement

Socket ScanAPI Reference
Version
ScanAPI Interface Version

14.28 Property kSktScanPropIdDisconnectDevice

This property can be used to disconnect the device. There are 2 modes of
disconnection. The start profile mode will disconnect the device and the device will
then start the current profile. The disable radio mode instructs the device to
disconnect and set the radio into a low power mode. In that mode the device cannot
be discoverable or connectable.
This property has a byte value that needs to be set to one of these two modes.
Constant definitions exist to clearly identify these modes and they are described as
shown below:
Name
kSktScanDisconnectStartProfile
kSktScanDisconnectDisableRadio
C/C++:
The constant definitions can be found in the SktScanPropIds.h file.
Java:
The constant definitions can be found in
com.SocketMobile.ScanAPI.ISktScanProperty.values.disconnect.
C#:
The constant definition can be found in
ScanAPI.ISktScanProperty.values.disconnect
Objective C:
The constant definitions can be found in the SktScanPropIds.h file.
Parameter type
Get
Not applicable
Version
ScanAPI Interface Version
© 2013 Socket Mobile, Inc.
Get Complete
Not applicable
1.0.0 or higher
Description
Ask the device to disconnect and start its
current selected profile.
Ask the device to disconnect and disable
its radio.
Set
Byte
1.0.0 or higher
Set Complete
None
114/152

Advertisement

loading
Need help?

Need help?

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