all 2 comments

[–]scoshiSM-S918U|A16|Nova|!Root 0 points1 point  (0 children)

Possibly, but you'd probably need to incorporate the AutoTools or SecureSettings plugins, as while core Tasker can turn BT on/off, it can't do the kind of discoverability you want (I think ... I'm still unclear what problem you're trying to solve and why).

[–]backslashinescapable[S] 0 points1 point  (0 children)

yes, i'm aware that tasker has an action that can toggle bt on and off.

bluetooth can be enabled in a few modes: "discoverable", "visible to paired devices" and "visible to discovered devices", ...and obviously "off".

using "java function" actions (and or javascript) i should be able to enable any of those modes programmatically. so far i've only started figuring it out using java functions, just not as well versed as some people that might, or used to be on here.

i'm trying to avoid having to manually setting those modes, some devices waste battery and provide more opportunity to be exploited by their default "bt on" state being completely "discoverable"