c# - Bluetooth communication from PC to mobile phone, use laptop speaker and mic during voice call -
i using 32feet.net library connecting bluetooth mobile phone. have discovered devices, paired device. have made call using @ command of bluetooth dial 32feet.net , c#
i want use speaker , mic of laptop during voice call going on mobile phone.
my c# code dialing call
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 use speaker , mic of laptop communication on call?
Comments
Post a Comment