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

Button name or ID across apps #12

Open
arlomedia opened this issue Oct 19, 2020 · 3 comments
Open

Button name or ID across apps #12

arlomedia opened this issue Oct 19, 2020 · 3 comments

Comments

@arlomedia
Copy link

I read this issue about the button name property, but it wasn't clear -- is the name property set separately for each app?

#2

In my case, I set the button name to "Flic 2" in the Flic app, but when my app scans for buttons, it shows that the name field is empty. Meanwhile, if I use the Android BluetoothAdapter class to scan for devices, it shows the name as "F208d1wF."

I would like to have a name or ID that is visible in my app, the Flic app and the Android bluetooth framework. I can see the Bluetooth device address (80:E4:DA:77:5C:05) in my app and the Android framework, but I don't see a way to view it in the Flic app. I can see a UUID and serial number in my app, but not in the Android framework or the Flic app.

So my requests would be 1) share the name field across apps, if it isn't already, or 2) show the Bluetooth device address somewhere in the Flic app, perhaps on the screen shown below.

device-2020-10-19-100615

@Emill
Copy link
Contributor

Emill commented Oct 19, 2020

We are planning to add the serial number to the Android app. Would that be fine?

@arlomedia
Copy link
Author

Showing the serial number in the app would be helpful because that's what I'm using as an identifier in my app currently. If you could also make that appear to Android's BluetoothAdapter framework as the name (BluetoothDevice.getName()), that would be perfect, but I don't know if that's something you control.

The reason I'm using Android's BluetoothAdapter is that my app supports remote control from a variety of different devices, and I have a status screen that lists all the connected devices. The name that it shows currently doesn't correspond to any of the fields available in the Flic library.

device-2020-10-19-105405

@arlomedia
Copy link
Author

arlomedia commented Oct 20, 2020

I just noticed that the iOS Flic app shows the F208d1wF value, but then the iOS Settings app shows the serial number.

IMG_2159

IMG_2160

So adding the serial number to the iOS app, maybe instead of the F208d1wF value, would also be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants