Specifications
Command/Response Formats 123
Commands
Raw Data Commands
The raw data commands cover all query and set commands related to measurement,
ephemeris, and almanac data.
Set Commands
There is only one set command that controls the continuous output of all raw data
messages; the $PASHS,OUT command. The $PASHS,OUT command allows you to
enable or disable the output of one or more raw data messages simultaneously as well
as change the format (ASCII or Binary) of the messages types where the format is an
option. The general format of the $PASHS,OUT command is:
$PASHS,OUT,c,str(,str...),s
where c is the output serial port (A-D), str is one or more 3 character strings that
denote the different raw data output types, and s is the optional format of the message
and is either ASC (ASCII) or BIN (binary). For example, the command:
$PASHS,OUT,A,MBN,PBN,BIN <enter>
will output MBEN and PBEN messages in binary format to serial port A. If the
format field is not included, then the message will be sent in ASCII format which is
the default. The ephemeris and almanac messages are available in binary format
only. If a user attempts to output a raw data message type in ASCII format when only
binary is available, the receiver will send the header only with no additional
information or data. Also, be aware that a $PASHS,OUT command will override
anything set in a previous $PASHS,OUT command.
If the $PASHS,OUT command is sent correctly, the receiver will respond with the
$PASHR,ACK acknowledgment The messages will be output to the indicated serial
port at the recording interval defined by the $PASHS,RCI command. The default
output frequency is every 20 seconds.
Raw data messages are disabled by sending the $PASHS,OUT command with no data
strings. For example the command:
$PASHS,OUT,A <enter>
will disable the output of all raw data output from port A. See the $PASHS,OUT
command in this section for more details. To see what raw data messages have been
enabled, use the $PASHQ,RAW query.
In general, the parameters that affect raw data output are the same as those that
control data recording including: recording interval, elevation mask, and minimum
number of SVs. See the Raw Data Command table for more details about the
commands that control these parameters.