NubeIO / driver-bacnet

0 stars 2 forks source link

Rounding the write value #14

Closed NubeDev closed 2 years ago

NubeDev commented 2 years ago

when i write 23.44 it returns 23

pi@raspberrypi:~/bacnet-stack-bacnet-stack-1.0.0/bin $ ./bacwp 1234 1 1 85 16 -1 4 23.44

WriteProperty Acknowledged!
pi@raspberrypi:~/bacnet-stack-bacnet-stack-1.0.0/bin $ ./bacrp 1234 1 1 87
{Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,23.000000}
NubeDev commented 2 years ago

@shomaglasang can you please also check the AV and AI as they might be the same

shomaglasang commented 2 years ago

@NubeDev mate the current implementation of AV and AI do not support the PROP_PRIORITY_ARRAY property. Only AO supports PROP_PRIORITY_ARRAY property. Do you think AV and AI should also support PROP_PRIORITY_ARRAY?

shomaglasang commented 2 years ago

This is fixed already.