module AlphaSign::Protocol

These are a pile of constants for the protocol functions @see AlphaSign::Format for constants users may want to interact with

Constants

AlphaFile

@param [Synmbol] type file type must be a key of AlphaSign::Protocol::FileType @param [String] label, file label to assign 0x20 to 0x75 (0x30 is reserver for “priority text file” @param [String] file size, 4 char uppercase ASCII hex representation @param [String] time spec, 4 char uppercase ASCII hex representation. First two char represent start time code, second two end time code “FF00” == always, see docs for full spec, it’s wierd…

Baud

Serial config

DataBits
FileType

FileType is used in allocating sign memory

Parity
Preamble

this was much more complex in original, but due to packing spec effectively reduced to this, and remains voodoo but apparently necessary voodoo

StartCMD

only handlers for :wtxt implemented so far

StartHeader

everything starts with this, nulls are to auto set baud on unit

StopBits