<%+header%> <% local sys = require "luci.sys" local utl = require "luci.util" local fs = require "nixio.fs" local uci = require "luci.model.uci".cursor() local s = uci:get("custom", "bandlock", "enabled") local a = uci:get("custom", "atcmd", "enabled") local multilock = uci:get("custom", "multiuser", "multi") or "0" local rootlock = uci:get("custom", "multiuser", "root") or "0" nomulti=1 if (multilock == "0") or (multilock == "1" and rootlock == "1") then nosms = 1 if a == "1" then nosms = 0 end else nosms = 1 nomulti = 0 end block = 1 if s == "1" then block = 0 end function showicon(lck) if lck == 0 then return resource .. "/icons/unlock1.png" else return resource .. "/icons/lock1.png" end end -%>

<%:Miscellaneous Modem Features%>

<%:A Collection of Modem Features%>
<%:Current Modem%>
    <%:Connection/Disconnection%>
    <% if nosms == 0 then %>
    <%:AT-Command Terminal%>
    <%:AT-Command : %>
     
    <%:AT-Command : %>
     
    <% end %> <% if nomulti == 1 then %> <% if block == 0 then %>
    <%:Cellular Bands%>
     
    <%:No Modem Present%>  
     
    <%:LTE Bands%>
     
     
    <%:5G NSA Bands%>
     
     
    <%:5G SA Bands%>
     
       
     
     
    <%:2 x Carrier Aggregation%>
    <%:3 x Carrier Aggregation%>
     
     
    <%:Scan to Find Bands Available in Area%>
     
       
    <%:Lock to a Single Cell%>
     
    <%:Status : %>
         
    <%:EARFCN 1 : %>
    <%:PCI 1 : %>
     
    <%:EARFCN 2 : %>
    <%:PCI 2 : %>
     
    <%:EARFCN 3 : %>
    <%:PCI 3 : %>
     
    <%:EARFCN 4 : %>
    <%:PCI 4 : %>
     
     
    <% end %>
    <%:Modem Protocol%>
     
    <%:Current Modem Protocol :%>
     
     
    <%:Change Cellular Mode :%>
    <%:Cellular Mode%>
    <%:Current Cellular Mode :%>
     
    <%:Change Cellular Mode :%>
     
    <% end %>
    <%:GPS Message Pin%>
     
    <%:Message Pin :%>
     
    <%+footer%>