| d1a7e40f | 15-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
common.Threshold: use dict-of-dict for Value
The Dbus specification does not allow the key of a dict to be a non-basic type, such as a struct:
the first single complete type (the "key") must be
common.Threshold: use dict-of-dict for Value
The Dbus specification does not allow the key of a dict to be a non-basic type, such as a struct:
the first single complete type (the "key") must be a basic type rather than a container type.
If we try to instantiate an instance with a struct as a dict key, we end up getting an EINVAL on the add-vtable call.
Switch to nested dictionary to avoid this violation.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2c512984e62166efec3f299d55efb39a9e93edbf
show more ...
|