cameleon-rs/cameleon

Some command nodes are always not writable

yawara opened this issue · 0 comments

  • What did you expect to happen? What did actually happen?

Some command nodes which has a non-writable command_value ( e.g. UserSetLoad ) are not writable
because is_writable is calculated from value and command_value.

&& self.command_value.is_writable(device, store, cx)?

It should only depend on value?

  • How to reproduce the issue?

I used Hikvision's MV-CB060-10UC-C.
pCommandValue of UserSetLoad is defined as IntSwissKnife then it is always not writable.

Meta

  • Which manufacturer's camera did you use?

Hikvision

  • What is the model name of the camera?

MV-CB060-10UC-C

  • Which Cameleon version are you using?

0.1.2