2024/5/7

AT+COPS 與基地站相關的操作

列出所有的基地站
at+cops=?
+COPS: 
(1,"Chunghwa Telecom","Chunghwa","46692",7),
(2,"Chunghwa Telecom","Chunghwa","46692",2),
(1,"TWN APT","APT","46612",7),
(3,"TWN APT","APT","46605",7),
(3,"TW Mobile","TWM","46697",2),
(3,"T Star","T Star","46689",7),
(3,"TW Mobile","TWM","46697",7),
(3,"T Star","T Star","46689",2),
(1,"Far EasTone","FET","46601",2),
(3,"TWN APT","APT","46605",2),
(1,"Far EasTone","FET","46601",7),
,(0-4),(0-2)
回答的每一行的每一個item是:
(stat,long alphanumeric,short alphanumeric,numeric,AcT)
stat:
  • 0: 未知
  • 1: 可用
  • 2: 目前使用中
  • 3: 禁用
long/short aplhanumeric 就是 operator的名稱,全名和縮寫。
Act 就是基地站的技術
  • 0 GSM
  • 1 GSM Compact
  • 2 UTRAN
  • 3 GSM w/EGPRS
  • 4 UTRAN w/HSDPA
  • 5 UTRAN w/HSUPA
  • 6 UTRAN w/HSDPA and HSUPA
  • 7 E-UTRAN
所以上面的list 可以看出...目前用的是 Chunghwa, UTRAN (就是3G)

設定自動選擇基地站 at+cops=0:
at+cops=0
ok

CTZE: "+32",0,"2024/05/07,02:26:11"

+CTZE: "+32",0,"2024/05/07,02:42:37"
設玩好像重新開機,然後問目前的基地站是:
AT+COPS?
+COPS: 0,2,"46692",7

OK

手動選擇基地站要用at+cops=1:
at+cops=1,2,"46692",2
OK

+CTZE: "+32",0,"2024/05/07,02:54:36"
好像也會重開機?
1 代表 手動,後面的 2 是 format 用 numberic, 所以後面用 "46692" 也就是 Chunghwa Telecom 的 numberic 代表號,最後是基地站的技術 7 - E-UTRAN也就是 LTE.

沒有留言:

張貼留言