Ejemplo n.º 1
0
        // send, wait for response and return received packet:
        public GPacketReceived Transact(GPacket packet)
        {
            byte[]          bytes    = packet.toBytes();
            GPacketReceived packetIn = new GPacketReceived();

            m_physLayer.Transact(bytes, packetIn);
            return(packetIn);
        }
Ejemplo n.º 2
0
 public void SendPacketWaitAck(GPacket packet)
 {
     byte[] bytes = packet.toBytes();
     m_physLayer.SendWaitAck(bytes);
 }