"The server returned the following information"

Linus Torvalds torvalds at linux-foundation.org
Sat Jan 3 17:29:15 PST 2015


On Sat, Jan 3, 2015 at 4:14 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>> I think that's fine for the transmitter ID, but I'd like to expose the
>> cylinder type somehow. I didn't figure out how, though.
>
> How about you do this as strings?
> "Cylinder n use", "primary"
> "Cylinder n PO2", "1.6"

Sure, that would work. It's kind of hacky, though. I'd haev rather had
it as part of the DC_FIELD_TANK information, but that's water under
the bridge.

>> There's a few more things I could add, like "conservatism" (P-2 .. P2).
>
> That one is definitely "extra data" that you could expose as a string.

Yup. I'll send a patch to do that. And the cylinder number in the
gaschange event.

                        Linus


More information about the subsurface mailing list