Sending / receiving text and data in bluetooth (Com Port) using C #

I am creating a program that can send tests or data to Bluetooth devices. For this, I want to use the virtual serial ports supplied with the Bluetooth software.

Q. Is there a way to send a network stream to a virtual serial port, for example, socket programming on a local network?

Q. How to get the bluetooth data form? Is it in the form of a network stream?

Q. What is a quick way to send and receive data via Bluetooth?

Because I not only send text to the device, but also images and other data types.

+3
source share
2 answers

1) Bluetooth, , readFile/writeFile ( Ex) , CreateFile(), 'serial' . , (!), , , connect() accept(). , , / - .

- , Delphi "" . -, "IOhandler" "hEvent". IOhandler, -. , ( :). , #.

2) , Bluetooth. , Bluetooth COM- , " ", TCP "" COM-.

3) Windows? , -. , , Bluetooth , Windows.

Rgds,

+1

All Articles