martinohanlon / BlueDot

A zero boiler plate bluetooth remote
MIT License
143 stars 44 forks source link

Bluedot Android app with more buttons etc.. #124

Closed lectronix closed 5 years ago

lectronix commented 5 years ago

Hi,

It's great, thanks but how do I make an Android app with more than one Bluedot button or other control? A simple example would do.

Also is there an iOS version thought about?

Thanks

Kim@Lectronix

martinohanlon commented 5 years ago

iOS doesn't support sending Bluetooth data over rfcomm so unfortunately at the moment it is a non starter. For this to progress either apple need to open up the Bluetooth stack in iOS or Linux (more specifically bluez and Python) need better support for BLE peripheral devices. I'm hopeful one day.

Re creating a new Android app, multiple buttons would be a significant change and I'm sorry there isn't an example I could point you at but future developments of BlueDot 'may' bring something similar.

ukBaz commented 5 years ago

FYI: I have been working on a Python BlueZ BLE UART implementation. https://github.com/ukBaz/python-bluezero/blob/ble_uart/examples/ble_uart.py I think your concern is that the user will need to have BlueZ in experimental mode and have modified the DBus configuration file to open the permissions up. e.g. ‘ukBaz.bluezero’ in my example

When Debian Buster is released it will contain a newer version (5.50) of BlueZ that will no longer require BlueZ to be in experimental mode for this type of functionality to work.

martinohanlon commented 5 years ago

Yes @ukBaz the challenge is to deliver a simple installation. Good news about Buster.