3GPP 27.007
7.2 Network registration +CREG (網路註冊狀態)
Set Command(設定指令/Tx)
+CREG=[<n>]
☆ 設定指令使用等號,勿與回報型態(Rx)的分號混為一談
☆ 設定是否回報與回報型態
☆ 若設定為是(設定為1或2),當UE的網路註冊狀態變更或cell id變更時,皆將收到回報
<n>:
Tx: AT+CREG=0
disable network registration unsolicited result code
(不回報網路註冊狀態)
Tx: AT+CREG=1
enable network registration unsolicited result code
(回報網路註冊狀態。僅以如下型態回報status參數)
+CREG: <stat>
Tx: AT+CREG=2
enable network registration and location information unsolicited result code
(以如下的完整參數回報網路註冊狀態)
+CREG:<stat>[,<lac>,<ci>[,<AcT>]]
Read Comment(查詢指令/讀取指令/Tx)
☆ 使用AT+CREG? 查詢/讀取網路註冊狀態。
☆ 回報型態依設定指令所指定方式。
☆ 回報內容除網路狀態外,亦可能為"錯誤"(+CME ERROR: <err>)
<stat>: (網路註冊狀態)
Rx: AT+CREG: 0
not registered, MT is not currently searching a new operator to register to
(未註冊,且MT不搜尋可註冊的新網路)
Rx: AT+CREG: 1
registered, home network
(已註冊。註冊於HPLMN [Home Public Land Mobile Network])
Note: HPLMN is a PLMN where the MCC and MNC of the PLMN identity match the MCC and MNC of the IMSI. (cited from 23.122)
Rx: AT+CREG: 2
not registered, but MT is currently searching a new operator to register to
(未註冊,但MT正在尋找可註冊的新網路)
Rx: AT+CREG: 3
registration denied
(註冊遭拒)
Rx: AT+CREG: 4
unknown
(未知的網路註冊狀態)
Rx: AT+CREG: 5
registered, roaming
已註冊,漫遊中。
<lac> :
Location Area Code. 2個byte的字串形式。採16進位制。如00C3。
<AcT>: access technology of the registered network
所註冊網路接取技術(請注意,此部分規格於Release 8大幅增訂)
[Release 7]
0: GSM
1: GSM Compact
2: UTRAN
[Release 8]
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
觀念提醒: 這個指令是"狀態"型的指令,它能操控的是看狀態的format,能顯示的則是註冊的狀態。這個指令不能用來做向網路說我要註冊的動作。如果想用指令和網路註冊,請參見+COPS。
Wednesday, August 06, 2008
Friday, August 01, 2008
[Nara 2008] 長谷寺-雪の前日
撮影日付:23rd FEB 2008
撮影場所:Nara, Japan. (奈良県長谷寺)
機材:EOS Kiss digital + EF 24-70mm
照片裡是奈良的山上的名剎,長谷寺,
2008年春天最後一場雪的前一天,看起來無限蒼涼。
[20080731]
debug到天幾乎亮了才睡。
我的程式//的debug function比真的code還多。喵唉唉唉。
只瞇了一下又爬起來趕進office,感覺自己的意識徹底幽靈化。
第一次看HSDPA throughput issue,
一開始打開QXDM我當然連視線要放哪裡都不知道,
花一堆時間撈spec,然後也終於學會用那幾個圖像化分析的view,
我好像一直一直都在當新人...
USIM EF CFIS事件也真是太扯了,
雖然我之前一直沒弄懂+CRSM的p2該下什麼也是我的錯啦,
但是,吼吼吼,爛讀卡機軟體,你也幫幫忙咩,泣。
[CatNote]
☆ InvalidateRect: to redraw the window thus could obtain WM_PAINT which can not be send/post directly.
☆ member function of a class is also referred as method of the class.
☆ call operator: the "( )" operator. The operator causes a function to be invoked.
☆ variable → A named object.
☆ != Assignment operator
☆ For BOOL type, any nonzero value is treated as true and 0 is false.
Subscribe to:
Posts (Atom)