From bfa3fa62305858166d8acdcf6da4a6d33249877d Mon Sep 17 00:00:00 2001 From: ninioe Date: Tue, 19 Jul 2016 10:20:51 +0300 Subject: changed to generic alarm type event --- tools/test-generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/test-generator.py b/tools/test-generator.py index 54e5feced..cedbe9c69 100755 --- a/tools/test-generator.py +++ b/tools/test-generator.py @@ -35,7 +35,7 @@ for i in range(0, len(waypoints)): def send(lat, lon, course, alarm): params = (('id', id), ('timestamp', int(time.time())), ('lat', lat), ('lon', lon), ('bearing', course)) if alarm: - params = params + (('alarm', 'sosAlarm'),) + params = params + (('alarm', 'sos'),) urllib2.urlopen(server + '?' + urllib.urlencode(params)).read() def course(lat1, lon1, lat2, lon2): -- cgit v1.2.3