I use the 32feet.net library to connect to a Bluetooth mobile phone. I have successfully discovered devices that are successfully connected to the device. I successfully called using the AT command using a bluetooth drive with 32feet.net and C #
I want to use the laptop speaker and microphone during a voice call on a mobile phone.
My C # code to dial
BluetoothEndPoint bep = new BluetoothEndPoint(phone.DeviceAddress,BluetoothService.Handsfree); cli = new BluetoothClient(); cli.Connect(bep); peerStream = cli.GetStream(); peerStream = Listofdevices.cli.GetStream(); String dialCmd4 = "ATD"+txtdialer.Text+";\r\n"; Byte[] dcB = System.Text.Encoding.ASCII.GetBytes(dialCmd4); Listofdevices.peerStream.Write(dcB, 0, dcB.Length); Byte[] sRes = new Byte[200]; peerStream.Read(sRes, 0, 199);
How can I use my laptop speaker and microphone for call communication?
source share