[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [SPECIFICATION RFC] The firmware and bootloader log specification
On Sat, 14 Nov 2020 at 12:37, Nico Huber <nico.h@xxxxxx> wrote: > (I think A fairly future proof approach is to use a TLV. Type, Length, Value. The approach can be nested, so other TLVs within the bytes of the value of the parent TLV. It makes it very easy for the reader of the message to skip any Types it does not understand. For example, the structure you describe could go in the "Value" part of the TLV. This is a common approach used by RADIUS, Protobuf, Avro etc. If anyone wishes to add extra parameters, they can create a new Type, and put the new parameters in the Value. TLV is also already used elsewhere in the kernel, in the ALSA sound interface to pass extra information about a sound control, e.g. dB values, min/max values etc. Kind Regards James
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |