@@ -1713,27 +1713,29 @@ that are specific to modem-manager interfaces (2G, 3G, 4G, LTE, etc).
17131713
17141714These are the ``OpenWrt `` backend NetJSON extensions for Modem Manager interfaces:
17151715
1716- +--------------+---------+-----------------+--------------------------------------------+
1717- | key name | type | default | allowed values |
1718- +==============+=========+=================+============================================+
1719- | ``proto `` | string | ``modemanager `` | ``modemanager `` |
1720- +--------------+---------+-----------------+--------------------------------------------+
1721- | ``apn `` | string | empty | APN, can be left blank |
1722- +--------------+---------+-----------------+--------------------------------------------+
1723- | ``pin `` | string | empty | PIN code, can be left blank |
1724- +--------------+---------+-----------------+--------------------------------------------+
1725- | ``device `` | string | empty | path to device (see note below) |
1726- +--------------+---------+-----------------+--------------------------------------------+
1727- | ``password `` | string | empty | password, can be left blank |
1728- +--------------+---------+-----------------+--------------------------------------------+
1729- | ``username `` | string | empty | username, can be left blank |
1730- +--------------+---------+-----------------+--------------------------------------------+
1731- | ``metric `` | integer | ``50 `` | metric, can be left blank |
1732- +--------------+---------+-----------------+--------------------------------------------+
1733- | ``iptype `` | string | ``ipv4 `` | One of ``ipv4 ``, ``ipv6 ``, ``ipv4v6 `` |
1734- +--------------+---------+-----------------+--------------------------------------------+
1735- | ``lowpower `` | boolean | ``False `` | low power mode |
1736- +--------------+---------+-----------------+--------------------------------------------+
1716+ +----------------+---------+-----------------+--------------------------------------------+
1717+ | key name | type | default | allowed values |
1718+ +================+=========+=================+============================================+
1719+ | ``proto `` | string | ``modemanager `` | ``modemanager `` |
1720+ +----------------+---------+-----------------+--------------------------------------------+
1721+ | ``apn `` | string | empty | APN, can be left blank |
1722+ +----------------+---------+-----------------+--------------------------------------------+
1723+ | ``pin `` | string | empty | PIN code, can be left blank |
1724+ +----------------+---------+-----------------+--------------------------------------------+
1725+ | ``device `` | string | empty | path to device (see note below) |
1726+ +----------------+---------+-----------------+--------------------------------------------+
1727+ | ``password `` | string | empty | password, can be left blank |
1728+ +----------------+---------+-----------------+--------------------------------------------+
1729+ | ``username `` | string | empty | username, can be left blank |
1730+ +----------------+---------+-----------------+--------------------------------------------+
1731+ | ``metric `` | integer | ``50 `` | metric, can be left blank |
1732+ +----------------+---------+-----------------+--------------------------------------------+
1733+ | ``iptype `` | string | ``ipv4 `` | One of ``ipv4 ``, ``ipv6 ``, ``ipv4v6 `` |
1734+ +----------------+---------+-----------------+--------------------------------------------+
1735+ | ``lowpower `` | boolean | ``False `` | low power mode |
1736+ +----------------+---------+-----------------+--------------------------------------------+
1737+ | ``signalrate `` | integer | | singal refresh rate in seconds |
1738+ +----------------+---------+-----------------+--------------------------------------------+
17371739
17381740.. note ::
17391741 ``device `` is a required property but can be left empty so that
@@ -1761,7 +1763,8 @@ The following *configuration dictionary*:
17611763 " metric" : 50 ,
17621764 " lowpower" : False ,
17631765 " name" : " modem0" ,
1764- " mtu" : 1500
1766+ " mtu" : 1500 ,
1767+ " signalrate" : 5 ,
17651768 }
17661769 ]
17671770 }
@@ -1770,16 +1773,19 @@ Will be rendered as follows::
17701773
17711774 package network
17721775
1776+ config device 'device_modem0'
1777+ option mtu '1500'
1778+ option name 'modem0'
1779+
17731780 config interface 'modem0'
17741781 option apn 'apn.operator.com'
17751782 option device '/sys/devices/platform/ahb/1b000000.usb/usb1/1-1'
1776- option ifname 'wwan0'
17771783 option lowpower '0'
17781784 option metric '50'
1779- option mtu '1500'
17801785 option password 'pwd123456'
17811786 option pincode '1234'
17821787 option proto 'modemmanager'
1788+ option signalrate '5'
17831789 option username 'user123'
17841790
17851791Radio settings
0 commit comments