4
Fork 0

Tested on OpenWRT

This commit is contained in:
R3ABM Artem 2016-08-02 00:21:24 +03:00
parent bf22e37565
commit 7acd64f276
4 changed files with 15 additions and 3 deletions

View file

@ -0,0 +1,17 @@
local map = Map("cronosagent", "CronosAgent")
local section = map:section(TypedSection, "cronosagent", "Configuration")
local number = section:option(Value, "number", "Repeater ID", "DMR ID assigned to your repeater" )
local repeater = section:option(Value, "repeaterAddress", "Repeater Address", "Address of your KAIROS repeater" )
local server = section:option(Value, "serverAddress", "Server address", "Address of BrandMeister DMR Server")
local password = section:option(Value, "serverPassword", "Password", "Password to login" )
number.datatype = "range(1,16777215)"
repeater.datatype = "ip4addr"
server.datatype = "host"
password.datatype = "string"
password.password = true
return map