Add opt-in low power Sensor dog tracking
Acquire fresh GPS and validated UTC, check an authenticated owner Companion, and apply saved lost-status cadence with bounded awake windows. Persist request tags, routes, and six-hour flood reservations; preserve the four-day cutoff across sleep and restart. Keep Dispatcher recovery active after a failed radio wake, honor denied flood retries after lost TxDone, and qualify GPS ownership and clock corrections. Add executable regression tests and nRF52/ESP32 Sensor build jobs. Validation: six firmware builds, 1829 native test cases, sanitized tracker/storage/GPS/sleep/recovery tests, and strict documentation build. Bluetooth Find My advertising and automatic Room mailbox polling remain separate work.
This commit is contained in:
1 parent
90b12f6fa3
commit
1f1a499482
43 files changed
+4684
-17
No files matched your search
@@ -77,6 +77,16 @@ class SensorSubscriptionTest(unittest.TestCase):
|
||||
def test_subscription_collection_and_push_fit_host_packet_budget(self):
|
||||
self.passed('capacity')
|
||||
|
||||
def test_tracker_mode_suppresses_active_and_pending_pushes_then_restores(self):
|
||||
self.passed('tracker')
|
||||
|
||||
def test_missing_tracker_push_guard_is_rejected(self):
|
||||
def old(source):
|
||||
guard = ' if (isTrackerModeEnabled()) break; // Check-in replaces background pushes.'
|
||||
self.assertEqual(source.count(guard), 1)
|
||||
return source.replace(guard, '', 1)
|
||||
self.assertNotEqual(self.execute('tracker', old).returncode, 0)
|
||||
|
||||
def test_scalar_writer_rejections_leave_buffer_and_length_untouched(self):
|
||||
self.passed('writer')
|
||||
|
||||
|
||||
Reference in new issue
Block a user