摘要
用抽象语法标注的BACnet网络协议数据单元可读性好,但是用传统过程调用方法实现协议编解码是一件复杂而繁重的工作。采用面向对象的C++语言实现BACnet应用层协议数据单元编解码来达到“直接利用原有的协议数据单元定义完成协议数据单元编解码”的简化目的。
ASN.1 was used to represent BACnetAPDU,It's easy to be read,but It's complex and burdensome to implement the BACnetAPDU's en/decoder using process-oriented method.Therefore,this paper used object-oriented method with C++ language,so that can en/decode BACnetAPDU directly by using its definition.
出处
《工业控制计算机》
2005年第9期64-65,共2页
Industrial Control Computer