Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bluetooth and delphi , how?

I want to send a file to a device (phone) using bluetooth nothing fancy. But i don't know where to start should i find a driver? Maybe one of you guys worked with bluetooth before and can give me a starting point.

like image 632
opc0de Avatar asked Jul 26 '11 08:07

opc0de


People also ask

How does Bluetooth device discovery work?

If a device is discoverable, it responds to the discovery request by sharing some information, such as the device's name, its class, and its unique MAC address. Using this information, the device that is performing the discovery process can then choose to initiate a connection to the discovered device.

How Bluetooth works in mobile write step by step?

Make sure Bluetooth is turned on. Touch and hold Bluetooth . In the list of paired devices, tap a paired but unconnected device. When your phone and the Bluetooth device are connected, the device shows as "Connected."

What data transfer method does Bluetooth use?

To transfer files via Bluetooth, you have to turn the Bluetooth on both devices, connect them and then share the file. Bluetooth technology uses radio waves to transmit information between nearby devices.


1 Answers

I hacked some bluetooth support into Indy (because you can only(?) read/write bluetooth via sockets: Bluetooth Programming with Windows Sockets) a month ago.

See my post on the indy forum for the code:
Indy Bluetooth support

We use it here for reading a bluetooth barcode scanner (both master and slave mode), with auto connect etc (maybe I need to update the posted code for master support, please let me know if you need it)

like image 106
André Avatar answered Oct 16 '22 07:10

André