Difference between revisions of "Status/Mobile Data/Dev"
From Maemo Leste Wiki
Jump to navigationJump to searchLine 9: | Line 9: | ||
(Registered to network, network operation mode - normal or GAN only, the int is unknown) | (Registered to network, network operation mode - normal or GAN only, the int is unknown - probably err val) | ||
<pre> | <pre> | ||
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_cs_state | Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_cs_state | ||
Line 22: | Line 22: | ||
Nokia-N900:~# dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_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 | method return sender=:1.19 -> dest=:1.1247 reply_serial=2 | ||
byte 2 | |||
int32 0 | |||
</pre> | |||
Registration status ( | |||
<pre> | |||
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); | |||
</pre> | |||
Network selection mode (mode, errr val) | |||
<pre> | |||
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 | byte 2 | ||
int32 0 | int32 0 | ||
</pre> | </pre> |
Revision as of 22:10, 14 August 2019
This 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