public TxCommunication(IRfcommAdapter adapter) { if (adapter == null) { throw new ArgumentNullException(nameof(adapter)); } _communicationTaskQueue = new TaskQueue("TX Communication"); _controllerNameCache = new ConcurrentDictionary <string, string>(); _adapter = adapter; }
public TxInterface(IRfcommAdapter serialAdapter) { SerialAdapter = serialAdapter; Connection = ConnectionStatus.NotConnected; _masterInterface = new FtExtension(0); }