">&quot;Failed to connect to the Aggregator Service!&quot;</span><span class="p">)</span>
            <span class="k">return</span> <span class="kc">False</span>

        <span class="c1"># Continue to send an empty GPS data request if connected to a device without GPS signal.</span>
        <span class="c1"># These variables control the frequency with which these empty messages are sent.</span>
        <span class="n">every_x_seconds</span> <span class="o">=</span> <span class="mi">5</span>
        <span c