def __init__(self, data):
self.first_channel = c_uint8.from_buffer(data[:SIZEOF_U8]).value<EOL>self.reg_extension_id = self.first_channel<EOL>data = data[SIZEOF_U8:]<EOL>self.num_channels = c_uint8.from_buffer(data[:SIZEOF_U8]).value<EOL>self.reg_class = self.num_channels<EOL>data = data[SIZEOF_U8:]<EOL>self.max_power = c_int8.from_buffer(data[:SIZEOF_S8]).value<EOL>self.coverage_class = c_uint8.from_buffer(data[:SIZEOF_U8]).value<EOL>self.chans = self.ext = self<EOL>
Constructor.