public XBeeInterfaceReceiver(Radio_Series1 p)
 {
     state = (int)RXState.IDLE;
     buffer = new byte[128];
     packet = new XBeeRXPacket();
     parent = p;
 }
Exemplo n.º 2
0
        private RXState state; /** Current state of the receiver. */

        #endregion Fields

        #region Constructors

        /** Constructor for the XBeeInterfaceReceiver class.
         *  @param p The parent Radio instance we're parsing packets for. */
        public XBeeInterfaceReceiver(Radio p)
        {
            state = (int)RXState.IDLE;
            packet = new XBeeRXPacket();
            parent = p;
        }