Decoding Gateway Controller User Manual 01 PDF
Decoding Gateway Controller User Manual 01 PDF
March 4, 2015
REVISION HISTORY
The following major modifications and improvements have been made to the first version of
this document:
No Major Changes
1.0 Initial version
1.1 Supported SLF range extended.
© EnOcean GmbH
All Rights Reserved
Important!
This information describes the type of component and shall not be considered as assured characteris-
tics. No responsibility is assumed for possible omissions or inaccuracies. Circuitry and specifications
are subject to change without notice. For the latest product specifications, refer to the EnOcean web-
site: http://www.enocean.com.
As far as patents or other rights of third parties are concerned, liability is only assumed for modules,
not for the described applications, processes and circuits.
EnOcean does not assume responsibility for use of modules described and limits its liability to the
replacement of modules determined to be defective due to workmanship. Devices or systems contain-
ing RF components must meet the essential requirements of the local legal authorities.
The modules must not be used in any relation with equipment that supports, directly or indirectly,
human health or life or with applications that can result in danger for people, animals or real value.
Components of the modules are considered and should be disposed of as hazardous waste. Local
government regulations are to be observed.
Packing: Please use the recycling operators known to you. By agreement we will take packing materi-
al back if it is sorted. You must bear the costs of transport. For packing material that is returned to us
unsorted or that we are not obliged to accept, we shall have to invoice you for any costs incurred.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 2/11
USER MANUAL V1.1
TABLE OF CONTENT
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 3/11
USER MANUAL V1.1
1 GENERAL DESCRIPTION
With the Decoding Gateway, EnOcean now offers
its OEM partners a firmware that decodes en-
crypted EnOcean telegrams on the module. This
allows manufacturers (OEMs) to integrate en-
crypted data communication faster and more
easily into their products, for example for safety-
related and smart home applications.
Features
All features included in the Gateway Controller
Decodes Telegrams from secure Switches
Handling and storing Rolling Codes and Security Keys
- Storing in external EEPROM
- Storing in internal Flash Memory (Dolphin Chip)
I2C Implementation to communicate with external EEPROM
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 4/11
USER MANUAL V1.1
1.2 References
1. PTM 215 User Manual
2. STM 33x User Manual
3. STM 32x User Manual
4. EnOcean Security Specification
5. EnOcean Serial Protocol 3 Specification
6. Gateway Controller – TCM 310 User Manual
7. Microchip EEPROM Memory - www.microchip.com/serialeeprom/
8. DolphinAPI Description
2 FUNCTIONAL DESCRIPTION
SCSEDIO0 Interface for external Digital I/O for I2C Data communication.
EEPROM with I2C inter-
face
SCLKDIO1 Interface for external Digital Output, Clock pin for I2C Communica-
EEPROM with I2C inter- tion
face
The ESP3 commands are supported like in Gateway Controller Software. Additionally these
security tasks related commands are supported:
CO_WR_LEARNMODE
CO_RD_LEARNMODE
CO_EVENT_SECUREDEVICES
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 5/11
USER MANUAL V1.1
CO_WR_SECUREDEVICE_ADD
CO_WR_SECUREDEVICE_DEL
CO_RD_SECUREDEVICE_BY_INDEX
CO_RD_SECUREDEVICE_BY_ID
CO_RD_NUMSECUREDEVICES
This commands are NOT relevant to this Firmware and they are also not supported:
CO_RD_SECURITY
CO_WR_SECURITY
RADIO_MESSAGE
CO_WR_SLEEP
CO_RD_SYS_LOG
CO_WR_SYS_LOG
REMOTE_MAN_COMMAND
2-level repeating function should only be activated if really needed! Otherwise the
system function can be compromised by collisions of telegrams.
The repeated telegram is marked as “repeated” by an increased repeater counter.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 6/11
USER MANUAL V1.1
For detailed recommendations regarding the usage of repeaters please refer to our applica-
tion note EnOcean Wireless Systems - Installation Notes (PDF), 09/2010.
An overview of the functionality can be seen in the figure below. Explanations can be found in the
following chapters.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 7/11
USER MANUAL V1.1
Message
Received
Send EVENT to
inform about Is a security Teach In Is data message from Taught In
potentional attack. Message? device?
[NO]
[YES]
Teach In new
Dev ice
Remove
Message
Send Teach In
Message on
UART Interface
After a successful teach in process the whole teach in message is passed as one serial
packet on the serial interface. For communication RADIO_MESSAGE, TYPE = 9 is used. See
reference 5 for details on serial command.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 8/11
USER MANUAL V1.1
The Decoding Gateway makes the decision on where to store the secure information on
start up. If an external memory is connected then the keys are stored there. If no memory
is detected then keys are stored in the Dolphin Chip.
The security Key of a device is constant. The RLC will change with every telegram transmis-
sion. Therefore the receiver needs to store it periodically during whole operational time. For
the case of power off the RLC needs to be store also in the non-volatile memory. Based on
the used memory module we define following storage frequency:
- Internal Dolphin Chip - every 50th transmission
- External Memory Module – every transmission
We recommend using external memory for storage of rolling codes, because it ensures
higher safety through storing rolling code every change and separates the rolling code stor-
age place from program memory storage place.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 9/11
USER MANUAL V1.1
As the Decoding Controller was developed using these modules compatibility is guaranteed. Based on
the characteristics of the EEPROM module they can be connected directly to the EnOcean Module. See
example below:
Please check specific memory modules for compatibility before use. Changes in the Decod-
ing Gateway I2C interface may be required.
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 10/11
USER MANUAL V1.1
In cases where Dolphin Chip memory is used the Decoding Gateway does not erase a page
when the VDD-Fail-Interrupt occurs (typically at 2.5 V). This way a power drop of 0.5 –
0.7V must be covered by the capacitor. See reference 8 for details on VDD-Fail-Interrupt.
To ensure enough power for a flash erase is available during a sudden power drop the re-
ceiver is turned off for this period.
2.7 Configurations
The configurable values are stored in CFG Area. You can change them with DolphinStudio /
DolphinSuite. In addition to the Gateway Controller configurable parameters the following
security related parameters are available:
© 2015 EnOcean | www.enocean.com Decoding Gateway Controller User Manual V1.1 | Page 11/11