7c3a8fdacbea6807ad64b373f93b953b367bb7ff
Board/NGS/NGS1074-dat/NGS1074-dat.md
... | ... | @@ -1,14 +1,60 @@ |
1 | - |
|
2 | 1 | # NGS1074-dat |
3 | 2 | |
4 | -- retired |
|
3 | +- retired |
|
4 | + |
|
5 | + |
|
6 | +GIF demo please see here [[SIM800_RTU_Test.gif]] |
|
7 | + |
|
8 | +## Features |
|
9 | + |
|
10 | +- UART1 - for data transfer and parameter setting |
|
11 | +- UART2 - for standard AT command communication |
|
12 | +- The baud rate is 115200, 8bit data, 1bit stop, no parity |
|
13 | +- NETLIGHT PIN - is used to indicate the network registration status |
|
14 | +- STATUS PIN - is used for power on indication, high level is for power on |
|
5 | 15 | |
6 | -## Descriptions |
|
16 | +## Descriptions |
|
7 | 17 | |
8 | 18 | - Based on R2 hardware. |
9 | 19 | - Customized firmware, connect to specified server by TCP or UDP |
10 | 20 | - Data send to UART1 will be directly forward to server. |
11 | 21 | - Setup once and done, please see configuration here. |
12 | 22 | |
23 | +## Mode |
|
24 | + |
|
25 | +- To enter AT command mode, first enter into commands mode by +++ |
|
26 | +- confirm password by AT+DTUW=900,12345678 |
|
27 | +- after setup, save configuration by AT+DTUW=999 |
|
28 | +- exit commands mode and enter into data mode by ATO |
|
29 | + |
|
30 | +| Commands | read | write | |
|
31 | +| ---------------------------- | ----------- | --------------------------- | |
|
32 | +| password | - | AT+DTUW=900,12345678 | |
|
33 | +| APN | AT+DTUR=1 | AT+DTUW=1,CMNET | |
|
34 | +| Link Status | - | AT+DTUS | |
|
35 | +| IP address | AT+DTUR=102 | AT+DTUW=102, 167.88.114.101 | |
|
36 | +| Port | AT+DTUW=103 | AT+DTUW=103,9999 | |
|
37 | +| Save | | AT+DTUW=999 | |
|
38 | +| exit commands mode | | ATO | |
|
39 | +| Fail times | | AT+DTUW=921,3 | |
|
40 | +| Restart Module if still fail | | AT+DTUW=922,1 | |
|
41 | +| enter into commands mode | | +++ | |
|
42 | + |
|
43 | +### SMS Usasge |
|
44 | + |
|
45 | +The format is: $SMS number # SMS content SMS$ (Do not add any characters after SMS$) |
|
46 | + |
|
47 | + E.g: $SMS10086#Test SMS SMS$ |
|
48 | + |
|
49 | +When a text message is received, it will be output through the serial port in the same format as the text message sent: |
|
50 | + |
|
51 | + $SMS number # SMS content SMS$ |
|
52 | + |
|
53 | +The content of the SMS is GBK code. On Chinese computers, the default is GBK code.<br> |
|
54 | + |
|
55 | +Write the MCU program can be written directly like this: |
|
56 | + |
|
57 | + Sprint(buffer,"$SMS%s#%sSMS$", "10086", "Test SMS"); |
|
58 | + |
|
59 | + |
|
13 | 60 | |
14 | -[[SIM800_RTU_Test.gif]] |
|
... | ... | \ No newline at end of file |