Open 10. ZIP to download a generated meter project or update a complete project imported earlier.
New project
The page shows the target, object count and association count. Choose Generate and download ZIP. Configuration errors block generation; correct them on the relevant tab and use Validation again.
The archive includes C sources, target build files, configuration and a README explaining compilation and provisioning. Source generation works without a platform compiler on the web server. Build the extracted project using the tools required by the selected target.
Connect measurement and hardware logic through the generated application files. The generator owns files such as generated/cosem_objects.c/.h, association_views.c/.h and dlms_config.c/.h. Application files such as meter_callbacks.c, meter_measurements.c/.h and meter_hardware.c/.h are intended for application development. Preserve the project manifest so later updates can distinguish generated files from user files.
Toolbar: import and export
| Control | Effect |
|---|---|
| JSON-import | Loads a meter configuration. It does not import the application source files from a previously generated project. |
| Project ZIP import | Loads a complete generated project and its manifest for an update, preserving its user-owned files. A failed import leaves the existing active project in place. |
| Export JSON | Downloads configuration for later editing or regeneration. It is not a backup of application source code. |
| Include secrets in JSON and ZIP exports | Includes supported configured passwords and keys. By default those inline secrets are omitted and must be provisioned at runtime. |
| Create a new project from current settings, after ZIP import | Leaves the imported-project update workflow and uses the current configuration to generate a new project. |
| New minimum meter, when available | Replaces the current configuration with the selected target's minimal starting meter. Export existing work first if it needs to be retained. |
Importing a project ZIP is subject to archive limits: 32 MiB compressed, 64 MiB extracted, 16 MiB per file and 2000 files. The importer also validates paths and rejects unsafe archive structures.
Updating an imported project
| Control or result | Effect |
|---|---|
| Preview update | Compares generated files for the current settings against the imported project's manifest and content. Review the preview after changing settings or export options. |
| File / Change | Lists the affected files and the planned change kind. |
| Show diff | Displays the old and proposed text for the selected file. |
| Conflict message | Reports a modified or missing generated file. The default update is blocked so local changes are not silently discarded. |
| Symbol warnings | Identify removed or renamed symbols that application code may still reference. Update that code yourself where necessary. |
| Replace modified/missing generated files and keep backups in the new ZIP | Explicitly allows regeneration despite those conflicts and retains backups in the new archive. |
| Download updated ZIP | Produces the updated project. Without the replacement option, unresolved generated-file conflicts block it. |
| Download a separate candidate with backups | Produces a separate candidate using replacement with backups for review. The imported original is unchanged. |
Application files, build files and additional files are preserved by the update workflow. There is no automatic source merge for edits to generator-owned files. The manifest records hashes of actual generated sources so those changes can be detected.
Secret omission covers recognized generated configuration. Preserved user files and backups can still contain secrets you added yourself. Treat a complete project export according to its actual contents.
After download
- Extract the ZIP into a project directory.
- Read its README and install the target's build tools.
- Implement the required measurement, hardware and application functions.
- Provision passwords and keys omitted from the export.
- Use the Build quick starts to compile and flash the selected MCU with local tools or Docker. For desktop targets, follow the project's README.
- Test the selected transports, association SAPs, authentication, access rights and required object operations with a DLMS client.
Keep the original archive or a version-controlled project before applying an update to your working source tree.
Return to the manual.