Displaying 5 results from an estimated 5 matches for "ser_".
Did you mean:
ser
2008 Feb 08
0
[nut-commits] svn commit r1285 - in trunk: . common include
...rguments to the upsdebug_hex() function so that it
> no longer requires casting to an unsigned char.
>
> Modified:
> trunk/ChangeLog
> trunk/common/common.c
> trunk/include/common.h
>
> Modified: trunk/ChangeLog
I would like to do something similar to the following ser_* functions:
ser_send_buf
ser_send_buf_pace
ser_get_buf_len
ser_get_line_alert
ser_get_line
Many drivers currently 'suffer' from compiler signedness warnings. We
could do away with these by typecasting everything to the 'correct' type,
but I think this is unwanted (and sometim...
2011 Mar 12
2
[RFC/PREVIEW] Move apcsmart driver to canonical processing + minor stuff
Inital tests with two apc units (2005 and pre-2000) seem to go well. See commit
message for details. I'll add more detailed rationale after getting some sleep :)
Michal Soltys (1):
apcsmart: switch processing to ICANON + minor fixes
drivers/apcsmart.c | 270 +++++++++++++++++++++++++++++++++++-----------------
drivers/apcsmart.h | 127 ++++++++++++++++---------
2 files changed, 267
2008 Feb 10
1
MSG_NOSIGNAL does not exist in OS X
Arnaud,
I'm seeing an error with the XML/HTTP driver in NUT:
(from http://buildbot.ghz.cc/public/nut/MacOSX-10.4-G4/builds/3/step-
compile/0 )
if gcc -DHAVE_CONFIG_H -I. -I../../drivers -I../include -I../../
include -I/sw/include -g -Os -pipe -pipe -Ddarwin8 -I/System/Library/
Frameworks/System.framework/PrivateHeaders -I. -I/usr/include -
DMGEXML_MODE -DMGE_MODE -O -Wall
2011 May 27
0
quick update
...gnored set in protocol_verify() for not exposed
> cmds/vars (=> a bit more quiet logs)
> apcsmart: introduce icanon upsread() and upsflush() (functions will be used
> after 'icanon' commit)
> apcsmart: add quick reference about alerts and to-be-removed defines.
> Introduce SER_* defines what will be used in new functions.
> apcsmart: add command '@' to compatibility tables.
> apcsmart: trivial changes
>
>
> Not a small part in the above is code shuffling with relatively small
> changes. But
> there's a good chunk of new things as well (+ o...
2007 Dec 02
1
Driver bestfcom - Timing problem with Fortress LI1420
...ze)
?{
????????int ret;
-???????char ch, buf[256];
+???????unsigned char ch;
+???????char buf[256];
?
????????/* Check for the Inverter status alarm if pending :
???????? * "\r\n{Inverter: ? ? On}\r\n=>"
@@ -190,10 +191,12 @@
????????????????POLL_ALERT, alert_handler, 0, 20);
?
????????ser_send(upsfd, cmd);
+???????sleep(UPSDELAY);
?
????????/* delete command echo up to \012 but no further */
????????for (ch = '\0'; ch != '\012'; ser_get_char(upsfd, &ch, 0, 10));
?
+???????sleep(UPSDELAY);
????????/* get command response?*/
????????ret = ser_get_line(upsfd, result,...