User Manual

Table Of Contents
134 Appendix
Mailbox Command References
WAGO-I/O-SYSTEM 750
I/O Modules
6.3.5.13 Set Local Encryption Mode (SetLocalEncryptionMode, 0x4E)
With this command, the encryption of the Bluetooth
®
data transmission is ac-
tivated or deactivated. This setting can be done independently of the device
role, but only affects the master. If encryption is activated, devices that do not
use encryption cannot connect.
Note
Encryption can be activated without activating an authentication. The actual en-
cryption of the data takes place after an authentication.
The security of the encryption is linked to the quality of the password.
Connections between devices can only be established if the settings for encryp-
tion, authentication and password are synchronized. This can be achieved by hav-
ing identical settings for the devices to be connected.
Conditions
Mailbox size Operating mode/profile Device role
6 12 18 Config. Real-time Ad hoc Master Slave
Save
config.
Restart
- - -
Request
Byte 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0 MBX_SETLOCALENCRYPTIONMODE
1 T -
2 MBX_ENCRYPTION_MODE
Arguments
Parameter Value Description
MBX_ENCRYPT_ENABLE (0x01) Activate encryption MBX_ENCRYPTION_MODE
MBX_ENCRYPT_DISABLE (0x00) Deactivate encryption
Response
Byte 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0 MBX_SETLOCALENCRYPTIONMODE
1 T MBX_RESULT
Return values
Parameter Value Description
MBX_RESULT MBX_CMD_INVALID_ARG An unknown argument has been passed