Hello all,
I'm trying to make my laptop communicate with a robot using bluetooth and with a user interface in C#. The information I need to send is very small and basic. It is a simple string and that is it.
I have not had any experience using bluetooth really, so the way i figure it for the laptop I could use the built-in bluetooth in my laptop as I know what COM port that is on. However, for the robot I purchased a separate bluetooth device (a USB dongle?). I've also downloaded and installed the Microsoft.WindowsMobile.SharedSource.Bluetooth. Now the problem I'm facing is that I don't know what to do with it. There is a BluetoothDevice class and a BluetoothRadio class. Which should I use? I paired the device to my laptop.
I have searched extensively online and just could not find anything simple enough. When I try to simplify the code myself it doesn't work. I just need to send one simple string from my laptop to the USB bluetooth device that will be attached to the robot.
I know there is a 32feet alternative to the microsoft namespace but i would prefer to use the microsoft one.
Any suggestions? I'd appreciate it immensely.