You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The schema model in harp-device follows the draft-02 device schema. harp-tech/protocol#249 changed it for draft-03, and a draft-03 file does not load correctly today:
name replaces device, and version replaces firmwareVersion. Both new keys are ignored by DeviceModel, so the device name and version read as None.
hardwareTargets is removed.
Registers called Reserved followed by their address declare visibility: reserved, which Visibility does not accept, and take defaults for everything else, a single U8 with Read access, so a reserved register declaring no type fails to load.
deprecated is declared on payload members as well as registers.
Both key spellings need to load, since draft-02 files keep device and firmwareVersion.
Activity