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