DEKI/ENGINE docs
manual api reference
deki-gps 0.40.1
Deki package reference
deki-gps

GPS peripheral interface and NMEA-over-UART backend

Repository: github.com/dekiengine/deki-gps · Latest release: 0.40.0 · Needs engine 0.40.0+ · Requires: deki-http, deki-uart

Install with DekiEditor --packages-add deki-gps <project>, or from the Package Manager. The engine's own components and C++ API are in the Deki docs.

Shown in the editor as GPS (NMEA over UART).

Components

Component Category Description
DesktopGPSComponent System Stands in for the GPS receiver on desktop, so location works without hardware.
NEO6MGPSComponent Sensors Reads location from a u-blox NEO-6M GPS over UART.

Feature flags

Parts you can leave out of a build. A feature with a define is switched there; the rest are stripped with their components.

Feature Define Default
NMEA UART DEKI_FEATURE_GPS_NMEA on

Component reference

DesktopGPSComponent

Stands in for the GPS receiver on desktop, so location works without hardware.

Inspector name: Desktop GPS · Category: System · Type: DekiGps::DesktopGPSComponent

No reflected properties.

NEO6MGPSComponent

Reads location from a u-blox NEO-6M GPS over UART.

Inspector name: NEO-6M GPS · Category: Sensors · Type: DekiGps::NEO6MGPSComponent

Property Type Default Constraints Description
txPin int32 17 0 to 48 GPIO the board transmits on, wired to the module's RX. Crossed over: this pin talks, the module listens.
rxPin int32 16 0 to 48 GPIO the board receives on, wired to the module's TX. This is the one that carries position data, so a fix that never arrives usually means this pin.
baudRate int32 9600 0 to 921600 Serial speed, which must match how the module is configured. NEO-6M ships at 9600; a module reconfigured to 38400 and left at 9600 here reads as garbage rather than silence. 0 finds it: 9600, 38400, 115200, 57600 and 4800 are tried until valid NMEA arrives, for a board that ships with more than one kind of module.
uartPort int32 1 0 to 2 Which of the chip's serial controllers to use. Port 0 is usually the USB console, so a GPS normally wants 1 or 2.

Changelog

0.40.0

Changed

  • minEngine 0.40.0: built against engine 0.40.0. A build of this package from before does not load and is rebuilt.

0.22.0

Changed

  • Translations are keyed by the editor's names with their acronyms ("I2C Port", "SPI Host" rather than "I 2c Port", "Spi Host"), which the 0.22 editor shows.
  • minEngine 0.22.0: built against engine 0.22.0. A build of this package from before does not load and is rebuilt.

Earlier releases: CHANGELOG.md.


Generated from the package's reflection data (engine 0.40.1). Property names are the keys used in scene files. Renames keep an alias (compatibility).