add cli to pull gateways that location has changed since given timestamp#1210
Open
bbalser wants to merge 1 commit into
Open
add cli to pull gateways that location has changed since given timestamp#1210bbalser wants to merge 1 commit into
bbalser wants to merge 1 commit into
Conversation
michaeldjeffrey
approved these changes
Jun 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
gateway location-changed-atCLI command to mobile-config-cliSummary
Adds a new
location-changed-atsubcommand undermobile-config-cli gatewaythat streams all hotspots whose location changed at or after a given timestamp, using thegateway_info_stream_req_v4RPC.Usage
Outputs pretty JSON with the filter value, a match count, and per-gateway details:
name,pubkey,device_type,location/lat/lon,location_changed_at,num_location_asserts,created_at,updated_at,owner,owner_changed_at.Changes
cmds/mod.rs— newLocationChangedAtcommand variant + args struct (--min-location-changed-at, optional--batch-sizedefault 5000, global keypair/host/pubkey).client.rs— newinfo_stream_v4method onGatewayClientthat builds, signs, and streams aGatewayInfoStreamReqV4(min_location_changed_atset; other filters left at 0); registeredimpl_sign!/impl_verify!for the V4 req/res types.cmds/gateway.rs— serializableGatewayInfoV4summary withTryFrom<GatewayInfoV4Proto>, plus thelocation_changed_athandler.main.rs— wired the new subcommand into dispatch.Notes
min_location_changed_atfield).cargo checkandcargo clippypass clean formobile-config-cli.