• Joined on 2022年08月27日
devrtz opened issue tpikonen/satellite#6 2022年09月06日 13:13:33 +02:00
Inconsistent license; Please consider using SPDX license headers
devrtz commented on pull request tpikonen/satellite#5 2022年08月30日 21:14:19 +02:00
Introduce NmeaSource based on gnss-share

Thanks for the link, that sounds a lot more promising.

So I'll try passing the sockets fd to unix_new() and a g_io_add_watch() (or rather the python GI equivalent) to setup a callback for...

devrtz commented on pull request tpikonen/satellite#5 2022年08月30日 20:41:24 +02:00
Introduce NmeaSource based on gnss-share

Ah, I was thinking about pure python stuff.

From the docs you linked:

This API is only intended to be used by implementations of GLib.Source. Do not call this API on a GLib.Source that you...

devrtz commented on pull request tpikonen/satellite#5 2022年08月30日 19:40:30 +02:00
Introduce NmeaSource based on gnss-share

You can probably get away with not setting a callback just and poll the socket from gnss-share, but async updates would be cleaner.

While I'm familiar with async stuff in GLib (C) itself, I'm...

devrtz commented on pull request tpikonen/satellite#5 2022年08月30日 10:10:21 +02:00
Introduce NmeaSource based on gnss-share

But, the current architecture of Satellite is that sources are given a callback (location_update_cb) and then call it whenever they get an update,

I guess the only thing that confused me was...

devrtz commented on pull request tpikonen/satellite#5 2022年08月30日 10:07:31 +02:00
Introduce NmeaSource based on gnss-share

Something I forgot to mention:

The user would need to be able to read the socket. By default this means being member of the geoclue group.

devrtz commented on issue tpikonen/satellite#4 2022年08月29日 20:49:58 +02:00
Document supported NmeaSource usage and caveats

A modem-manager backend for gnss-share could also be written

geoclue already talks to MM (or at least Recommends it in Debian), so I'm not sure what "gnss-share" would gain if it were to...

devrtz commented on pull request tpikonen/satellite#5 2022年08月29日 16:47:20 +02:00
Introduce NmeaSource based on gnss-share

Nice. It looks like the GNSS receiver in Librem5 not have GNS sentences in its NMEA output, so the 'Modes' and 'in use sats' fields are None.

I have been wondering where exactly it should be...

devrtz created pull request tpikonen/satellite#5 2022年08月29日 12:43:19 +02:00
WIP: Introduce NmeaSource based on gnss-share
devrtz pushed to gnss-share at devrtz/satellite 2022年08月29日 12:33:35 +02:00
04f203e393 wip: print based debugging
6987a07216 wip: application: Keep timeout_cb() running
66b3d76cc9 application: Log exceptions when using the GnssShareNmeaSource
be91c171b6 Add plumbing enabling use of GnssShareNmeaSource
9be42ad1e8 Add UnixNmeaSource and GnssShareNmeaSource
Compare 5 commits »
devrtz pushed to gnss-share at devrtz/satellite 2022年08月29日 12:23:55 +02:00
6daea3b078 bytes->str
e9bf0dc2e6 more debugging shit
8afb3b4050 sq unix nmea source, split buffer on '\n' incomplete sentences
16b9c5feca wip: application: Keep timeout_cb() running
7282f04b3a sq with unixsocketnmeasource intro
Compare 11 commits »
devrtz commented on issue tpikonen/satellite#4 2022年08月29日 09:59:51 +02:00
Document supported NmeaSource usage and caveats

There's an open bug on MM to get an API for XTRA data info, but it's probably not going to be fixed any time soon.

This sounds like it should be doable in a few hours, if already familiar...

devrtz commented on issue tpikonen/satellite#4 2022年08月29日 09:56:51 +02:00
Document supported NmeaSource usage and caveats

GNSS-share looks like a nice idea, but out of curiosity, does satellite work on Librem5 with the ModemManager source?

No, on the L5 the modem GPS antenna is not connected and a separate GPS...

devrtz opened issue tpikonen/satellite#4 2022年08月29日 02:32:41 +02:00
Document supported NmeaSource usage and caveats
devrtz pushed to gnss-share at devrtz/satellite 2022年08月29日 01:00:55 +02:00
8b9162fc6d bytes->str
81c30f5e4d more debugging shit
Compare 2 commits »
devrtz pushed to gnss-share at devrtz/satellite 2022年08月28日 20:07:08 +02:00
cad10b15e3 bytes->str
f5d7e84f8b more debugging shit
7a74498431 sq unix nmea source, split buffer on '\n'
Compare 3 commits »
devrtz pushed to gnss-share at devrtz/satellite 2022年08月27日 12:12:38 +02:00
5d2bff986d return True in timeout_cb()
acb422fc8a testi....
4817e112bd debug stuff
659cfdd138 application: Whitespace
9caa89eac3 blocking IO is no error kkthx
Compare 10 commits »
devrtz created branch gnss-share in devrtz/satellite 2022年08月27日 12:12:38 +02:00
devrtz created repository devrtz/satellite 2022年08月27日 12:11:02 +02:00