简体   繁体   中英

Finding out SIM card operator

My JAVA program can find a modem connected with serial port. Like:

COM1: Serial
COM3: Serial  // This is my modem
LPT1: Parallel
LPT2: Parallel

Is there any AT Command or other process which can help me to find out the operators identity (name), who's SIM is being used in the modem?

The command for finding out which.network you are registered on is

AT+COPS?

On mine, that outputs

+COPS: 0,0,"giffgaff",2

Where the string in the quotes is the operator's name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM