[Bacsharp-developers] BACnet Packets and enumerations
Brought to you by:
anders-agren,
skarg
From: Steve K. <st...@ka...> - 2008-01-28 23:16:26
|
Hi Developers! I have looked at the code that is in Subversion (thank you Anders!), and noticed that it is similar to other efforts that I have seen (VTS3 and BACpypes) as far has how the packet encoding and decoding is solved - very distributed. I would like to change that. I think that creating a BACnetPacket class that has all the core methods for encoding and decoding data in packets as well as tracking size and current offset would be useful as a core piece of code. (similar to bacdcode.c and friends from the BACnet Stack at SourceForge) Then it should be straight forward to encode or decode each service using the BACnetPacket methods. Thoughts? I also would like to extend the BACnetEnums class that has been started by converting the code from the BACnet Stack at SourceForge bacenum.h file. It should be pretty straight forward. Anders: the license in the header looks great! The version for the BACnet Stack at SourceForge was heavily "influenced" by the eCos files. :-) Best Regards, Steve -- http://steve.kargs.net/ |