PN 1001933 rev 2
© NimbeLink Corp. 2022. All rights reserved.
19
+QSSLRECV: 470
HTTP/1.1 200 OK
content-type: application/json
content-length: 281
date: Mon, 23 Jul 2018 22:12:44 GMT
x-amzn-RequestId: 5ea18d53-a6cc-b49f-8cf9-e4edd6a072e1
connection: keep-alive
{"state":{"desired":{"string1":"TLS Connect to AWS","string2":"Using the built-in
stack","string3":"of the
BG96"}},"metadata":{"desired":{"string1":{"timestamp":1532383964},"string2":{"timesta
mp":1532383964},"string3":{"timestamp":1532383964}}},"version":17,"timestamp":1532383
964}
4.4 Closing an SSL Socket
To close an SSL socket, issue the following command:
AT+QSSLCLOSE=1
Where "
1
" is replaced with number of the socket that was used for the SSL connection.
5. Working Examples
Section 5 contains two examples involving an HTTP POST and and HTTP GET operation
involving the AWS cloud.
The certificate upload procedure will be demonstrated for both a Linux and a Windows
environment, however note that the remainder of the process after the certificate upload
is identical for these two environments.
5.1 Initial Setup
This section details the configuration of the Skywire that is common to both of the HTTP
examples. Commands entered into the Windows command prompt and Linux terminal
will be colored red, while commands issued to the QBG96 will be colored black.
Additionally, commands issued to the modem by the user will be in boldface, while
responses from the modem will be in regular font.
for Linux certificate upload instructions, or
Windows certificate upload instructions.