Status/Mobile Data/Dev
From Maemo Leste Wiki
Jump to navigationJump to searchThis page contains various dbus calls to Nokia N900 Fremantle cellular daemons, often beyond what is covered here: https://wiki.maemo.org/Phone_control
(Modem online or not)
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.SSC /com/nokia/phone/SSC com.nokia.phone.SSC.get_modem_state method return sender=:1.18 -> dest=:1.1112 reply_serial=2 string "online"
(Registered to network, network operation mode - normal or GAN only, the int is unknown - probably err val)
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_cs_state method return sender=:1.19 -> dest=:1.1150 reply_serial=2 byte 1 byte 0 int32 0
Radio access technology
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_radio_access_technology method return sender=:1.19 -> dest=:1.1247 reply_serial=2 byte 2 int32 0
Registration status (
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status method return sender=:1.19 -> dest=:1.1271 reply_serial=2 byte 0 uint16 1521 uint32 13377698 uint32 16 uint32 204 byte 0 byte 27 int32 0 dbus_g_proxy_end_call(proxy, call_id, &error, G_TYPE_UCHAR, &network_reg_status, G_TYPE_UINT, &network_current_lac, G_TYPE_UINT, &network_current_cell_id, G_TYPE_UINT, &network_operator_code, G_TYPE_UINT, &network_country_code, G_TYPE_UCHAR, &network_type, G_TYPE_UCHAR, &network_supported_services, G_TYPE_INT, &error_value, G_TYPE_INVALID);
Network selection mode (mode, errr val)
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_network_selection_mode method return sender=:1.19 -> dest=:1.1319 reply_serial=2 byte 2 int32 0
Scan for available networks:
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_available_network method return sender=:1.19 -> dest=:1.1438 reply_serial=2 array [ byte 2 byte 3 byte 3 ] array [ string "16" string "04" string "08" ] array [ string "204" string "204" string "204" ] array [ string "T-Mobile NL" string "vodafone NL" string "NL KPN" ] array [ byte 0 byte 2 byte 2 ] array [ byte 1 byte 1 byte 1 ] int32 0