luci-proto-ncm: adds missing error messages, removes 'dialnumber' option, changes... 5903/head
authorJalakas <anari.jalakas@gmail.com>
Thu, 28 Jul 2022 16:23:21 +0000 (19:23 +0300)
committerJalakas <anari.jalakas@gmail.com>
Thu, 28 Jul 2022 16:53:26 +0000 (19:53 +0300)
commit049d876bc14a1282089701acfa007c63fe6f99d8
treeae36275d0d15bb5b1bdc8fa20d11c55a6629f9b3
parent801d4513b25117de20706695dda715ff34c9355b
luci-proto-ncm: adds missing error messages, removes 'dialnumber' option, changes 'delay' according to real behavior
This commit:
Adds missing error messages and harmonizes message texts with comgt-ncm script. [1]
Removes option 'dialnumber' not used in comgt-ncm. [1][2]
Fixes option 'delay' according to comgt-ncm script real behavior. (No default value, if parameter is set, then there's always sleep) [1]

[1] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.sh
[2] https://github.com/openwrt/openwrt/blob/master/package/network/utils/comgt/files/ncm.json

Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js