EasyManua.ls Logo

SRT CS100 - Query Remaining Storage Capacity; Upload Data; Stop Data Upload

SRT CS100
39 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Coast Station data communication protocol
Page 19
6.3.2 Query the remaining storage capacity
$PSMT,CST,FSSPACE*0F
Query the Coast Station for the remaining internal data log storage space. The available space is returned as
follows:
$PSMT,CST,FSSPACE,freespace,ACK*4B
Where freespace is the available space in KB. For example the following response would indicate 31154528KB
(or 29.711GB) capacity remaining.
\s:COAST STATION 1,c:1409583294,t:LIVE*64\$PSMT,CST,FSSPACE,31154528,ACK*4B
6.3.3 Upload data
To upload data from the Coast Station internal data log the start and end time for the log must be provided. The
command sentence format is as follows:
$PSMT,CST,UPLOAD,startdate,starttime,stopdate,stoptime*hh
For example:
$PSMT,CST,UPLOAD,010914,142500,010914,143500*5C
This example requests data upload from 14:25:00 to 14:35:00 on the 1st September 2014.
This command requests upload of all data between the start time and date and the stop time and date. It is
recommended that the time window for upload is minimised to reduce upload duration.
The checksum (*hh) must be calculated according to the final command contents before the command is sent
to the Coast Station. Tools to calculate checksums for NMEA sentences can be found on-line or alternatively
please contact SRT Marine Systems for assistance.
If the requested data is available the Coast Station will responds with an acknowledgement sentence. An 'ACK'
in the last field of the response indicates the requested data is available and upload will commence.
\s:COAST STATION 1,c:1409583744,t:LIVE*6C\$PSMT,CST,UPLOAD,010914,142500,010914,143500,ACK*39
If the requested data is not available the Coast Station will respond with a negative acknowledgement (NACK)
sentence:
\s:COAST STATION 1,c:1409584932,t:LIVE*64\$PSMT,CST,UPLOAD,010913,142500,010913,143500,NACK*77
6.3.4 Stop data upload
$PSMT,CST,STOPUPLOAD*45
Upload of requested data will continue until all data between the start and stop time stamps is uploaded. This
command may be sent at any time to stop the upload. The acknowledgement response is of the format:
\s:COAST STATION 1,c:1409649374,t:LIVE*6E\$PSMT,CST,STOPUPLOAD,ACK*20
6.3.5 Stop data logging process
$PSMT,CST,STOPLOGGING*05
This command will stop the data logging process. Note that data logging will be automatically restarted if power
to the Coast Station is cycled. This command should be used prior to clearing the internal data log using the
clear command below. The acknowledgement response is of the format:
\s:COAST STATION 1,c:1409649423,t:LIVE*6B\$PSMT,CST,STOPLOGGING,ACK*60
6.3.6 Clear internal data log
$PSMT,CST,CLEARLOGS*10

Table of Contents