Re: simultaneous voice/data works (was Re: call/normal switch was Re: omap4-droid4: voice call support was)
From: Pavel Machek
Date: Sat Apr 07 2018 - 08:28:28 EST
On Sat 2018-04-07 10:10:00, Pavel Machek wrote:
> It seems qmicli can be used while unicsy_demo/ofone talks to the modem
> using the AT commands.
> So I could do:
> qmicli -d /dev/cdc-wdm0 --wds-follow-network --wds-start-network=apn=internet.t-mobile.cz
> route del default
> sudo ifconfig wwan0 up
> dhclient wwan0
> to get GPRS/UMTS connection. AT commands still work.
> Does anyone have any idea what to do to get the GPS to work?
Got that to work.
I installed modemmanager -- unfortunately that claims ttyUSB4 so it
breaks voice/sms -- but then
mmcli -m 0 --enable
mmcli -m 0 --location-enable-gps-nmea
watch -n .3 sudo mmcli -m 0 --location-get-gps-nmea
...can be used to get GPS data. Droid4 seems to have rather bad GPS,
so you should probably put it near window for testing.
Is there way to grab data from modemmanager and feed it to gpsd, so
that normal applications can access gps? I don't see easy way.
I tried --location-enable-gps-unmanaged , but that did not work for
Is modemmanager enabling GPS, or is it talking to libqmi to do that?
The code is quite confusing to me...
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Description: Digital signature