Operation Guide

© 2022 Shanghai RaymonIoT Technology Co., Ltd.
X-C13SG_REV1.6_Operation Guide
X-C13SG
Shanghai RaymonIoT Technology Co., Ltd.
54
connection is successful. Then The serial port sends a parameter request, and you can see the data replied by
the server
4.7. TCP RAW HTTP PACKET TRANSFER
Module support http data transfer, but there is also another more general method via send HTTP raw
packet via TCP.
1. Configure HTTP server information.
AT+SOCKA=TCP,CLIENT,80,HTTP_IP
2. Configure module connecting to router AP and reboot.
AT+WMODE=STA
AT+WSSSID=”AP_NAME”
AT+WSKEY=WPA2PSK,AES,”KEY”
AT+RST
3. Sending HTTP raw data via UART, end the data with<CR><LF><CR><LF>.
GET /URL HTTP/1.1
Host: IP:80
Connection: keep-alive
4.8. Heartbeat Package, Registration Package
Configure the enable heartbeat packet and the registration packet function as shown below (for details of
the heartbeat packet and registration package, see the AT Command Chapter). The corresponding