Fixes and improvements to bt and drippy scripts
Compare changes
Files
4- Elmedin Zildzic authored
* Fix bs4 constructor args, now uses xml * Add verbosity option for hcitool commands * Output errors * Implement graceful shutdown for GpsPoller * GpsPoller now opens UNIX socket instead of using GPS lib
@@ -10,7 +10,8 @@ from datetime import datetime
@@ -42,6 +43,8 @@ g_lat, g_lon = 58.398176, 15.575927
@@ -81,6 +84,7 @@ def location_update(gpsd: GpsPoller, iroha: DripIrohaAccount, flight_id):
@@ -122,7 +126,7 @@ def location_update(gpsd: GpsPoller, iroha: DripIrohaAccount, flight_id):
@@ -131,12 +135,13 @@ def location_update(gpsd: GpsPoller, iroha: DripIrohaAccount, flight_id):
@@ -152,7 +157,7 @@ def basic_id_update(hhit):
@@ -161,12 +166,13 @@ def basic_id_update(hhit):
@@ -185,10 +191,10 @@ def auth_update(auth_pages, msg_number):
@@ -197,7 +203,7 @@ def auth_update(auth_pages, msg_number):
@@ -273,6 +279,13 @@ def main():
@@ -280,6 +293,10 @@ def main():
@@ -319,7 +336,7 @@ def main():
@@ -343,7 +360,7 @@ def main():
@@ -358,7 +375,7 @@ def main():
@@ -371,52 +388,67 @@ def main():