简体   繁体   中英

AT commands for sim900 to find sim card number

Which AT commands is used to find the sim card number for SIM900 modem? I have a sim card which was bought long a ago and forget that number.

Thanks...

AT + CNUM,但并非所有类型的SIM卡都支持此功能,有关更多信息,请参见http://www.electrodragon.com/w/SIM908_SIM900_Common_AT_Commands

AT+CNUM returns the mobile phone number stored on your SIM card. So if your mobile operator chose not to store your mobile phone number on the SIM card then you are out of luck. These days it is not very often that a mobile operator will do this.

The other answers here are a little misleading as it is not entirely a function as it is dependent on information being already stored on your SIM card.

As @Belal mentioned, you can get this info from the AT+CNUM command. This is the only command .If your SIM card doesn't support it , I think there is no other way. Some time the network operator have assigned some special USSD code to get the SIM card number, but that is a feature that depends on the operator

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