Testing using intiface-engine with a WSDM Lovense device, acording to the schema I expect the result of InputCommand(Battery) to be:
[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":100}}}]
But I get:
[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":{"Data":100}}}}]
This results in a schema validation error of Value is [object] but should be [integer] - /0/InputReading/Data/Battery
I'm not sure if the schema is wrong or the serialisation.
Testing using intiface-engine with a WSDM Lovense device, acording to the schema I expect the result of InputCommand(Battery) to be:
[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":100}}}]But I get:
[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":{"Data":100}}}}]This results in a schema validation error of
Value is [object] but should be [integer] - /0/InputReading/Data/BatteryI'm not sure if the schema is wrong or the serialisation.