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