1. <err> codes
0 | Operation succeeded |
1 | Alerting state(reserved) |
2 | Unknown error |
3 | Busy |
4 | Peer closed |
5 | Operation timeout |
6 | Transfer failed |
7 | Memory error |
8 | Invalid parameter |
9 | Network error |
10 | Open session error |
11 | State error |
12 | Create socket error |
13 | Get DNS error |
14 | Connect socket error |
15 | Handshake error |
16 | Close socket error |
17 | Nonet |
18 | Send data timeout |
19 | Not set certificates |
2. Unsolicited Result Codes
+CCHEVENT: <session_id>, RECV EVENT |
In manual receiving mode, when new data of a connection arriving to the module, this unsolicited result code will be reported to MCU. |
+CCH_RECV_CLOSED: <session_id>, <err> |
When receive data occurred any error, this unsolicited result code will be reported to MCU. |
+CCH_PEER_CLOSED: <session_id> | The connection is closed by the server. |