GSM location service

Baruch Even baruch at ev-en.org
Thu Sep 25 19:55:15 CEST 2008


* Jan Luebbe <jluebbe at lasnet.de> [080925 20:02]:
> Hi!
> 
> I just looked at your code and noticed that you use a muxer channel. As
> ogsmd uses all four channels supported by the modem, the your program
> can not be used together with ogsmd.

I wonder how things work now then?

I'm using FSO and things seem to work just fine (most of the time).

> You could use the Debug interface of ogsmd to send commands to the
> modem.
> 
> http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/subsystems/ogsmd/objects.py;h=fff815d24afebeeabedae7b0de90e50c9a58e590;hb=HEAD#l600
>
> You need to include \r\n yourself:
> Bus Name: org.freesmartphone.ogsmd
> Path: /org/freesmartphone/GSM/Device
> Interface: org.freesmartphone.GSM.Debug
> 
> For example:
> DebugCommand("AT+COPS?\r\n")
> -> dbus.Array([dbus.String(u'+COPS: 0,0,"Pacific GSM 1800",2'), dbus.String(u'OK')], signature=dbus.Signature('s'))

I'll check that as well.

> The debug interface will probably removed later, but if there is demand
> for it we could add an interface for the EM data.

We do need it, actually, unless you intend to satisfy every need of
every program, why not keep the Debug interface?

I'm pretty sure others will want to experiment with programs that need
some access to the GSM modem and hacking frameworkd for each one would
be a hindrance to such experimentation.

Cheers,
Baruch



More information about the smartphones-standards mailing list