Bluetooth connectivity with C #

I want to write 2 programs from one C # on a PC, another work on a Windows mobile phone.

So, I want the PC program to send a signal via Bluetooth (possibly 1 byte) to a Windows mobile phone. and the mobile program (running on the background) processes and receives this byte without the need for pairing.

how to encode it?

please i need help.

+4
source share
2 answers

My 32feet.NET library should be useful ...

Device discovery can be done using BluetoothClient.DiscoverDevices, and data must be sent using the BluetoothClient and BluetoothListener classes, see the User Guide for more information.

+3
source

If your phone can use serial Bluetooth adapters (RFCOMM), you can send it using the serial class.

+1
source

Source: https://habr.com/ru/post/1308622/


All Articles