Ascii Serial Control
Last published: November 26, 2006 by 'michael'
Defines 8 Classes
Extends 11 Classes
This package implements the basic Ascii Control Codes used by embedded devices that talk over a serial line.
It's a very basic protocol using ENQUIRY, ACKNOWLEDGE, DON'T ACKNOWLEDGE, START OF TEXT, END OF TEXT, NEXT RECORD with a very basic hex based CRC after each record to ensure it is sent correctly.
You'll find this kind of protocol used by various medical devices, such as the Optium Xceed blood glucose monitor.
To use, open up a serial connection and wrap that connections readStream and writeStream in AsciiControlReadStream and AsciiControlWriteStream.