mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-12-06 08:34:42 +00:00
Whether a claim may replace what an observer has stored, own or foreign, is now decided in one place under the observer's seat lock: an older claim never undoes a newer one, the claim spacing holds across both kinds, and an unsigned claim is refused while a signed one is live. An observer that turns foreign loses every assignment in the same transaction, requested ones its claim does not name included. A server that starts checking drops the claims that were not placed under its current host and broker list. A foreign reading never counts as a repeater's newest; one from an observer this server assigned the target stays its own; with authority approved it needs approval to be trusted. A null sig or poll_url is refused. A packet's broker set only grows. The foreign reading lookups get a partial index (093), the MQTT 5 connected flag follows the current connection only, and queued messages are charged for their source.