Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get the Serial Number of the Remote Device over Bluetooth?

In my application, I discovered bluetooth devices and thus got the following ---

  • Name of Bluetooth Device.
  • Hardware address of Bluetooth Device.

This is done by getting BluetoothDevice object for each discovered device and calling object.getName() and object.getAddress().

I also want to get the Serial number of each discovered bluetooth device.

I know to get the serial number of my own device as ---

android.os.Build.SERIAL
like image 358
My God Avatar asked Apr 30 '14 13:04

My God


People also ask

Where is my Bluetooth serial number?

Portable and Wireless Speakers Depending on the Wireless Speakers model, you can find the model name and serial number on the bottom of the Portable and Wireless Speaker.

How do I find my Bluetooth serial number on Android?

Method 1: On your device, go to Settings > About, swipe up and down to view the device name (the device Bluetooth name), MAC address, model, version number, and SN (serial number).

What is used to identify Bluetooth devices?

All wireless devices have small manufacturing imperfections in the hardware that are unique to each device. These fingerprints are an accidental byproduct of the manufacturing process. These imperfections in Bluetooth hardware result in unique distortions, which can be used as a fingerprint to track a specific device.


1 Answers

(Updated URLs)

Many bluetooth low energy profiles provide a service called Device Information.
Assigned UUID: 0x180A
https://www.bluetooth.com/specifications/gatt/services/

Under this service there is a Serial Number String characteristic which can hold a serial number specific to the Bluetooth low energy device.
Assigned UUID: 0x2A25
https://www.bluetooth.com/specifications/gatt/characteristics/

This is optional though and not all BLE profiles will have it, and you have to connect to the device to retrieve this information.

like image 60
benka Avatar answered Nov 03 '22 20:11

benka