I am using a simple procedure to initiate connection with qmicli:
qmicli -p -d /dev/cdc-wdm0 --wda-set-data-format=link-layer-protocol=raw-ip,ul-protocol=qmap,dl-protocol=qmap,ep-type=hsusb,ep-iface-number=4
qmicli -p -d /dev/cdc-wdm0 --wds-noop --client-no-release-cid
qmicli -p -d /dev/cdc-wdm0 --wds-bind-mux-data-port=mux-id=1,ep-iface-number=4 --client-no-release-cid --client-cid=19
qmicli -p -d /dev/cdc-wdm0 --wds-start-network=apn=auto,ip-type=4 --client-no-release-cid --client-cid=19
qmicli -p -d /dev/cdc-wdm0 --wds-get-current-settings --client-no-release-cid --client-cid=19
The output of the settings is as follow:
root@Rmodem:~# qmicli -p -d /dev/cdc-wdm0 --wds-get-current-settings --client-no-release-cid --client-cid=19
[/dev/cdc-wdm0] Current settings retrieved:
IP Family: IPv4
IPv4 address: 192.168.10.56
IPv4 subnet mask: 255.255.255.240
IPv4 gateway address: 192.168.10.57
IPv4 primary DNS: 8.8.8.8
MTU: 1500
Domains: none
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '19'
But the default gateway of the base station is 192.168.10.1 and the subnet mask must be 255.255.255.0.
Is there an option to configure the module to report the actual distributed network information?