giech / arduinotaskerbluetooth

Android Tasker plugin for sending serial messages over Bluetooth. Example Arduino code for turning a switch on/off
20 stars 9 forks source link

MultiCommand Support #6

Open diabl0w opened 5 years ago

diabl0w commented 5 years ago

Thanks for this unique tasker plugin!

From what I understand, if I want to send two consecutive messages with this app then I have two make 2 tasker tasks to send them. Then this would mean the plugin connects to bluetooth and creates a socket, sends a message, then closes the connection. Then for the second message it connects to bluetooth and creates a socket, sends a message, then closes the connection again.

Is it possible now or to add the ability to connect to bluetooth and create a socket, send multiple messages, and then close the connection?

giech commented 5 years ago

Hi there! What is the use-case for this? Why can't the two messages be combined in a single command?