RC1180-MPC1/RC1701HP-MPC1 User Manual (rev. 1.1)
RC1180-MPC1
USER MANUAL RC1701HP-MPC1
7 Set up and use encryption
The module supports security mode 5, using AES-128-CBC encryption.
The ENCRYPT_FLAG and DECRYPT_FLAG parameters are used to set the flags to enable / disable the
encryption when transmitting and receiving messages.
The 16 byte encryption key is set as part of the configuration memory and can be configured either by UART or
OTA123.
Example 1 – Set encryption key via UART
To set the encryption key to 00112233445566778899AABBCCDDEEFF, send the follow sequence
to the MPC1 using the UART interface:
Wake up the UART interface
Enter CONFIG mode.
Wait for ‘>’ prompt.
M-command entered.
Wait for ‘>’ prompt.
Key’s MSB address and value
Additional address and value pairs
Key’s LSB address and value
Exit M-command
Wait for ‘>’ prompt.
Exit CONFIG mode.
Module returns to SLEEP state
Note! The module does not support encrypted messages for the OTA123 update procedure.