From 80158e10d7d59368c82ca8ff93a0a26e1232e8b9 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Wed, 11 Feb 2026 16:11:44 -0700 Subject: [PATCH] Fix GPS command protocol references: PAIR, not UBX/PMTK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RYS352A uses Airoha AG3352 engine with $PAIR proprietary commands. UBX is u-blox, PMTK is MediaTek — neither applies. Also document TinyGPS++ v1.1 requirement for GN talker ID (multi-constellation) support and reference the PAIR command guide. --- docs/ble-bridge-wiring.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/ble-bridge-wiring.md b/docs/ble-bridge-wiring.md index 41eb8e8..83aa7f6 100644 --- a/docs/ble-bridge-wiring.md +++ b/docs/ble-bridge-wiring.md @@ -224,7 +224,7 @@ ESP32 GND ──► RYS352A GND | VCC | 3V3 | 3.3V power (onboard LDO on most breakouts) | | GND | GND | Ground | | TX | GPIO5 (UART2 RX) | NMEA sentence output at 115200 baud | -| RX | GPIO6 (UART2 TX) | UBX/NMEA config input (optional) | +| RX | GPIO6 (UART2 TX) | PAIR/NMEA config input (optional) | | PPS | GPIO7 | 1Hz pulse synchronized to GPS time | **PPS (Pulse Per Second):** The RYS352A outputs a precise 1Hz pulse on the @@ -233,10 +233,14 @@ this edge via interrupt (`micros()` timestamp) for correlating satellite events with sub-microsecond precision relative to the GPS epoch. The module's RTC battery backup enables warm starts (~5s) after initial cold start fix (~30-60s). -**UART notes:** The RYS352A defaults to 115200 baud NMEA output. The TX line -(GPIO6) is optional — only needed if you want to send UBX configuration -commands to change update rate, constellation selection, or enable additional -NMEA sentences. The firmware uses TinyGPS++ to parse standard GGA/RMC sentences. +**UART notes:** The RYS352A defaults to 115200 baud NMEA output with `GN` +talker ID (multi-constellation). The TX line (GPIO6) is optional — only needed +to send `$PAIR` proprietary commands (Airoha AG3352 engine) for changing +update rate (`$PAIR050`), constellation selection (`$PAIR066`), PPS config +(`$PAIR752`), or NMEA sentence output rates (`$PAIR062`). See +`docs/RYS352x_PAIR_Command_Guide.md` for the full command reference. +The firmware uses TinyGPS++ v1.1+ to parse standard GGA/RMC sentences — +v1.1 is required for `$GNGGA`/`$GNRMC` (multi-GNSS talker ID) support. ## Full GPIO Map