Skip to content

Add GPS & Network service - #54

Open
apfxtech wants to merge 4 commits into
flipperdevices:devfrom
DarkFlippers:dev
Open

Add GPS & Network service #54
apfxtech wants to merge 4 commits into
flipperdevices:devfrom
DarkFlippers:dev

Conversation

@apfxtech

Copy link
Copy Markdown
  1. GNSS/GPS RPC messages

Adds protobuf messages for exchanging GNSS data over RPC.

The primary use case is allowing the companion application (Android, desktop, etc.) to provide GPS coordinates to the Flipper Zero. This enables applications on Flipper to use the host device's GNSS receiver without requiring external GPS hardware.

The protocol is intentionally bidirectional, allowing Flipper Zero to send its own location back to the companion application when required by the application.

  1. Network RPC messages

Adds a generic networking interface for companion-assisted communication.

The companion application performs network operations (HTTP, HTTPS, WebSocket, TCP and UDP) on behalf of Flipper Zero and exchanges data through RPC messages.

This approach significantly reduces firmware complexity and memory usage by avoiding implementation of multiple network protocol stacks on the embedded device while still allowing Flipper applications to access network services.

The protocol is transport-agnostic: developers are free to implement any custom protocol on the Flipper side, while the companion application acts as a networking backend rather than exposing only predefined APIs.

Please create a new protobuf release/tag after merging this PR so the firmware can detect the protocol changes. Once the protobuf changes are accepted, I'll verify the firmware backend services against the new protocol and open a second pull request for the firmware implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants