PN 1001933 rev 2
© NimbeLink Corp. 2022. All rights reserved.
12
If the command returns the names of any files that currently exist on the file system, it is
recommended to delete them if they are not needed. To do so, issue the following
command, replacing “
cacert.pem
" with the name of the file that is to be deleted.
Alternatively, delete all files on the system using the second command:
AT+QFDEL="cacert.pem" or AT+QFDEL="*"
After clearing out the file system, individually upload each of the three requisite
certificates by following the process below:
1. Using the information returned b
y the “
dir
" command, determine the number of
bytes for the certificate that is to be uploaded.
2. Issue the AT command on the next page, where "
cacert.pem
" is replaced with a
unique name if desired, and "
1758
" is replaced with the correct number of bytes
for the certificate being uploaded.
AT+QFUPL="ufs:cacert.pem",1758,30
● The value of “
30
" indicates the timeout for the upload
operation.
● The “
ufs:
" string
must
be prepended to the file name in
order for the certificates to function properly.
● It is recommended to name the files “
cacert.pem
",
“
clientcert.pem
" and “
clientkey.pem
" so that they are quickly and
easily distinguishable for later use.
3. The serial termina
l will respond with “
CONNECT
", and will wait for data to be
entered. This data will be entered using the Windows command prompt in step 4.
4. First, disconnect the serial terminal from the COM port that the modem is
connected to. Only one program can have access to the serial line at a time,
which is why the terminal emulator must be disconnected during the certificate
upload phase.
Next, issue the following command in the command prompt, where the name of
the file is replaced with the name of the certificate being uploaded, and the
"
COM10
" string is replaced with the proper COM port number.
copy 8da6fe87f3-certificate.pem \\.\COM10
This command will pipe the contents of the certificate to the serial line, which will
then be stored in a file on the modem.
The serial line will respond with something similar to:
+QFUPL: 1224,384a
Where “
1224
"
is the number of bytes written, and "
384a
" is the checksum for the
operation.
Repeat the four steps listed on the previous page until each of the three files have been
uploaded. After the files have been successfully uploaded, reattach the serial console to
the appropriate COM port. Once finished, proceed to