jyijyi
August 3, 2022, 3:11pm
61
you can also try the MBPL SDK:
owner@ubuntu:~/QMI/MBPL/R23/MBPL_SDK_R23_ENG4-lite.bin/SampleApps/lite-mbim-connection-manager$ sudo ./bin/lite-mbim-connection-managerhostx86_64 -s settings-simple.conf
setting-simple.conf:
session 0,,,smartone,MBIMCompressionNone,MBIMAuthProtocolNone,MBIMContextIPTypeIPv4,false,vlan.0,4094
how can i get the ip address of the EM module with an AT command
This works but returns
+CGPADDR: 1,0.0.0.0
Is there any attachment phase to perform? With an at command
jyijyi
August 3, 2022, 8:14pm
66
Did you enter correct APN in +cgdcont
My phone provider does not require any apn. In this case how would you recommend me to set at+cgdcont? For ftp or http services
jyijyi
August 4, 2022, 6:37am
68
can you change another SIM which needs APN ?
Yes i can but is it mandatory to provide an apn field?
jyijyi
August 4, 2022, 6:49am
70
I don’t know, normally i tested with APN field
Does your SIM ( no APN) need username and password to establish data connection?
No this SIM does not require any username nor password
jyijyi
August 4, 2022, 7:27am
72
can it use LTE?
It seems register on WCDMA…
What do you mean by : it seems register on wcdma . How do you guess this?
Yes it must be able to use lte. I see it in the caps
jyijyi
August 4, 2022, 9:01am
74
i saw it from your screenshot:
It seems that by using the correct APN, i can get something from mbimcli
mbimcli -d /dev/cdc-wdm0 -p --connect=apn=‘mobiledata’
As you can see It seems to give me an address =10.138.185.207/27
Am i right?
But how can i use this IP
jyijyi
August 4, 2022, 2:34pm
76
Does your network interface in ifconfig have this address?
Btw, the firmware version of your module is really old …
My ifconfig does not reflect this address unless i do: ip addr add<ip adre/nr> dev wwan0
jyijyi
August 5, 2022, 3:32am
78
you can also try “udhcpc -i wwan0”
Hi is it possible to call c functions of the lib libmbim to get the equivalent of call of:
mbimcli -d /dev/cdc-wdm0 -p --query-registration-state
jyijyi
August 20, 2022, 12:12pm
80
You can use system() call