-
Notifications
You must be signed in to change notification settings - Fork 0
/
tasker-script.tsk.xml
125 lines (125 loc) · 3.04 KB
/
tasker-script.tsk.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<TaskerData sr="" dvi="1" tv="5.8.3">
<Task sr="task53">
<cdate>1568410623878</cdate>
<edate>1568934676114</edate>
<id>53</id>
<nme>Update APRS</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>300</code>
<label>2019-09-19 22:48 AC6SL
APRS smart beacon task for KF6GPE update-aprs.js</label>
</Action>
<Action sr="act1" ve="7">
<code>300</code>
<label>get GPS position & count timeouts</label>
</Action>
<Action sr="act10" ve="7">
<code>300</code>
<label>if new position, APRS, else count dupe</label>
</Action>
<Action sr="act11" ve="7">
<code>888</code>
<Str sr="arg0" ve="3">%APRSposdupe</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act12" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%APRSposdist</lhs>
<op>7</op>
<rhs>2 * %APRSposACC</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act13" ve="7">
<code>549</code>
<Str sr="arg0" ve="3">%APRSposdupe</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act14" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%APRSposlat</Str>
<Str sr="arg1" ve="3">%LOC1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
</Action>
<Action sr="act15" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%APRSposlon</Str>
<Str sr="arg1" ve="3">%LOC2</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
</Action>
<Action sr="act16" ve="7">
<code>131</code>
<se>false</se>
<Str sr="arg0" ve="3">update-aprs.js</Str>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="45"/>
</Action>
<Action sr="act17" ve="7">
<code>38</code>
</Action>
<Action sr="act2" ve="7">
<code>888</code>
<Str sr="arg0" ve="3">%APRSloctimeout</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>902</code>
<Int sr="arg0" val="2"/>
<Int sr="arg1" val="20"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>549</code>
<Str sr="arg0" ve="3">%APRSloctimeout</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>300</code>
<label>calculate distance from last aprs</label>
</Action>
<Action sr="act6" ve="7">
<code>590</code>
<Str sr="arg0" ve="3">%LOC</Str>
<Str sr="arg1" ve="3">,</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%APRSposdist</Str>
<Str sr="arg1" ve="3">sqrt(((%LOC1-%APRSposlat)*111111)^2+((%LOC2-%APRSposlon)*111111*cos((%LOC1+%APRSposlat)/2))^2)</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="1"/>
</Action>
<Action sr="act8" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%APRSposACC</Str>
<Str sr="arg1" ve="3">%LOCACC</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Int sr="arg5" val="3"/>
</Action>
<Action sr="act9" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Dist %APRSposdist m, LOCACC %APRSposACC m</Str>
<Int sr="arg1" val="1"/>
</Action>
</Task>
</TaskerData>