AMB8426-M_8626-M_MA_EN_V2_4
Page 17 of 48
Released: Nov.2013
7.12.2 CMD_DATA_CLR_PRELOAD_REQ
With this command the preloaded telegram can be rejected.
Format:
0xFF
0x31
0x00 0xCE
Return:
0xFF
0xB1
0x01 < Status > < CS >
Status:
0x00: success
0x01: no telegram had been preloaded
7.13 Encryption and decryption OK
For this functionality also see chapter 10.
7.13.1 CMD_SET_AES_KEY_REQ
Up to 64 AES-Keys together with their addresses can be registered in the module.
With this command an AES-key and a device address can be stored in the non-volatile memory.
The AES-key is then used for encryption and decryption. The address of a device is transmitted
exactly as in block 1 (see Figure 3, without C-field) of a wM-Bus telegram. The AES-key is
transmitted LSB first.
Format:
0xFF
0x50
0x18 < address of the device > < 16 byte AES-key > < CS >
Address:
Man ID 1
(1 Byte)
Man ID 2
(1 Byte)
ID 1
(1 Byte)
ID 2
(1 Byte)
ID 3
(1 Byte)
ID 4
(1 Byte)
Version
(1 Byte)
Geräte-
typ
(1 Byte)
AES-key:
AES-Key
LSB
AES-Key
LSB+1
...
AES-Key
MSB -1
AES-Key
MSB
Return:
0xFF
0xD0
0x01 < status > < CS >
Status:
0x00: success
0x01: verification in memory failed
0x02: no more memory available
Example:
Manufacturer: AMB (0x05A2)