search for: w32_serial_read

Displaying 6 results from an estimated 6 matches for "w32_serial_read".

2013 May 11
1
blazer_ser problem on windows NUT 2.6.5-3780M
...tMultiplier -1 0.408024 vmin_ 1, vtime_ 0 0.410024 action 0 0.412024 vtime 0, vmin -1 0.414024 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1, ReadTotalTimeoutMultiplier -1 0.521030 Trying megatec protocol... 0.625036 send: 'Q1' 0.627036 w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 00000054 0.642037 w32_serial_read : characters are available on input buffer 0.647037 w32_serial_read : Reading 1 characters 0.651038 w32_serial_read : total characters read = 1 0.654038 w32_serial_read : Reading 2 characters 0.6...
2012 May 10
3
battery.charge and other fixes needed for X-Power Tigra 1kVA
...send_to_all: SETINFO device.type "ups" 0.125002 send_to_all: SETINFO driver.version "2.6.3-3534:3545M" 0.125002 send_to_all: SETINFO driver.version.internal "1.06" 0.125002 send_to_all: SETINFO driver.name "bestups" 0.328129 w32_serial_read : ulen 64, vmin_ 1, vtime_ 0, hEvent 000007A8 0.328129 w32_serial_read : Reading 8 characters 0.328129 w32_serial_read : total characters read = 8 0.328129 w32_serial_read : ulen 64, vmin_ 1, vtime_ 0, hEvent 000007A8 0.343754 w32_serial_read : characters are avail...
2013 Jan 30
3
bug report: apcsmart (WIN) 940-0024C connect fail, problem with command 'E'
...300432 send_to_all: SETINFO device.type "ups" 0.300432 send_to_all: SETINFO driver.version "2.6.5-3780M" 0.300432 send_to_all: SETINFO driver.version.internal "3.04" 0.310446 send_to_all: SETINFO driver.name "apcsmart" 0.410590 w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 000007CC 0.470677 w32_serial_read : characters are available on input buffer 0.470677 w32_serial_read : Reading 1 characters 0.470677 w32_serial_read : total characters read = 1 0.480691 w32_serial_read : Reading 3 characters 0.4...
2013 Apr 02
3
blazer driver: Possible bugs with battery packs
...ll: SETINFO driver.version "2.6.5-3780M" 0.218737 send_to_all: SETINFO driver.version.internal "1.55" 0.218737 send_to_all: SETINFO driver.name "blazer_ser" 0.218737 Trying megatec protocol... 0.328106 send: 'Q1' 0.328106 w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 000007CC 0.374978 w32_serial_read : characters are available on input buffer 0.374978 w32_serial_read : Reading 1 characters [...] 0.546844 w32_serial_read : Reading 1 characters 1.546786 w32_serial_read : total characters...
2011 Sep 19
1
[windows port] blazer_ser issues, select_read() from serial semantics
...broke under e.g. a heavy system load. TIA Something like this might be appropriate for the windows version (tested here with our UPSes): diff --git a/common/wincompat.c b/common/wincompat.c index 86c786f..f271a3a 100644 --- a/common/wincompat.c +++ b/common/wincompat.c @@ -411,12 +411,15 @@ int w32_serial_read (serial_handler_t * sh, void *ptr, size_t ulen, DWORD tim upsdebugx(4,"w32_serial_read : characters are avail break; case WAIT_TIMEOUT: -...
2011 Jan 26
0
[nut-commits] svn commit r2854 - branches/windows_port/common
Citeren Frederic BOHE <fbohe-guest op alioth.debian.org>: > - res = w32_serial_read(fd,buf,buflen,timeout); > + res = w32_serial_read((serial_handler_t *)fd,buf,buflen,timeout); Rather than casting away the const (which may not be possible with certain strict compiler flags), it is better to modify the prototype and definition of this function to take a 'const serial_h...