3
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【AT Command】 AT+CREG: Network registration(ネットワークの登録状況)の確認

Posted at

MEMO

AT+CREG?でNetwork registrationを調べてみると、ネットに記載されている例の返り値と異なっていた。
しかし、挿しているSIMの契約によって返り値が決定することがわかったので、正常のようだ。

環境

  • OS: windows10
  • ターミナル: m-center v.02.03.00

ハードウェア

  • インターフェースモジュール: mini pcie usbアダプタ
  • セルラー通信モジュール: SIMCom SIM7500JC
  • SIM: soracom plan-D

AT+CREG

Network registration(ネットワークの登録状況)を確認するためのコマンド。
セルラー通信モジュールのメーカーによって確認のコマンドは異なるので注意。

音声通信SIM

AT+CREG?
+CREG: 0,1
OK

データ通信SIM(SMS有)

AT+CREG?
+CREG: 0,1
OK

データ通信SIM(SMS無)

AT+CREG?
+CREG: 0,3
OK

SIMCOMの定義

0 – not registered, ME is not currently searching a new operator to register to
1 – registered, home network
2 – not registered, but ME is currently searching a new operator to register to
3 – registration denied
4 – unknown
5 – registered, roaming

参考文献

3
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?