Hi there -
Do we have a Bluetooth SDK for .NET CF?
Would it allow me to write a scan to pair application? i.e. scan a barcode with the BT mac address of a printer, and have it automatically bond, pair and start printing?
Kind regards,
James
You can do this within our MDSDK within the Bluetooth class. You can download the SDK here
Class provides access to some Bluetooth features. More...
List of all members.
James,
For your information, our Mobile Devices SDK version 3.4 comes with a C# Bluetooth Serial Port Pairing demo application, which you could easily enhance to suit your needs:
C:\Program Files\Psion Teklogix\Mobile Devices SDK V3.4\Samples\dotnet\c_sharp\BluetoothPairing
Kind regards,Jacques
Excellent.
Thanks indeed!
Upon execution, you shall see:
At this point,
I Special notes:
As it stands, the application is targeting a CE5.0 device;
--
If your device is a Windows Mobile 6.x unit, prior to building and deploying this solution, make sure to
Hello,
this application works fine. Is it possible to scan for available devices using your SDK?
Kind regards
Jens
Hello
The PTX SDK supports the pairing and unpairing of the devices currently.
You can use Microsoft's WM SDK for this purpose.
Hi!
I'm trying to write to a printer mlp3030 (using bluetooth), without use of vcp (because I'm using the com driver to connect a another non-standar device).
I did try this code, but, don't works.
Can you help me?
try
{
BluetoothRadio br = BluetoothRadio.PrimaryRadio;
br.Mode = RadioMode.Discoverable;
BluetoothAddress addr = new BluetoothAddress(new byte[] { 0x10, 0x00, 0xe8, 0xac, 0x3f, 0xe9 });
BluetoothEndPoint ep = new BluetoothEndPoint(addr, BluetoothService.BasicPrinting);
BluetoothClient c = new BluetoothClient();
c.SetPin("");
c.Connect(ep);
StreamWriter sw = new StreamWriter(c.GetStream());
sw.WriteLine("hola\n");
sw.Close();
c.Close();
}
catch (Exception ex)
MessageBox.Show(ex, "ERROR");
TIA
jorge infante
rosario - santa fe - argentina