Modeling of state machines in VHDL for encapsulation of DNP3 protocol in P2P ZigBee network | IEEE Conference Publication | IEEE Xplore