internal Host(Bluetooth bluetooth) { Debug.Print("Host mode"); this.bluetooth = bluetooth; bluetooth.serialPort.Write("\r\n+STWMOD=1\r\n"); }
internal Client(Bluetooth bluetooth) { Debug.Print("Client Mode"); this.bluetooth = bluetooth; bluetooth.serialPort.Write("\r\n+STWMOD=0\r\n"); }