Re: [Nut-upsuser] How to handle flags as status?

2020-12-29 Thread Roger Price
On Tue, 29 Dec 2020, Charles Lepple via Nut-upsuser wrote: On Dec 29, 2020, at 9:54 AM, Shakil Shaikh via Nut-upsuser wrote: Are clients therefore supposed to list all possibilities, or split on space to get the flags back? Clients should split on space. I remember we had a better description

Re: [Nut-upsuser] How to handle flags as status?

2020-12-29 Thread Charles Lepple via Nut-upsuser
On Dec 29, 2020, at 9:54 AM, Shakil Shaikh via Nut-upsuser wrote: > > Are clients therefore supposed to list all possibilities, or split on space > to get the flags back? > Clients should split on space. I remember we had a better description of this from the protocol perspective, but that

Re: [Nut-upsuser] How to handle flags as status?

2020-12-29 Thread Shakil Shaikh via Nut-upsuser
From: Nut-upsuser on behalf of Roger Price Sent: Tuesday, December 29, 2020 3:45:51 PM To: Shakil Shaikh via Nut-upsuser Subject: Re: [Nut-upsuser] How to handle flags as status? On Tue, 29 Dec 2020, Shakil Shaikh via Nut-upsuser wrote: > I'm looking into the best way to handle the ups sta

Re: [Nut-upsuser] How to handle flags as status?

2020-12-29 Thread Roger Price
On Tue, 29 Dec 2020, Shakil Shaikh via Nut-upsuser wrote: I'm looking into the best way to handle the ups status that gets returned by NUT. I've had a brief look at the source and it appears that this status is actually a composite of flags, some of which cannot co-exist. In particular I have