BACnet
BACnet copied to clipboard
Schedule Object write
Hi, I'm trying to update the value of a Schedule Object but I'm experiencing an issue.
This is the code snippet: Client.WritePropertyRequest(new BacnetAddress(BacnetAddressTypes.IP, bacnetServer.Url+":"+bacnetServer.Port), bacnetSchedulerIdentifier, BacnetPropertyIds.PROP_WEEKLY_SCHEDULE, valueWeeklyScheduleList);
the thrown Exception says "I cannot encode this". Looking at source code it looks like this kind of objects are not managed, am I wrong? Have you ever worked with schedule objects before?
Thanks
Hi @psicus78, no I haven't worked with schedule objects before. Can you check if yu cand write anything to them using YABE app from which this codebase is derived from?
https://sourceforge.net/projects/yetanotherbacnetexplorer/
But it shouldn't be a problem to add it if the codebase doesn't support encoding such requests.