Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 890147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:40:55+00:00 2026-05-15T13:40:55+00:00

For my application i make a bluetooth discovery search to list all available bluetooth

  • 0

For my application i make a bluetooth discovery search to list all available bluetooth device in. If I’m in a room with a lot of computers etc, there is a really long list. So I’d like to filter Android phones from the lists.

I read the documentation under:
http://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.html and http://developer.android.com/reference/android/bluetooth/BluetoothClass.Device.Major.html

So I’m able to filter some devices like laptops, computers, etc.

Does anybody know what are the possible constants which android phones can have? I don’t want to risk to filter too many devices, but I also want to limit the list to only Android devices.

Any hints?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:40:57+00:00Added an answer on May 15, 2026 at 1:40 pm

    Bluetooth service classes are standardized. Depending on which bits are present in the class, you can detemrine whether the device is a computer or not. In fact, the class can expose a lot of useful information about each decice.

    Have a look at the manpage for hcid.conf. This page describes how the class is built:

    http://linux.die.net/man/5/hcid.conf

    As stated in the above doc:

    Example: class 0x02hhhh : the device
    offers networking service Major device
    class allocation:

    0x00: Miscellaneous
    
    0x01: Computer (desktop,notebook, PDA, organizers, .... )
    

    EDIT:
    A few other notes:

    1. Android phones aren’t in discoverable mode by default. So chances are, none of your discovered devices will ever be Android devices unless you have initiated discoverable mode on a device.

    2. Many phones can determine the RSSI (signal strength) of discovered devices. This information is passed to your app during discovery as a bundle extra. Nearby devices will generally have a higher RSSI than distant devices. So you can also filter by “how close the device is”.

    3. The Bluetooth MAC used for various devices will be of certain ranges. The first three bytes of the Bluetooth MAC corresponds to the Hardware Vendor… There are many vendors, but most of them don’t make bluetooth hardware for phones. So you could also filter by Bluetooth MAC – if it falls within a known range, it’s probably an Android.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do you make your application multithreaded ? Do you use asynch functions ?
I need to make an application in .NET CF with different/single forms with a
I'm using .NET to make an application with a drawing surface, similar to Visio.
How do I make my application always use English when displaying win32/.net exceptions messages?
I'm going to make an application (in Swing) that uses a tree to visualize
I would like to make my application somewhat REST compliant. I am using Rails
I'm trying to make an application that keeps an object model in sync with
I'm in the process of planning an application that would make use of the
Alright so here is the deal. I am trying to make a application that's
Trying to make a MySQL-based application support MS SQL, I ran into the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.