Re: simultaneous voice/data works (was Re: call/normal switch was Re: omap4-droid4: voice call support was)

Pavel Machek
2018-04-07T12:22:33Z

[-- Attachment #1.1: Type: text/plain, Size: 1332 bytes --]

On Sat 2018-04-07 10:10:00, Pavel Machek wrote:
> Hi!
>
> 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
me.

Is modemmanager enabling GPS, or is it talking to libqmi to do that?
The code is quite confusing to me...

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]