GSM location service

Jan Luebbe jluebbe at lasnet.de
Thu Sep 25 19:02:02 CEST 2008


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.

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'))

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

Jan




More information about the smartphones-standards mailing list