I am developing a WPF application, capable of sending, and receiving text, images, and videos to Android devices over Bluetooth. I'm using 32feet.Net library.
Currently, I can send, and receive images and videos using ObexObjectPush service but I don't know by using which service I can send text message.
I have made a sample WPF application for sending text to another WPF application. I followed the steps specified in this link. In that I used same Guid as service id in both application.
Now, My question is do I have to create an andriod application, for achieving same, which will be using same service id and can send and receive text messages over Bluetooth?
I have tried SerialPort but it didn't work.
using (var bluetoothClient = new BluetoothClient())
{
var endPoint = new BluetoothEndPoint(device.DeviceAddress,
BluetoothService.SerialPort);
bluetoothClient.Connect(ep); // this line fails
/*
More code
*/
}