Download Print this page

Socket ScanAPI Reference Manual page 8

Advertisement

Socket ScanAPI Reference
with discovering and using the scanner in SPP mode due to the fact that some
devices will cache the name and service information of the device.
Socket recommends that the pairing information is removed by deleting or
unpairing the device using the host device Bluetooth manager before connecting
the scanner in a different mode.
1.1.2 SPP Mode for the SDK
The SPP Mode is the required mode for the Scanner to be able to communicate
with an application using ScanAPI.
The SPP Mode has 2 configurations. One configuration called Acceptor, and
another called Initiator.
In Acceptor configuration, the scanner is discoverable and connectable and
basically waits for a host to connect. The scanner indicates that it is in this mode
by a slow blue LED flashing.
In Initiator configuration, the scanner knows the Bluetooth address of the host to
connect to.
Each time the scanner is powered on in this configuration, it will try to connect to
the host corresponding to the Bluetooth address it has in memory.
The scanner indicates that it is in this mode by a fast blue LED flashing. The
scanner stays in this mode until it successfully connects to the host or after a
2minutes timeout occurs, which it will signal by doing a long beep.
At this point the scanner can be powered off and on to retry to connect to the
host.
1.1.3 Initial connection to iOS host or to any host for a 7Ci,M and P
series
The process of connecting a scanner to an iOS host device or a 7Ci, M and P
scanner to any host device is the same and can be summarized to these simple
steps.
Step 1: The scanner must be in Acceptor mode.
For an iOS device, the scanner can be in configured in Acceptor mode by
scanning a barcode that has the value of "#FNC IOS ACCEPTOR
000000000000#" for a 7Xi or "#FNB00F40002#" for a 7Ci.
For any other host Device (not iOS) the scanner can be configured in Acceptor
mode by scanning a barcode that has the value of "#FNB00F40000#" for a 7 P,M
or Ci series, or "#FNC SPP ACCEPTOR 0000000000#" for a 7Xi series scanner.
© 2013 Socket Mobile, Inc.
8/152

Advertisement

loading
Need help?

Need help?

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