public static IL2CapClient Create() { WidcommBluetoothFactoryBase wf = WidcommBluetoothFactory.GetWidcommIfExists(); var cli = new WidcommL2CapClient(wf); return(cli); }
//---- protected override CommonRfcommStream GetNewPort() { CommonRfcommStream port = WidcommL2CapClient.GetWidcommL2CapStreamWithThisIf( m_factory, _rfCommIf__tmp); return(port); }
void SetupRfcommIf() { IRfCommIf rfCommIf = WidcommL2CapClient.GetWidcommL2CapIf(m_factory); _rfCommIf__tmp = rfCommIf; m_RfCommIf = new WidcommRfcommInterface(rfCommIf); rfCommIf.Create(); GC.ReRegisterForFinalize(this); }
protected override IBluetoothClient GetBluetoothClientForListener( CommonRfcommStream strm) { return(WidcommL2CapClient.factory_DoGetBluetoothClientForListener( m_factory, strm)); }