*** *** What's New in WSC Version 7.0 *** *** WSC Version 7.0 (2 Sep 2019) *** Fixed: SioErrorText() now returns text length. Fixed: SioGets() would never timeouts when overlapped I/O was enabled. Added: function SioOpen - same as SioReset(Port, 1280, 1280) Added: function SioClose - same as SioDone. Added: function SioGetsQ - reads port until no incoming data for specified "quiet" time. Added: Example programs Scale.c & vc_Scale.cpp that read from a (serial) scale. *** Version 6.0.0 (15 Mar 2017) Added additional error codes: WSC_BUFFER_RANGE,WSC_BUFLEN_RANGE,WSC_BAD_CMD,WSC_BAD_PARITY.WSC_BAD_STOPBIT,WSC_BAD_WORDLEN. Added SioErrorText() that returns text associated with specified error codes. Added SioPortInfo() that returns baud in BPS (bits per sec) and the theoretical port CPS (char per sec). Added SioGetsC() that receives an entire line through the stop (end-of-line) character (usually CR). Added ReadGPS example program. *** Version 5.4.1 (18 Aug 2015) *** Added project files for Visual Studio 2013 & 2015. Added makefiles for GCC, LCC, and Digital Mars C compilers. Added SioCRC16() that computes 16-bit CCITT CRC (polynomial 1021 hex). Added SioCRC32() that computes 32-bit CCITT CRC (polynomial 04C11DB7 hex). *** Version 5.3.0 (4 Nov 2013) *** Added SioLRC() that computes the "longitudinal redundancy check" per ISO 1155. SioQuiet() and SioWaitFor() verify the passed port number. SioWaitFor() verifies that the passed baud rate is > 0. SioSetInteger() no longer requires an open port for global (all ports) parameters. Modified SioReset() to make it more tolerant opening slow virtual ports. *** Version 5.2.0 (2 Jul 2012) *** Added SioQuiet() function Added SioWaitFor() function *** Version 5.1.0 (18 Aug 2011) *** Added SioRxWait() function Added support for MinGW GCC compiler Added support for Visual Studio 2010 *** Version 5.0.0 (16 Nov 2009) *** Added SioViewHex() function Added support for Win64 (x64) Added several Visual Studio examples *** Version 4.4.0 (1/16/2009) Added function SioSetTimeouts so that TX and RX timeouts can be specified. Documentation provided in PDF format. *** Version 4.3.0 (9/25/2007) Fixed problem with SioTxQue returning wrong values. Changed SioParms so it checks the range of passed arguments. Port is verified in SioEventChar. SioStatus returns -1 if port is not functioning (USB/serial port disconnected). Added SioByteToShort and SioShortToByte (WSC32 only) *** Version 4.2.3 (9/21/06) Port verified in SioEventChar. X/YMODEM performance improved (particularly with USB/serial ports). Can create diagnostic log file for X/YMODEM. SioParms checks the range of passed arguments. *** Version 4.2.1 (3/01/06) Fixed problem: SioFlow always returns 1 if OK. Fixed problem: SioSetInteger(Port, 'S', 1) always forces SioEvent to unblock. Event mutex code added to EventThread() to prevent race conditions. Message box displays error if SioWinError(Buffer, 0) called. Fixed problem: SioEvent returning wrong code. SioRxClear clears byte saved by SioUnGet. Number of supported ports increased to a maximum of 256. Added SioEventChar() and SioEventWait() functions. *** Version 4.1.6 (6/01/05) Major change in overlapped I/O impoves performance. *** Version 4.1.5 (4/06/05) Modifications to evaluation version (ONLY). *** Version 4.1.4 (3/11/05) Message box displays error if SioWinError(Buffer, 0) called. *** Version 4.1.3 (1/06/2005) SioSetInteger(Port, 'S', 1) always forces SioEvent to unblock. *** Version 4.1.2 (12/01/2004) SioFlow returns 1 if OK. *** Version 4.1.1 (9/03/04) Call SioSetInteger(Port,'X',1) to ignore return code from SetupComm (problem with some USB/serial drivers) *** Version 4.1.0 (8/12/2004) Added overlapped I/O where supported (Win 98 and above). SioFlow returns WSC_RANGE if cannot recognize parameter. Adjusted internal thread priorities. XYMODEM/YMODEM sends NAK on short packets. *** Version 4.0.2 (1/14/2004) Fixed problem with SioTxClear(). *** Version 4.0.1 (12/03/2003) SioEvent better behaved when running under Windows 95/98/Me C/C++ users also see http://www.marshallsoft.com/wsc_4c.htm#Section_8 VB users also see http://www.marshallsoft.com/wsc_4vb.htm#Section_6 *** Version 4.0.0 (11/11/2003) Added SioSetInteger() -- see http://www.marshallsoft.com/wsc_ref.htm Moved 'W' flag to SioSetInteger. SioPutc/SioPuts will not block if SioEvent was called. Added SioSetInteger(Port, 'H', 0) to return COM handle. Added SioKeyCode and SioGetReg [END]