Section 3. development – MagTek BulleT User Manual

Page 9

Advertising
background image

Development

SECTION 3. DEVELOPMENT

Android comes with a demo with source that is called the BluetoothChat that allows communicating to the

Bluetooth Devices. In order to use that demo with the reader, you need to change one line of code in

BluetoothChatService.java

change the following from

private static final UUID MY_UUID = UUID.fromString("fa87c0d0-afac-11de-8a39-
0800200c9a66");

To

private static final UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-
00805F9B34FB");

The change above allows communication to Bluetooth SPP.

Once you receive the data from the reader, you can send the data to the attached class file for processing.

Advertising