Metrologic Optimus S Programming Manual page 179

"c" programming guide
Table of Contents

Advertisement

Frequent Device List
Get Freq. Dev. List
The length of Frequent Device List by calling GetNetParameter() is 83 characters:
LIST$ = GetNetParameter(40)
The first character of Frequent Device List is the service type that the device is
engaged. Currently, there are three types that have been defined:
Service Type
1
PAN
...
(= AP mode, access points are required.)
3
SPP
4
DUN
Note: If bit 7 = 1, it means that this device is currently connected.
After the service type, from the second to the 13th character stands for the string of
MAC ID.
The next property after MAC ID is Device Name, which consists of up to 20
characters and ends with a delimiter code "\r".
The next property after Device Name is PIN code, which consists of up to 17
characters and ends with a delimiter code "\r".
The last property of Frequent Device List is Link Key, which is normally generated
when the pairing procedure is completed. This unique Link Key is applied to the
specific device connection only. Once the connection is renewed with a different
device, a new Link Key will be generated.
Length
Property
1
Service Type
2 ~ 13
MAC ID
14 ~ 33 Device Name
34 ~ 50 PIN Code
51 ~ 83 Link Key
Note: Make sure to put "\r" as a delimiter for Device Name, PIN Code, and Link Key.
Chapter 3 Terminal Specific Function Library
Char
1
132
12
"0" "0" "D" "0" "1" "7" "3" "0" "1" "2" "3" "4"
20
"M
"Y" " "
"
17
"1" "2" "3" "4" \r
33
"1" "2" "4" "F" "5" "3" ......................................... \r
In Frequent Device List
Max. 8 devices are recorded
Only 1 device is recorded
Only 1 device is recorded
"N" "A" "M
"E" \r
"
0
......................................... 0
173
0
............
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents