francois:huawei_e220
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| francois:huawei_e220 [2015/12/19 09:20] – [Modes of operation] francois | francois:huawei_e220 [2020/12/17 09:31] (Version actuelle) – francois | ||
|---|---|---|---|
| Ligne 15: | Ligne 15: | ||
| ===== Set the pin code ===== | ===== Set the pin code ===== | ||
| + | AT+CPIN=1234 | ||
| Next, we configure the modem to NOT ask for the SIM PIN any more. Replace xxxx with your PIN! Of course this step needs a SIM card inserted in the modem. | Next, we configure the modem to NOT ask for the SIM PIN any more. Replace xxxx with your PIN! Of course this step needs a SIM card inserted in the modem. | ||
| Ligne 20: | Ligne 21: | ||
| You can re-enable the PIN constraint with | You can re-enable the PIN constraint with | ||
| - | AT+CLCK=”SC”, | + | AT+CLCK=”SC”, |
| ===== Modes of operation ===== | ===== Modes of operation ===== | ||
| Ligne 44: | Ligne 45: | ||
| Pay attention that there are no spaces after the commas and type in the correct number of “F”s. | Pay attention that there are no spaces after the commas and type in the correct number of “F”s. | ||
| + | |||
| + | ==== AT^SYSCFG Huawei command reference ==== | ||
| + | |||
| + | To see the supported values, you can query your own modem sending the '' | ||
| + | |||
| + | **'' | ||
| + | |||
| + | **$mode** | ||
| + | * 2=Auto-Select | ||
| + | * 13=GSM only | ||
| + | * 14=WCDMA only | ||
| + | * 16=no Change | ||
| + | |||
| + | **$acqOrder** | ||
| + | * 0=Automatic | ||
| + | * 1=GSM prefered | ||
| + | * 2=WCDMA prefered | ||
| + | * 3=no Change | ||
| + | |||
| + | **$band** | ||
| + | * 3fffffff = All | ||
| + | * other (query list with " | ||
| + | |||
| + | **$roam** | ||
| + | * 0=Not Supported | ||
| + | * 1=Supported | ||
| + | * 2=no Change | ||
| + | |||
| + | **$srvDomain** | ||
| + | * 0=Circuit-Switched only | ||
| + | * 1=Packet-Switched only | ||
| + | * 2=Circuit- & Packet-Switched | ||
| + | * 3=Any | ||
| + | * 4=no Change | ||
| ===== Sending and receiving SMS ===== | ===== Sending and receiving SMS ===== | ||
| Ligne 85: | Ligne 120: | ||
| The flag value can be one of the following: | The flag value can be one of the following: | ||
| - | 0 – Only delete SMS at index given | + | |
| - | 1 – Ignore index and delete all “received read” SMS | + | |
| - | 2 – Ignore index and delete all “received read” or “stored sent” SMS | + | |
| - | 3 – Ignore index and delete all “received read” or “stored sent” or “stored unsent” SMS | + | |
| - | 4 – Ignore index and delete all SMS | + | |
| Lastly, we are going to send an SMS. This is done with the command “CMGS”. The syntax is: | Lastly, we are going to send an SMS. This is done with the command “CMGS”. The syntax is: | ||
| Ligne 97: | Ligne 132: | ||
| Beware: I just spent one hour debugging, because I did get the “ERROR: 330” message despite the fact that “CSCA” did return the correct number. In the end I decided to just write the number again to the modem and give it a try. And it worked. I just have no idea why… | Beware: I just spent one hour debugging, because I did get the “ERROR: 330” message despite the fact that “CSCA” did return the correct number. In the end I decided to just write the number again to the modem and give it a try. And it worked. I just have no idea why… | ||
| + | |||
| + | ===== ^BOOT ===== | ||
| + | |||
| + | In AT Command Interface Specification, | ||
| + | |||
| + | You can disable all unsolicited result by the following AT command: | ||
| + | |||
| + | AT^CURC=0 | ||
| + | |||
| + | To enable it back just change 0 to 1: | ||
| + | |||
| + | AT^CURC=1 | ||
| + | |||
| + | |||
francois/huawei_e220.1450516840.txt.gz · Dernière modification : (modification externe)
