Emulator application for an IoT device.
LwM2M Server (1)
,Device (3)
,Firmware Update (5)
,Light Control (3311)
.data/config.yml
. See also chapter about configuration profiles../gradlew build
and run java -jar build/libs/iemu-*.jar
. The application will load configuration from data/config.yml
file.It's possible to define multiple .yml
files within data/
directory and control profile name with --{profile}
program argument.
Consider following configuration files:
$ tree data/
data
├── config-qa.yml
├── config-prod.yml
└── config.yml
Then selecting profile name looks following:
config file | java exec |
---|---|
config.yml |
java -jar build/libs/iemu-*.jar |
config-qa.yml |
java -jar build/libs/iemu-*.jar --qa |
config-prod.yml |
java -jar build/libs/iemu-*.jar --prod |
Application has just one view, displaying (refreshing automatically thanks to websocket connection) management UI for the device.