Paul Donald
1731fe12b5
luci-proto-modemmanager: Added logging level option and debugmode
...
Merge github.com:valexi7/luci PR #4328
Signed-off-by: Paul Donald <newtwen@gmail.com>
Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
2023-12-04 01:20:46 +01:00
Florian Eckert
3f2320e0aa
luci-proto-modemmanager: also allow none for preferredmode config option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-01 09:52:13 +02:00
Florian Eckert
818bf22b8b
luci-proto-modemmanger: register missing error codes
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:23 +02:00
Florian Eckert
1e6f52ac69
luci-proto-modemmanager: delete removed error codes
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:10 +02:00
Florian Eckert
5b925ea92b
luci-proto-modemmanager: add allowed and preferred mode
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:29:25 +02:00
Lukas Voegl
594bc35b87
luci-proto-modemmanager: use helper in protocol
...
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Lukas Voegl
54aa70112c
luci-proto-modemmanager: add status page
...
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Florian Eckert
71b7ecb777
luci-proto-modemmanager: fix acl regex to support more then 9 modem objects
...
If a modem is restarted often, the modem manager object number is
increased by one. Currently, the regex is set so that the modem can no
longer be selected if the object number is greater than 9. This change
fixes that.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[replace wildcard with rule duplication to disallow option injection]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-03-16 00:05:18 +01:00
Jo-Philipp Wich
5ff3ef7cbb
protocols: make APN option optional again
...
Fixes : #5284
Fixes: 1661ac6bf8
("luci-proto-ncm: add APN and PIN validation")
Fixes: 114dc38dc2
("luci-proto-qmi: add APN and PIN validation")
Fixes: 6a8ad40b05
("luci-proto-3g: add APN and PIN validation")
Fixes: ebb676ef7b
("luci-proto-modemmanager: add APN and PIN validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-08-19 08:59:17 +02:00
Nicholas Smith
ebb676ef7b
luci-proto-modemmanager: add APN and PIN validation
...
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
[squash commits, fix white space]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-07-13 20:10:04 +02:00
Jo-Philipp Wich
96ee6dc8d6
protocols: rename "device" option to "_modem_device"
...
This is required to resolve clashes with the generic "option device"
referring to netdev names in current netifd versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01 15:34:11 +02:00
Jo-Philipp Wich
171ef77e89
treewide: remove rendundant proto handler options
...
The introduction of network device configuration support also implemented
all common, protocol-independent interface options directly in the
interface config view, so drop the redundant option definitions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-15 11:41:44 +01:00
Nicholas Smith
ab7e45cadb
luci-proto-modemmanager: add support for specifying signal refresh rate
...
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
2021-01-07 22:07:24 +10:00
valexi7
718851fb7d
luci-proto-modemmanger: add missing proto options
...
Added options for signal refresh rate and Debugmode.
Added logging level option
Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
luci-proto-modemmanger: add missing proto options
Changed logging level translations according to OpenWRT standards
Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
2020-08-05 22:00:36 +03:00
Nicholas Smith
29edc02f1c
luci-proto-modemmanager: add modem specific error messages.
...
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-07-10 20:39:07 +10:00
Jo-Philipp Wich
58c091ac9b
luci-proto-modemmanager: use nmcli to detemrine modem choices
...
Fixes : #3586
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-08 11:28:14 +01:00
Jo-Philipp Wich
284918bfaf
treewide: move templates and libraries not used by the core to luci-compat
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Anton Kikin
afc120a6c6
luci-proto-modemmanager: add translation for values
...
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-10-14 19:03:50 +03:00
Nicholas Smith
6a79c61221
luci-proto-modemmanager: add luci-proto-modemmanager
...
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-11 08:27:02 +10:00