Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set prefered operator with LUA #94

Open
0x0fe opened this issue Mar 20, 2023 · 3 comments
Open

how to set prefered operator with LUA #94

0x0fe opened this issue Mar 20, 2023 · 3 comments

Comments

@0x0fe
Copy link

0x0fe commented Mar 20, 2023

Hello, we need to be able to define a prefered operator, just like AT+COPS or AT+CPOL, what is the correct way to do this from LUA?

@wendal
Copy link
Member

wendal commented Mar 20, 2023

Air780E ?

@0x0fe
Copy link
Author

0x0fe commented Mar 20, 2023

yes

@0x0fe
Copy link
Author

0x0fe commented Mar 24, 2023

@wendal any update on this?

AT+COPS=?
+COPS: (2,"T-Mobile USA","TMO","310260"),,(0-4),(0-2)
OK
Available Networks:
Network Name->T-Mobile USA
Network ID->310260
Network Status->Current
AT+COPS?
+COPS: 0,0,"T-Mobile USA"
OK
Device is currently on "T-Mobile USA" network.
AT+COPS=1,0,"TMO"
ERROR
AT+COPS=1,1,"T-Mobile USA"
ERROR
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
AT+COPS=2
OK
Network selection sucessful.
Updating the list...
AT+COPS=?
ERROR
Unable to find networks.
AT+COPS?
+COPS: 2
OK
AT+COPS=1,2,"310260"
OK
Network selection sucessful.
Updating the list...
AT+COPS=?
+COPS: (2,"T-Mobile USA","TMO","310260"),,(0-4),(0-2)
OK
AT+COPS=0,0, "TMO"
OK
Network selection sucessful.
Updating the list...
AT+COPS=?
+COPS: (2,"T-Mobile USA","TMO","310260"),,(0-4),(0-2)
OK
Available Networks:
Network Name->T-Mobile USA
Network ID->310260
Network Status->Current

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants