
Chapter 3 Terminal Specific Function Library
173
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
In Frequent Device List
1
…
3
4
PAN
(= AP mode, access points are required.)
SPP
DUN
Max. 8 devices are recorded
Only 1 device is recorded
Only 1 device is recorded
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
Char
1
Service Type
1
132
2 ~ 13
MAC ID
12
"0" "0" "D" "0" "1" "7" "3" "0" "1" "2" "3" "4"
14 ~ 33
Device Name
20
"M
"
"Y" " " "N" "A" "M
"
"E" \r
0
............
0
34 ~ 50
PIN Code
17
"1" "2" "3" "4" \r
0
......................................... 0
51 ~ 83
Link Key
33
"1" "2" "4" "F" "5" "3" ......................................... \r
Note: Make sure to put “\r” as a delimiter for Device Name, PIN Code, and Link Key.
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...