From f919b9ac5b8ab627c594d45b994649404f4d40c3 Mon Sep 17 00:00:00 2001 From: bedweb Date: Tue, 30 Sep 2025 14:03:36 +0200 Subject: [PATCH] testagain --- ais_query.sh | 2 +- subscription.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 subscription.json diff --git a/ais_query.sh b/ais_query.sh index 37b1d2b..0833928 100755 --- a/ais_query.sh +++ b/ais_query.sh @@ -185,4 +185,4 @@ trap cleanup EXIT INT TERM SUBSCRIPTION_MSG=$(create_subscription_message) # Connect to websocket and send subscription message -echo "$SUBSCRIPTION_MSG" | websocat -n --text - -H "Sec-WebSocket-Protocol: json" -v autoreconnect:"$WEBSOCKET_URL" | process_message +echo "$SUBSCRIPTION_MSG" | websocat --ping-interval 10 -n --text -H "Sec-WebSocket-Protocol: json" -v "$WEBSOCKET_URL" | process_message diff --git a/subscription.json b/subscription.json new file mode 100644 index 0000000..111851c --- /dev/null +++ b/subscription.json @@ -0,0 +1 @@ +{"APIKey":"8d32f42f3d7fa506ed5ed549d29279580b99303b","BoundingBoxes":[[[-90,-180],[90,180]]],"FiltersShipMMSI":["227397210"]}