mirror of
https://github.com/lupyuen/pinephone-nuttx.git
synced 2025-01-12 20:58:34 +08:00
Update doc
This commit is contained in:
parent
c564bd7b80
commit
872f16da57
1 changed files with 21 additions and 17 deletions
38
README.md
38
README.md
|
@ -7244,28 +7244,32 @@ Comes from the [Unicode UTF-16 Encoding](https://en.wikipedia.org/wiki/UTF-16) o
|
|||
|
||||
_Why send SMS in PDU Mode instead of Text Mode?_
|
||||
|
||||
TODO: More reliable (304 Invalid PDU), UTF-16, Receive messages
|
||||
- TODO: More reliable (304 Invalid PDU)
|
||||
|
||||
```text
|
||||
// Select Message Service 3GPP TS 23.040 and 3GPP TS 23.041
|
||||
AT+CSMS=1
|
||||
+CSMS: 1,1,1
|
||||
OK
|
||||
- TODO: UTF-16 Encoding
|
||||
|
||||
// Set SMS Event Reporting Configuration
|
||||
AT+CNMI=1,2,0,0,0
|
||||
OK
|
||||
- TODO: Receive messages
|
||||
|
||||
// Message is dumped directly when an SMS is received
|
||||
+CMT: "+8615021012496",,"13/03/18,17:07:21+32",145,4,0,0,"+8613800551500",145,28
|
||||
This is a test from Quectel.
|
||||
```text
|
||||
// Select Message Service 3GPP TS 23.040 and 3GPP TS 23.041
|
||||
AT+CSMS=1
|
||||
+CSMS: 1,1,1
|
||||
OK
|
||||
|
||||
// Send ACK to the network
|
||||
AT+CNMA
|
||||
OK
|
||||
```
|
||||
// Set SMS Event Reporting Configuration
|
||||
AT+CNMI=1,2,0,0,0
|
||||
OK
|
||||
|
||||
[(EG25-G AT Commands, Page 167)](https://wiki.pine64.org/wiki/File:Quectel_EC2x%26EG9x%26EG2x-G%26EM05_Series_AT_Commands_Manual_V2.0.pdf)
|
||||
// Message is dumped directly when an SMS is received
|
||||
+CMT: "+8615021012496",,"13/03/18,17:07:21+32",145,4,0,0,"+8613800551500",145,28
|
||||
This is a test from Quectel.
|
||||
|
||||
// Send ACK to the network
|
||||
AT+CNMA
|
||||
OK
|
||||
```
|
||||
|
||||
[(EG25-G AT Commands, Page 167)](https://wiki.pine64.org/wiki/File:Quectel_EC2x%26EG9x%26EG2x-G%26EM05_Series_AT_Commands_Manual_V2.0.pdf)
|
||||
|
||||
# Compile NuttX on Android with Termux
|
||||
|
||||
|
|
Loading…
Reference in a new issue