Skip to content

Jotape-M/dlms-translator

Repository files navigation

DLMS Translator

DLMS Translator is an IntelliJ Platform (IntelliJ IDEA, PyCharm, etc.) plugin designed to simplify the workflow for developers working with the DLMS/COSEM protocol. It provides quick translation of hex or base64 frames (PDUs) into a readable and well-formatted XML format.

🚀 Features

  • PDU to XML Translation: Converts DLMS PDUs into structured XML.
  • Tool Window: A dedicated interface on the right sidebar for manual input and XML visualization.
  • Automatic Formatting: XML is generated with professional indentation for enhanced readability.

🛠️ How to Use

Using the Tool Window

  1. Open the DLMS Translator tool window on the right sidebar of your IDE.
  2. Paste the hex or base64 frame into the upper input field.
  3. Click the translation button.
  4. The formatted XML will be displayed in the lower area. You can copy the result using the copy icon in the output area's toolbar.

📦 Technologies and Dependencies

This plugin leverages the following libraries and tools:

  • Gurux.DLMS.java: The core library responsible for DLMS/COSEM translation logic.
  • IntelliJ Platform SDK: Framework for plugin development.
  • Kotlin: Modern programming language used for implementation.

🔧 Configuration and Compilation

To compile the project locally:

  1. Clone the repository.
  2. Import it as a Gradle project in IntelliJ IDEA.
  3. Use the runIde Gradle task to test the plugin in a new IDE instance.
  4. Use the buildPlugin Gradle task to generate the installable .zip file.

Developed by jotapem

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages