Displaying 1 result from an estimated 1 matches for "mge_ups".
Did you mean:
meetups
2005 Dec 19
1
MGE Pulsar ES 8+
...9; (Sm 20, for example) and 'Sn data' commands.
So, replacing the following code in the function upsdrv_initups(void):
bytes_rcvd = mge_command(buf, sizeof(buf), "Sm ?");
if(bytes_rcvd > 0 && buf[0] != '?') {
mge_command(buf, sizeof(buf), "Sm %d", mge_ups.OnDelay);
if(strcmp(buf, "OK"))
upsdebugx(1, "UPS response to %d min ON delay was %s",
mge_ups.OnDelay, buf);
} else
upsdebugx(1, "initups: OnDelay unavailable");
bytes_rcvd = mge_command(buf, sizeof...