mise à jour de la doc

This commit is contained in:
2022-10-22 11:25:12 +02:00
parent 2895819b1e
commit 9fc88bc7c2

181
README.md
View File

@@ -1,3 +1,182 @@
# KineIntercom
Programme Python pour l'intercom des Kines
Programme Python pour l'intercom des Kines
## Commandes AT nécessaires :
#### AT+CGMI Request Manufacturer Identification
```
AT+CGMI
SIMCOM_Ltd
OK
```
#### AT+CGMM: AT+CGMM Request Model Identification
```
AT+CGMM
SIMCOM_SIM868
OK
```
#### AT+CGMR: Request TA Revision Identification of Software Release
```
AT+CGMR
Revision:1418B02SIM868M32_BT_EAT
OK
```
#### AT+COPS Operator Selection
+COPS: <mode>[,<format>, <oper>]
OK
<oper> Refer to [27.007]
operator in format as per <format>
<mode>
0. Automatic mode; <oper> field is ignored
1. Manual (<oper> field shall be present, and <AcT>
optionally)
2. manual deregister from network
3. set only <format> (for read Command +COPS?) - not shown in Read Command response
4. Manual/automatic (<oper> field shall be present); if manual selection fails, automatic mode (<mode>=0) is entered
<format>
0. Long format alphanumeric <oper>
1. Short format alphanumeric <oper>
2. Numeric <oper>; GSM Location Area Identification
```
AT+COPS?
+COPS: 0,0,"SFR"
OK
```
#### AT+CSQ Signal Quality Report
+CSQ: <rssi>,<ber>
<rssi>
* 0 -115 dBm or less
* 1 -111 dBm
* 2...30 -110... -54 dBm
* 31 -52 dBm or greater
* 99 not known or not detectable
<ber> (in percent):
* 0...7 As RXQUAL values in the table in GSM 05.08 [20] subclause 7.2.4
* 99 Not known or not detectable
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
```
AT+CSQ
+CSQ: 19,0
OK
```
#### AT+CREG Network Registration
+CREG: <n>,<stat>
<n>
* 0 Disable network registration unsolicited result code
* 1 Enable network registration unsolicited result code +CREG: <stat>
* 2 Enable network registration unsolicited result code with location information +CREG: <stat>[,<lac>,<ci>]
<stat>
* 0 Not registered, MT is not currently searching a new operator to register to
* 1 Registered, home network
* 2 Not registered, but MT is currently searching a new operator to register to
* 3 Registration denied
* 4 Unknown
* 5 Registered, roaming
```
AT+CREG?
+CREG: 1,1
OK
```
#### AT+CSMINS SIM Inserted Status Reporting
+CSMINS: <n>,<sim inserted>
<n> A numeric parameter to show an unsolicited event code indicating whether the SIM has been inserted or removed.
* 0 Disable
* 1 Enable
<SIM inserted> A numeric parameter which indicates whether SIMcard has been inserted.
* 0 Not inserted
* 1 Inserted
```
AT+CSMINS?
+CSMINS: 0,1
OK
```
#### AT+CSPN Get Service Provider Name from SIM
+CSPN: <spn>,<display mode>
<spn> String type(string should be included in quotation marks); service provider name on SIM
<display mode>
* 0 Not display PLMN. Already registered on PLMN
* 1 Display PLMN
```
AT+CSPN?
+CSPN: "La Poste Mobile",0
OK
```
#### AT+CGSN Request Product Serial Number Identification (Identical with +GSN)
```
AT+CGSN
864866057705260
OK
```
#### AT+CCALR Call Ready Query
<mode> A numeric parameter which indicates whether the module is ready for phone call.
* 0 Module is not ready for phone call
* 1 Module is ready for phone call
```
AT+CCALR?
+CCALR: 1
OK
```