Bluetooth device not discoverable

后端 未结 4 542
面向向阳花
面向向阳花 2020-12-16 08:28

I\'d like to establish a Bluetooth communication between an Android phone and a remote device. The class of the remote device is a basic one just a simple Bluetooth adapter.

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 08:54

    Ok after some research on the web, for those who want to develop a Bluetooth application on Android (tested on 2.1 Eclair I don't know for other versions) It seems that some phone manufacturer decided to ignore any bluetooth device which advertises itself as class 0×00 and wont allow connections, fire off Intents on discovery or even list it on the bluetooth settings page. Here what it looks like in debugging mode in the LogCat section of Eclipse

    DTUN_HCID Device [00:09:EF:58:04:38] class is 0x00 -  skip it
    

    I tried it on a Samsung Galaxy 3 teos and a HTC Wildfire. Apparently it works fine on the Nexus One. Well too bad Google stopped selling it. If some of you tested on other phones and it works please let us know.

    Lorenth

提交回复
热议问题