Exemple #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);
        }
Exemple #2
0
 public void SendPacketWaitAck(GPacket packet)
 {
     byte[] bytes = packet.toBytes();
     m_physLayer.SendWaitAck(bytes);
 }