开发者

Get Mobile Phone OS over Bluetooth

开发者 https://www.devze.com 2022-12-30 06:16 出处:网络
开发者_Go百科Is it possible to check over Bluetooth if Android is running on a mobile phone?Since it\'s a random/untrusted device you\'ll have to rely on passive techniques and statistical analysis:

开发者_Go百科Is it possible to check over Bluetooth if Android is running on a mobile phone?


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消