Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get bluetooth device class #206

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused string
tegarnugroho committed Sep 18, 2023
commit 655676ba5bcccaea75f2e11e7253aa92039c823f
Original file line number Diff line number Diff line change
@@ -278,7 +278,7 @@ public void onReceive(Context context, Intent intent) {
discoveryResult.put("name", device.getName());
discoveryResult.put("type", device.getType());
// discoveryResult.put("class", deviceClass); // @TODO . it isn't my priority for now !BluetoothClass!
discoveryResult.put("isConnected"`, checkIsDeviceConnected(device));
discoveryResult.put("isConnected", checkIsDeviceConnected(device));
discoveryResult.put("bondState", device.getBondState());
discoveryResult.put("rssi", deviceRSSI);
discoveryResult.put("bluetoothClass", device.getBluetoothClass());