set-allowed-modes any - Incorrect parameters
Calling mmcli -m any --set-allowed-modes "any"
probably fails since it doesn't support 3g.
mmcli -m any --set-allowed-modes "any"
error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.IncorrectParameters: Incorrect parameters'
mmcli -m any --set-allowed-modes "2g"
successfully set current modes in the modem
mmcli -m any --set-allowed-modes "4g"
successfully set current modes in the modem
mmcli -m any --set-allowed-modes "any"
error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.IncorrectParameters: Incorrect parameters'
mmcli -m any
--------------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 2a5ac03076dde27da5aa11eff6e5075ff29bf06a
--------------------------------
Hardware | manufacturer: Telit
| model: LE910S1-EA
| firmware revision: M0K.010001
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 358514680183983
--------------------------------
System | device: /sys/devices/platform/soc/30800000.bus/30b20000.usb/ci_hdrc.0/usb1/1-1/1-1.1
| drivers: option
| plugin: telit
| primary port: ttyUSB2
| ports: ttyUSB0 (ignored), ttyUSB1 (at), ttyUSB2 (at)
--------------------------------
Numbers | own: +4549321246
--------------------------------
Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: connected
| power state: on
| access tech: gprs
| signal quality: 14% (recent)
--------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 4g; preferred: none
| current: allowed: 2g, 4g; preferred: none
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP EPS | ue mode of operation: csps-1
--------------------------------
SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
--------------------------------
Bearer | paths: /org/freedesktop/ModemManager1/Bearer/1
| /org/freedesktop/ModemManager1/Bearer/0