Fix Sensor test 005 to support v3.1 descriptors
SCMIv3.x Sensor descriptors have variable lengths based on the presence
or not of extended attributes; the presence of extended attributes is
NOT mandatory though even in SCMIv3.x messages, so that, within the same
reply you could received a mix of sensor descriptors carrying or NOT the
extended attributes: as a consequence the array of sensor descriptors is
composed of variable length elements and as such must be parsed.
Run v3.1 testcase when Sensor Protocol version 3 is detected.
Signed-off-by:
Cristian Marussi <cristian.marussi@arm.com>
Loading
Please register or sign in to comment