views:

74

answers:

2

Is it possible to check over Bluetooth if Android is running on a mobile phone?

A: 

Bluetooth spec does not send any SO specific information. You should send that info programatically, and after the connection has been stablished, of course.

Cristian
hmm ok then there is no way to detect that before connection establishment?
Roflcoptr
+2  A: 

Since it's a random/untrusted device you'll have to rely on passive techniques and statistical analysis:

  • Does the Bluetooth MAC fall into a range known to be used by certain Android hardware
  • Fingerprint the SDP records returned by the device. For example, my A855 returns a whole bunch of SDP records which could be used to distinguish it from other types of devices. (Linux command $ sdptool browse <Bluetooth MAC>)
  • Is the device discoverable? (Does it show up in a scan for nearby devices?) Because Android defaults to not discoverable.
Brad Hein