How can I use Tasker to reconnect bluetooth when the connection is lost?
An app called Bluetooth Auto Connect by a developer named refluxa has the ability to connect to specific bluetooth devices (that have been previously paired) and it acts like a Tasker plugin. So you can have a task that turns on bluetooth, and create a loop that runs five times and uses this plugin to connect to a specific bluetooth source. Then, check if bluetooth is connected and, if it is not, turn bluetooth off.