Example #1
0
        internal BluetoothSerialPort(string portPrefix, int portIndex)
        {
            pep = new PORTEMUPortParams();
            pep.uiportflags = RFCOMM_PORT_FLAGS.REMOTE_DCB;

            this.portPrefix = portPrefix;
            this.portIndex = portIndex;
        }
Example #2
0
 private static extern IntPtr RegisterDevice(
     string lpszType,
     int dwIndex,
     string lpszLib,
     ref PORTEMUPortParams dwInfo);