Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 14:28 -0700, serena dadak wrote: > not pretty for sure. > Any samples on using libmm calls? Would that be a possibility? libmm-glib is based off GLib/GDBus, so yes that's a possibility.  See cli/mmcli-modem-location.c for how that would work, I think the code there can also r

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Bastien Nocera
On Tue, 2016-06-07 at 16:10 -0500, Dan Williams wrote: > On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > > hello there > > > > Is there any sample code to get NMEA strings from MM in C? > > I looked at the example codes in NM but didn't have much luck on > > finding > > samples for GPS. >

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread serena dadak
not pretty for sure. Any samples on using libmm calls? Would that be a possibility? On Tue, Jun 7, 2016 at 2:10 PM, Dan Williams wrote: > On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > > hello there > > > > Is there any sample code to get NMEA strings from MM in C? > > I looked at the

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > hello there > > Is there any sample code to get NMEA strings from MM in C? > I looked at the example codes in NM but didn't have much luck on > finding > samples for GPS. You'd use the libdbus C bindings or (easier) glib-based ones with GDB

Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread serena dadak
hello there Is there any sample code to get NMEA strings from MM in C? I looked at the example codes in NM but didn't have much luck on finding samples for GPS. sincerely ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gn