default y
help
Compile ModemManager with QMI support
+
+ config MODEMMANAGER_WITH_AT_COMMAND_VIA_DBUS
+ bool "Allow AT commands via DBus"
+ default n
+ help
+ Compile ModemManager allowing AT commands without debug flag
endmenu
--disable-rpath \
--disable-gtk-doc
+ifeq ($(CONFIG_MODEMMANAGER_WITH_AT_COMMAND_VIA_DBUS),y)
+ CONFIGURE_ARGS += --with-at-command-via-dbus
+endif
+
ifdef CONFIG_MODEMMANAGER_WITH_MBIM
CONFIGURE_ARGS += --with-mbim
else
option pincode '7423'
option iptype 'ipv4'
option lowpower '1'
+ option signalrate '30'
Only 'device' and 'proto' are mandatory options, the remaining ones are all
optional.
The 'iptype' option supports any of these values: 'ipv4', 'ipv6' or 'ipv4v6'.
It will default to 'ipv4' if not given.
+
+The 'signalrate' option set's the signal refresh rate (in seconds) for the device.
+You can call signal info with command: mmcli -m 0 --signal-get
proto_config_add_string password
proto_config_add_string pincode
proto_config_add_string iptype
+ proto_config_add_int signalrate
proto_config_add_boolean lowpower
proto_config_add_defaults
}
local bearermethod_ipv4 bearermethod_ipv6 auth cliauth
local operatorname operatorid registration accesstech signalquality
- local device apn allowedauth username password pincode iptype metric
+ local device apn allowedauth username password pincode iptype metric signalrate
local address prefix gateway mtu dns1 dns2
- json_get_vars device apn allowedauth username password pincode iptype metric
+ json_get_vars device apn allowedauth username password pincode iptype metric signalrate
# validate sysfs path given in config
[ -n "${device}" ] || {
return 1
}
+ # check if Signal refresh rate is set
+ if [ -n "${signalrate}" ] && [ "${signalrate}" -eq "${signalrate}" ] 2>/dev/null; then
+ echo "setting signal refresh rate to ${signalrate} seconds"
+ mmcli --modem="${device}" --signal-setup="${signalrate}"
+ else
+ echo "signal refresh rate is not set"
+ fi
+
# log additional useful information
modemstatus=$(mmcli --modem="${device}" --output-keyvalue)
operatorname=$(modemmanager_get_field "${modemstatus}" "modem.3gpp.operator-name")