Skip to content
Snippets Groups Projects
  1. Dec 14, 2023
  2. May 25, 2023
    • Clayton Craft's avatar
      cmd/stmctl: remove application · b0ca2dbc
      Clayton Craft authored
      This is basically unneeded now that gnss-share can accept writes to its
      socket.
      b0ca2dbc
    • Clayton Craft's avatar
    • Clayton Craft's avatar
      server, gnss/*: Use pubsub for message passing · 3345797f
      Clayton Craft authored
      Many changes, squashed into 1 commit to make bisecting possible
      
      - server: This also removes the stop channel, it was janky. Accept will
        block anyways so this wasn't really a good way to stop the server
      
      - gnss/stm: rename Stm --> StmDevice, it's more descriptive!
      - gnss/stm: use pubsub internally
      - gnss/stm: startScan is dropped since it is an unnecessary abstraction
        over readlines
      
      - gnss: add Gnss struct, this implements pubsub.Subscriber, and will
        essentially be a wrapper around a driver, allowing multiple things to
        read/write to it concurrently.
      - gnss: change GnssDriver.Start definition
      
      - gnss-share: drop pool stuff, initialize driver using new interface
      3345797f
  3. May 05, 2023
  4. Jan 29, 2023
  5. Nov 20, 2022
  6. Aug 28, 2022
  7. Aug 27, 2022
  8. Dec 01, 2021
  9. Nov 30, 2021
  10. Nov 29, 2021
  11. Nov 22, 2021
    • Clayton Craft's avatar
      cmd/gnss_share: add support for handling USR1/USR2 signals · 3d246607
      Clayton Craft authored
      When running in "server" mode, the app will load agps data upon
      receiving USR1, and store agps data upon receiving USR2, then continue
      running in server mode afterwards. Connected clients should stay
      connected, they just won't receive anything while the load/store is
      taking place.
      3d246607
    • Clayton Craft's avatar
      readme: add help info · 342efd55
      Clayton Craft authored
      also rename 'daemon' mode to 'server' mode, since this isn't really a
      sysV(or systemd)-style daemon
      342efd55
    • Clayton Craft's avatar
      Re-write application in Go · 9d2c3b23
      Clayton Craft authored
      This is a total re-write in Go, and aims to address the following
      problems with the python version of this app:
      
      - reduce idle CPU usage when no clients are connected
      
      - reduce overall install size (including dependencies)
      
      - simplify concurrency usage in the app (Go has it built into the
        language, python+Trio is neat but harder to grok)
      
      - incorporate various fixes from Sebastian Krzyszkowiak
      9d2c3b23
Loading