Add reForis plugin to manage LTE
This reForis module will be part of the LTE support package
.
Whenever a package is installed, necessary foris_controller_lte_module
will also be present.
Idea
Refer to the lte.json
schema in lte.json
get_settings
action
Along with settings (which if not to be set are not visible to the user), there is also info
sent from the backend.
The info should be visible on the page.
info
property of modem settings
The property | type | description |
---|---|---|
state |
enum | locked/connected |
manufacturer |
str | self explanatory |
model |
str | - |
operator |
- | |
registration |
enum | home/roaming |
sim_lock |
bool | whether modem needs PIN to unlock SIM to operate |
auth
property of the modem setting
The Only when type
is not "none"
username and password are required. Users can modify it.
property | type | desc |
---|---|---|
type |
enum | pap/chap/both/none |
username |
str | onyl required if when not type not none |
password |
str | same as above |
The root part of the response
property | type | desc |
---|---|---|
id |
str | modem id at backend |
qmi_device |
str | another modem identification |
apn |
str | Access Point Name |
pin |
str(4) | when "unset" , PIN is not present on uci backend |
Only apn
can be changed in this section.
update_settings
action
Extra properties
property | type | desc |
---|---|---|
new_pin |
str |
PIN to be changed |
User can set
apn
auth
Restrictions
Do not let the user change pin
unless sim_lock
is true
. It is not possible to use the current (mmcli) API.