View Source mix knx.gen.grpaddr_map (knxex v0.1.0)
Reads the given KNX ETS project and generates a map of all group addresses to their Datapoint Type (DPT). This map can be used for the KNX Multicast Client and KNX Tunnel Client.
Group addresses that do not specify a DPT are ignored.
The first argument must be given to specify the path to the ETS project.
The second argument can be given to specify the path where to store the map (in Inspect format). If no target is given, the map is printed to stdout.
Info output is only generated when map is written to file, and not to stdout.
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1.
Link to this section Functions
@spec run(list()) :: :ok
Callback implementation for Mix.Task.run/1.