10.2.2.Format of Packages Sent
The packages sent by Abacus+ are always between a <SOH> and <EOT> character, and
they consist of header, data and tail. The header consists of a package identifier and a
package type descriptor. The tail includes the checksum. Typical format:
<SOH>MID CMD<STX>MESSAGE<ETX>CHKSUM<EOT>
CMD: Command, one capital letter package type descriptor
ansmission
MESSAGE: the message consists of ASCII characters (between 32..128)
CHKSUM: two hexadecimal digits of a one-byte checksum which contains the lower byte of
the sum of characters between the <SOH> and <ETX> (incl. those, too).
10.2.3.Format of Acknowledge of the Receiver
The receiver must acknowledge transmission by the following message:
<ACK>CMD MID
CMD: the type of the next package to send this makes possible to a request for
histograms. If no more packages are required, <SPACE> should be sent.
MID: the identifier of the package that acknowledged by this message.
If receiving of the message was not successful, <NAK> should be sent, and Abacus+ will
repeat the last package.
The receiver has approx. 1 second to reply. Otherwise Abacus+ will repeat the last
transmission, twice automatically. But if still no response after 3 trials, Abacus+ will not start
to communicate any more, even if there is data to send (see General Description).
10.2.4.Detailed Description of Packages
The packages sent by Abacus+ are placed between a header and a tail. There are 5 main
types of them: INIT, DATA and histogram packages, XML descriptor, and FULL record. The
histogram package can be: RBC, WBC, and PLT. Format is the same, only the type
descriptor differs.
INIT package
Abacus+ sends the general identifiers by this package during initiation of a communication:
DEVICE<HT>VERSION<HT>DATE<HT>TIME<HT>DB_VERSION
DATE: date in YYYYMMDD format
TIME: time in HHMMSS format
VERSION: Database version in Mmm (Major.minorminor) format