Download Print this page

Property Ksktscanpropidprofileconfigdevice - Socket ScanAPI Reference Manual

Advertisement

Socket ScanAPI Reference
Version
ScanAPI Interface Version

14.27 Property kSktScanPropIdProfileConfigDevice

This property retrieves or set the current profile configuration of a device.
The Profile Configuration can be described as shown in the following table:
Name
Profile
Role
Bluetooth address 6 bytes
Class Of Device
Extra padding
byte
The profile will take action only on the next connection. The host can send a
disconnect request with a parameter indicating the device should start its profile
configuration.
By specifying a Bluetooth address of a host device in the initiator mode, will cause
the device to connect to this host the next time it initiates a connection.
C/C++:
The constant definitions can be found in the SktScanPropIds.h file.
Java:
The constant definition can be found in
Com.SocketMobile.ScanAPI.ISktScanProperty.values.profile and
Com.SocketMobile.ScanAPI.ISktScanProperty.values.profileConfig.
C#:
The constant definition can be found in
ScanAPI.ISktScanProperty.values.profile and
ScanAPI.ISktScanProperty.values.profileConfig
Objective C:
The constant definitions can be found in the SktScanPropIds.h file.
Parameter type
Get
None
© 2013 Socket Mobile, Inc.
Number of
Description
Bytes
2 bytes
kSktScanProfileSelectHid (0x0000) for HID
or kSktScanProfileSelectSpp (0x0001) for
SPP (big-endian format)
2 bytes
kSktScanProfileConfigAcceptor (0x0000) for
Acceptor or kSktScanProfileConfigInitiator
(0x0001) for Initiator (big-endian format)
6 bytes of Bluetooth address.
3 bytes
3 bytes of Bluetooth Class Of Device (COD)
1 byte
This padding byte is to make this array size
even. Must be set to 0.
Get Complete
Array
1.0.0 or higher
Set
Array
Set Complete
None
113/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