Theory of operation, Limitations and points of interest, Header format – NavCom Sapphire Rev.J User Manual
Page 183: Correction data/sapphire command sequence, Error handling

Sapphire Technical Reference Manual Rev. J
183
{
serialPortOctagon.Write((
byte
[])CorrectionsByteArray, 0, Length + i);
_packBOut++;
}
}
1.126.4
Theory of Operation
This command is used when both Sapphire commands and corrections are transmitted to the
Sapphire via one communication port. This command is primarily used with the Bluetooth port;
however, there is no limitation on the port for this command.
Typical usage consists of a handheld device connected to a receiver via Bluetooth. The
handheld device runs custom software such as surveyor software capable of generating and
receiving Sapphire commands. The handheld device also receives corrections either via a built-
in radio or an externally connected modem. These corrections can be passed to the GNSS
receiver using the [PACKB] message.
1.126.5
Limitations and Points of Interest
1.126.5.1
Header Format
PACKB should be formatted as a standard binary message, in standard Sapphire binary header
format, as described in Binary Output Message Organization
GPS time fields do not need to contain valid GPS time, since those fields are ignored. The
GPSWeek standard header field is used in a non-standard way: It is used to verify the integrity
of the length field. The version field should be 0 for the current version.
1.126.5.2
Correction Data/Sapphire Command Sequence
Correction data and Sapphire commands cannot be sent together. Send an entire PACKB
command prior to sending a Sapphire command and vice versa.
1.126.6
Error Handling
The receiver processes PACKB messages regardless of what port receives them. However,
certain error conditions are handled only if PACKB messages are received via a Bluetooth
connection, so the PACKB command should not be used with any other port. The parsers for
the PACKB message will be reset and any data contained in an unfinished message will be lost
under the following conditions:
the PACKB transmission is not completed within three seconds
the Bluetooth connection is lost during transmission of PACKB