Android program to connect Bluetooth devices

1k Views Asked by At

I have Bluetooth device called FEIG OBID iScan - HF reader which will connect to PC through Bluetooth and send the data when reads HF tag.I have paired the device in my Android phone and generated code like 00:07:80:9C:C9:B9 now through my andriod program how can I connect to this device and get the data from the device(FEIG) in to android device.Please give any android source code to connect and get the data.

1

There are 1 best solutions below

5
On BEST ANSWER

A few years ago I also tried to connect using bluetooh on my PC and send data to a terminal and also to a bluetooh module and I managed to do that using the following example:

Bluetooh chat example

(of course you need to adapt it to your needs)

The example above contains a server and a client that will send and receive messages/data using bluetooh connection, it will also show you how to search for devices and pair them.

I also found this example and I think it will also be useful to see and understand. Android--Bluetooth-Connection-Code-Sample

Cheers