DolphinV4 API
1.6.1.0
|
The ERP2 includes several security mechanisms. Telegram data can be encrypted and authenticated. These mechanisms avoid telegram eavesdropping and replay attacks. Sender and receiver agree on the details of the security communication within a special teach-in mode. The secure protocol is described in detail under http://www.enocean.com/en/knowledge-base/. The module sec implements data structures and the algorithms necessary to manage encryption/decryption, telegram authentication and rolling code management.
Two radio structures that transport secure-related information.
Security message
This telegram is sent in operation mode, once the secure protocol has been established by a teach-in message.
RORG-S | DATA | RLC | CMAC | SOURCE ID | STATUS |
The functions in the misc module functions misc_radio2ToMessage and misc_messageToRadio2 implement the transformation from messages to telegrams and vice versa. You can see how this is done an example in Security example
Teach-in message
Establishes the rules for the secure protocol between sender and receiver.
RORG-TS | TEACH_IN_INFO | SLF | RLC | KEY |
KEY [=128 bits] Sender private key.
More detailed information about the security protocol can be read under http://www.enocean.com/en/knowledge-base/