Using BT Near function Hi. Noob here. I have yatour with bluetooth in my car  and want my phone to automaticaly connect to it and play music whenever i start the car. Since for whatever reason it doesn't auto connect itself like any other normal device. 🙂
I use BT near to check if my yatour is nearby and then autotools to force connect to it. Everything works fine!
But when i shut my car, profile never stops working (just stays active forever until manualy turned off, even though the device isn't anywhere near anymore). What i need is a way to stop the profile once yatour disconnects and be able to connect once again when it's available. 
I know there's exit tasks but if i'm correct it would only stop the task (disconnect device) but i needa way to "restart" the profile itself and be able to pick up as soon device becomes available again. 🤔