How can i auto connect bluetooth audio device?

i have a bluetooth audio device, i want to auto connect it when jetson is starting, without desktop,just use script, how can i resolve this problem?
i also touch a bash script, add it into rc.local, but when jetson staring, it can’t connect ! when i exec this script in desktop enviroment terminal it’s ok!

No idea how to get it working, may other developers help to sahre experiences.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.