1 // 2 // Copyright (c) 2010-2025 Antmicro 3 // Copyright (c) 2011-2015 Realtime Embedded 4 // 5 // This file is licensed under the MIT License. 6 // Full license text is available in 'licenses/MIT.txt'. 7 // 8 using System; 9 using Antmicro.Renode.Peripherals.Network; 10 11 namespace Antmicro.Renode.Peripherals.Wireless 12 { 13 public interface IRadio : IPeripheral, INetworkInterface 14 { 15 int Channel { get; set; } 16 event Action<IRadio, byte[]> FrameSent; ReceiveFrame(byte[] frame, IRadio sender)17 void ReceiveFrame(byte[] frame, IRadio sender); 18 } 19 } 20 21