# 5.1.1.AT Command

* 1.AT+CPIN?
  * Description: 確認是否已輸入密碼
  * Success Response:&#x20;

    ```
      +CPIN:READY
      OK
    ```
  * Error Response:

    ```
      +CPIN:  +CME ERROR: 
    ```
  * Example:
* 2.AT+CSQ
  * Description: 取得模組的signal quality:+CSQ:\</rssi/>,\</ber/>&#x20;
  * Mode:
    * 1.AT+CSQ?
      * returns the signal strength of the device

        ```
                  Value    RSSI dBm    Condition
                  2    -109    Marginal
                  3    -107    Marginal
                  4    -105    Marginal
                  5    -103    Marginal
                  6    -101    Marginal
                  7    -99    Marginal
                  8    -97    Marginal
                  9    -95    Marginal
                  10    -93    OK
                  11    -91    OK
                  12    -89    OK
                  13    -87    OK
                  14    -85    OK
                  15    -83    Good
                  16    -81    Good
                  17    -79    Good
                  18    -77    Good
                  19    -75    Good
                  20    -73    Excellent
                  21    -71    Excellent
                  22    -69    Excellent
                  23    -67    Excellent
                  24    -65    Excellent
                  25    -63    Excellent
                  26    -61    Excellent
                  27    -59    Excellent
                  28    -57    Excellent
                  29    -55    Excellent
                  30    -53    Excellent
        ```
    * 2.AT+CSQ=?
      * list of supporteds
  * Example:

    ```
      AT+CSQ?
      +CSQ:18,99
    ```
* 3.AT+COPS?
  * Description: 指定或是取得模組的訊號種類(2G/3G/4G)&#x20;
  * Mode:
    * 1.AT+COPS?
      * 取得目前模組的訊號種類
        * 0 GSM (2G)
        * 1 GSM Compact (2G)
        * 2 UTRAN (3G)
        * 3 GSM w/EGPRS (2.75G)
        * 4 UTRAN w/HSDPA (3.5G)
        * 5 UTRAN w/HSUPA (4G)
        * 6 UTRAN w/HSDPA and HSUPA (3.5G and 4G)
        * 7 E-UTRAN (3G)

![](https://3840825399-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4M0G8PXRnA3yHgZCAL%2F-M4M0Gn8DmjJ2aT88bjY%2F-M4M0IZ3dcABpSFZjEAx%2F%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202017-06-13%20%E4%B8%8B%E5%8D%886.35.27.png?generation=1586302897340553\&alt=media)

* 2.AT+COPS=?
  * list目前模組可用的訊號種類
* 3.AT+COPS=\[\[, \[,\[,]]]]
  * 指定模組的訊號種類
    * 4.AT^SIND?
    * Description:
    * Mode:
    * 5.AT^SCFG?
    * Description:
    * Mode:
    * 6.AT+CGDCONT
    * 7.AT+CGCONTRDP
