[FSO] Dbus, AT RAW access
Michael 'Mickey' Lauer
mickey at openmoko.org
Thu Nov 13 18:24:20 CET 2008
Hi Phil,
I did some small changes to reenable %CBHZ=1 and then tried with the
latest version of the stabilization/milestone4 branch. Here's what I
got:
root at om-gta02:/local/pkg/fso/framework/framework# ./frameworkd -s ogsmd
2008.11.11 03:59:04 root INFO Installprefix is /local/pkg/fso
2008.11.11 03:59:04 root INFO Root dir
is /local/pkg/fso/framework/etc/freesmartphone
2008.11.11 03:59:04 frameworkd.subsystem INFO subsystem frameworkd
took 0.12 seconds to startup
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
ousaged as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
opreferencesd as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
opimd as requested via config file.
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
oeventsd as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
ogpsd as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
otimed as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO skipping subsystem
ophoned as requested via command line
2008.11.11 03:59:04 frameworkd.controller INFO launching subsystem
ogsmd
2008.11.11 03:59:05 ogsmd.objects INFO Device initialized. Serving
org.freesmartphone.GSM.Device at /org/freesmartphone/GSM/Device
2008.11.11 03:59:05 ogsmd.objects INFO Server initialized. Serving
org.freesmartphone.GSM.Server at /org/freesmartphone/GSM/Server
2008.11.11 03:59:05 frameworkd.subsystem INFO subsystem ogsmd took
0.61 seconds to startup
2008.11.11 03:59:05 frameworkd.controller INFO skipping subsystem
odeviced as requested via command line
2008.11.11 03:59:05 frameworkd.controller INFO ==================
objects registered ===================
2008.11.11 03:59:05 frameworkd.controller
INFO /org/freesmartphone/Framework [org.freesmartphone.Framework]
2008.11.11 03:59:05 frameworkd.controller
INFO /org/freesmartphone/GSM/Device [org.freesmartphone.GSM.Device]
2008.11.11 03:59:05 frameworkd.controller
INFO /org/freesmartphone/GSM/Server [org.freesmartphone.GSM.Server]
2008.11.11 03:59:05 frameworkd.controller INFO ==================
mainloop entered ===================
2008.11.11 03:59:05 frameworkd.controller INFO startup time was 1.48
seconds
2008.11.11 03:59:05 frameworkd.resource INFO Trying to register
resource GSM
2008.11.11 03:59:06 frameworkd.resource WARNING Can't register resource
GSM since ousaged is not present. Enabling device
2008.11.11 03:59:06 frameworkd.resource INFO setting resource status
for GSM from disabled to enabling
=> SetAntennaPower(True)
2008.11.11 04:00:01 ogsmd.objects INFO auth status changed to READY
=> Register()
2008.11.11 04:00:30 ogsmd.objects INFO
org.freesmartphone.GSM.Network.Status: {'strength': 64, 'cid': 'E342',
'registration': 'home', 'lac': '9CAC', 'mode': 'automatic', 'provider':
'Alice'}
=> SetCellBroadcastSubscriptions( "221" )
2008.11.11 04:00:47 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354482559073
2008.11.11 04:00:47 ogsmd.objects INFO home zone cell broadcast
detected: 354482 559073
2008.11.11 04:00:47 ogsmd.objects INFO trying to read home zones
from SIM
2008.11.11 04:00:48 ogsmd.objects INFO got SIM homezones:
dbus.Array([], signature=dbus.Signature('(siii)'))
2008.11.11 04:00:48 ogsmd.objects INFO home zone status now
2008.11.11 04:00:52 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354482559073
2008.11.11 04:00:52 ogsmd.objects INFO home zone cell broadcast
detected: 354482 559073
2008.11.11 04:00:52 ogsmd.objects INFO home zone status now
2008.11.11 04:01:10 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354482559073
2008.11.11 04:01:10 ogsmd.objects INFO home zone cell broadcast
detected: 354482 559073
2008.11.11 04:01:10 ogsmd.objects INFO home zone status now
2008.11.11 04:01:14 ogsmd.objects INFO
org.freesmartphone.GSM.Network.SignalStrength: 67
2008.11.11 04:01:32 ogsmd.objects INFO
org.freesmartphone.GSM.Network.Status: {'strength': 67, 'cid': '4746',
'registration': 'home', 'lac': '9CAC', 'mode': 'automatic', 'provider':
'Alice'}
2008.11.11 04:01:33 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354767559213
2008.11.11 04:01:33 ogsmd.objects INFO home zone cell broadcast
detected: 354767 559213
2008.11.11 04:01:33 ogsmd.objects INFO home zone status now
2008.11.11 04:01:37 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354767559213
2008.11.11 04:01:37 ogsmd.objects INFO home zone cell broadcast
detected: 354767 559213
2008.11.11 04:01:37 ogsmd.objects INFO home zone status now
2008.11.11 04:01:43 ogsmd.objects INFO
org.freesmartphone.GSM.Network.SignalStrength: 64
2008.11.11 04:01:55 ogsmd.objects INFO
org.freesmartphone.GSM.Network.SignalStrength: 81
2008.11.11 04:01:55 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354767559213
2008.11.11 04:01:55 ogsmd.objects INFO home zone cell broadcast
detected: 354767 559213
2008.11.11 04:01:55 ogsmd.objects INFO home zone status now
2008.11.11 04:02:07 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354767559213
2008.11.11 04:02:07 ogsmd.objects INFO home zone cell broadcast
detected: 354767 559213
2008.11.11 04:02:07 ogsmd.objects INFO home zone status now
2008.11.11 04:02:07 ogsmd.objects INFO
org.freesmartphone.GSM.Network.SignalStrength: 52
2008.11.11 04:02:22 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354767559213
2008.11.11 04:02:22 ogsmd.objects INFO home zone cell broadcast
detected: 354767 559213
2008.11.11 04:02:22 ogsmd.objects INFO home zone status now
2008.11.11 04:02:32 ogsmd.objects INFO
org.freesmartphone.GSM.Network.Status: {'strength': 52, 'cid': '7DB4',
'registration': 'home', 'lac': '9CAC', 'mode': 'automatic', 'provider':
'Alice'}
2008.11.11 04:02:33 ogsmd.objects INFO
org.freesmartphone.GSM.Network.SignalStrength: 70
2008.11.11 04:02:34 ogsmd.objects INFO
org.freesmartphone.GSM.CB.IncomingCellBroadcast: 221 354885559848
2008.11.11 04:02:34 ogsmd.objects INFO home zone cell broadcast
detected: 354885 559848
2008.11.11 04:02:34 ogsmd.objects INFO home zone status now
...
Note that I didn't have a home zone record on my card. I expect it to
fully work (i.e. sending you a signal when you enter and leave a zone)
when you have such a record.
Hope that helps,
Mickey.
More information about the devel
mailing list