Specifications
Command/Response Formats 133
Commands
Example: Query for raw ephemeris for all available satellites.
$PASHQ,EPB <enter>
Query ephemeris data for PRN 25.
$PASHQ,EPB,25 <
ENTER>
$PASHR,EPB
The response is the broadcast ephemeris data. See the ICD-GPS-200 for definition of
the Parameters. Each subframe word is right-justified in a 32-bit long integer.
The response is in the form:
$PASHR,EPB,d,<ephemeris structure> <enter>
This message only exists in a binary format, if ASCII format is requested (default) only the header
will be sent ($PASHR,EPB).
Table 6.67 outlines the response format.
Table 6.67: EPB Response Format
Type Size Contents
d 2 PRN number
struct
long 4 Subframe 1, word 1
long 4 Subframe 1, word 2
long 4 Subframe 1, word 3
long 4 Subframe 1, word 4
long 4 Subframe 1, word 5
long 4 Subframe 1, word 6
long 4 Subframe 1, word 7
long 4 Subframe 1, word 8
long 4 Subframe 1, word 9
long 4 Subframe 1, word 10
long 4 Subframe 2, word 1
long 4 Subframe 2, word 2
long 4 Subframe 2, word 3
long 4 Subframe 2, word 4