Skip to content

Instantly share code, notes, and snippets.

@davebrny
Created May 4, 2018 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davebrny/96cd2e827a7e62ec173d2bebae7ed074 to your computer and use it in GitHub Desktop.
Save davebrny/96cd2e827a7e62ec173d2bebae7ed074 to your computer and use it in GitHub Desktop.
(android tasker) automatically connect to the garmin glo when its detected nearby
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof176" ve="2">
<cdate>1525199587422</cdate>
<clp>true</clp>
<edate>1525368717245</edate>
<id>176</id>
<mid0>154</mid0>
<mid1>188</mid1>
<nme>garmin glo connected</nme>
<State sr="con0" ve="2">
<code>3</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3"></Str>
</State>
</Profile>
<Task sr="task154">
<cdate>1525348115541</cdate>
<edate>1525368717245</edate>
<id>154</id>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>61</code>
<Int sr="arg0" val="75"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%GLO</Str>
<Str sr="arg1" ve="3">1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
</Task>
<Task sr="task188">
<cdate>1525351122790</cdate>
<edate>1525368707609</edate>
<id>188</id>
<pri>1006</pri>
<Action sr="act0" ve="7">
<code>877</code>
<label>stop service</label>
<Str sr="arg0" ve="3">googoo.android.btgps.action.SERVICE_STOP</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%GLO</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="5.1m">
<Profile sr="prof122" ve="2">
<cdate>1525199587422</cdate>
<edate>1525431356278</edate>
<id>122</id>
<mid0>153</mid0>
<nme>garmin glo near</nme>
<State sr="con0" ve="2">
<code>4</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3"></Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="1"/>
<Int sr="arg6" val="0"/>
</State>
<State sr="con1" ve="2">
<code>165</code>
<ConditionList sr="if">
<bool0>Or</bool0>
<Condition sr="c0" ve="3">
<lhs>%GLO</lhs>
<op>2</op>
<rhs>0</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%GLO</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
</ConditionList>
</State>
</Profile>
<Task sr="task153">
<cdate>1525199594183</cdate>
<edate>1525423398241</edate>
<id>153</id>
<Action sr="act0" ve="7">
<code>877</code>
<label>start service</label>
<Str sr="arg0" ve="3">googoo.android.btgps.action.SERVICE_START</Str>
<Int sr="arg1" val="0"/>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Str sr="arg8" ve="3"/>
<Int sr="arg9" val="0"/>
</Action>
</Task>
</TaskerData>
@davebrny
Copy link
Author

davebrny commented May 4, 2018

Bluetooth GPS needs to be installed and set up with the garmin glo before the start/stop intents will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment