1 How To...
to a web page that displays the authorization code, referenced in this document as
Authcode
.
The user will use this code later in step 3 of the Receiver configuration of CloudIt.
1.24.2.2
Resource Server Setup
The resource server stores the data files from the receiver. This server should be configured
to accept HTTP PUT requests only from authorized receivers. When authorized, the receiver
will send HTTP PUT requests to the server to perform a
multipart
upload. The sent request
is the following:
curl -H "Authorization: Bearer 654sdf542sdfkjsdf5484fgh74" \
-F "path=/my/remote/directory" \
-F "file=@/localpath/myfile.sbf;type=application/octet-stream" \
"https://myresourceserver.com/api/upload/?uploadType=multipart")
Please note that the remote directory (where the file will be stored in the server) is sent
via the
Path
argument. It is the responsibility of the server to interpret it and to manage, if
needed, the creation of the folder. The remote directory, defined by the
Path
, can be set with
the
or
commands depending on the type of files to upload. The
UploadURL
parameter defines the
upload endpoint accepting the uploaded files. This parameter is required to configure the
CloudIt server using the
command.
1.24.3
Receiver Configuration of CloudIt
When the CloudIt authentication and resource servers are up and running, the PolaRx5TR
can be configured following the steps below:
1. Set the CloudIt server parameters using
command.
2. Use the
command to get an authorization link.
This link needs to be visited through a web browser where the user needs to login and
authorize the receiver. When authorized, the user will be redirected to a web page
displaying the authorization code on the page or in the URL.
3. Use
to authorize the receiver using the code given in step 2.
1.24.4
File Upload
When a log session is enabled, it is possible to upload the internally-logged files to a re-
mote CloudIt server with the
and
commands depending on the file type. It
is possible to upload each file type to a different server. The user can configure up to 8
servers.
For example, to configure the LOG2 log session to automatically upload RINEX files to the
directory
mydata/rin/
on the remote server Cloud1, the following command needs to be
45
Summary of Contents for PolaRx5TR
Page 1: ...PolaRx5TR Reference Guide Applicable to version 5 5 0 of the Firmware ...
Page 73: ...3 Command Line Reference Chapter 3 Command Line Reference 73 ...
Page 130: ...3 Command Line Reference COM1 gim CR R gim IonosphereModel off COM1 130 ...
Page 237: ...3 Command Line Reference COM1 237 ...
Page 279: ...3 Command Line Reference COM1 279 ...
Page 294: ...4 SBF Reference Chapter 4 SBF Reference 294 ...