Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 AT 命令查看我的 SIM 卡余额?或者有没有其他方法可以做到这一点而不从 GSM 调制解调器中取出 SIM 卡?或使用 PHP 脚本..?
谢谢你。
您可以通过 AT 命令向运营商用于报告余额的电话号码发送 SMS 消息。
例如:Vodafone.nz 在电话号码 777 上使用文本“BAL”。然后,运营商通过传入的 SMS 消息将余额发回。
要发送消息,请使用 AT+CMGF 和 AT+CMGS 命令。
要读取消息(包含余额),请使用 AT+CMGR 命令。