Download 3720 kB

Transcript
Appendix
Mailbox Command References
6.3.5.16
• 143
Read Local Bluetooth® Password (GetLocalPassphrase, 0x51)
With call up, the encryption mode for the wireless transmission is read out.
The password is transmitted as a byte value representation of ASCII characters and is at least 4 characters long.
Conditions
Mailbox size
Operating mode/profile
Device role
6
12
18
Config.
Realtime
Ad hoc
Master
Slave
Save
config.
Restart
-
(●)
(●)
●
-
-
●
●
-
-
Request
Byte
27
0
26
25
24
23
22
21
20
MBX_GETLOCALPASSPHRASE
1
T
-
Response
Byte
27
0
1
26
25
24
23
22
21
20
MBX_GETLOCALPASSPHRASE
T
MBX_RESULT
2
MBX_PASSPHRASE_Length
3
MBX_PASSPHRASE_Byte 1
4
MBX_PASSPHRASE_Byte 2
5
MBX_PASSPHRASE_Byte 3
6
MBX_PASSPHRASE_Byte 4
7
OPTIONAL PASSPHRASE_Byte 5
...
…
17
OPTIONAL PASSPHRASE_Byte 15
Note
If the password is longer than the available mailbox, the excess bytes are cut off.
MBX_ PASSPHRASE _Length reproduces the actual password length.
Therefore, the real password may therefore deviate from the indicated length.
Return values
Parameter
Value
Description
MBX_PASSPHRASE_Length
[4…15]
Complete length of the password
MBX_ PASSPHRASE_Byte n
Characters (ASCII)
Password as ASCII representation
WAGO-I/O-SYSTEM 750
I/O Modules