Displaying 6 results from an estimated 6 matches for "upscli_splitaddr".
2007 Jan 19
1
Re: [nut-commits] svn commit r755 - in trunk: . clients
...> Modified:
> trunk/ChangeLog
> trunk/clients/upsclient.c
> trunk/clients/upsclient.h
> Log:
> This one is for you, Peter... :-)
>
> * clients/upsclient.c:
> - hostname is now optional in upscli_splitname(), defaults to "localhost"
> - added upscli_splitaddr() to split a hostname[:port] into separate
> components
> - [domain literals] are now allowed as valid hostnames
>
> Maybe we should make the default hostname for upscli_splitname configurable?
>
> Modified: trunk/ChangeLog
> ==========================================...
2014 Jun 03
2
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
...idoc' was not found.
Using existing upscli_list_start.3 manual page, since 'asciidoc' was not found.
Using existing upscli_readline.3 manual page, since 'asciidoc' was not found.
Using existing upscli_sendline.3 manual page, since 'asciidoc' was not found.
Using existing upscli_splitaddr.3 manual page, since 'asciidoc' was not found.
Using existing upscli_splitname.3 manual page, since 'asciidoc' was not found.
Using existing upscli_ssl.3 manual page, since 'asciidoc' was not found.
Using existing upscli_strerror.3 manual page, since 'asciidoc' was n...
2014 Jun 03
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
...und.
> Using existing upscli_list_start.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_readline.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_sendline.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_splitaddr.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_splitname.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_ssl.3 manual page, since 'asciidoc' was not found.
> Using existing upscli_strerror.3 manual page, since 'asci...
2007 Jan 19
0
Re: [nut-commits] svn commit r755 - in trunk: . clients
...?
> This doesn't seem like a good idea to me. Wouldn't it be more
> consistent to extend upscli_errlist[] ?
Errorcodes are passed in 'ups->upserror' (and 'ups->syserrno'). Uh oh, we
don't have a connection to an UPS yet when we call upscli_splitname() or
upscli_splitaddr(). The upscli_strerror() function that is used to return
the message in upscli_errlist[] needs a pointer to a UPSCONN structure
also. The upscli_errlist[] is static, so there is no way to get to the
messages without calling upscli_strerror().
The reality is, that this is how it has been for a *ver...
2014 Jun 01
0
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
On May 24, 2014, at 5:49 PM, Stefan Bruda wrote:
>> Don't worry about the battery physical properties for now - the
>> problem there is that we don't have enough information from the UPS
>> to do a proper calculation. With the V_interval[] settings, you can
>> tweak the new state-of-charge calculation to match what you see via
>> upsc when the battery is
2014 May 24
3
Tripp Lite SMART3000RM2U (protocol 3003) running time and charge?
Hello,
At 09:24 -0400 on 2014-5-23 Charles Lepple wrote:
>
> See attached. Still doesn't have the writable V_interval values,
> but I probably won't have time to test that until later.
Thank you for the patch.
> Don't worry about the battery physical properties for now - the
> problem there is that we don't have enough information from the UPS
> to do a