View Single Post
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#6
Try in XTerm type:
Code:
dbus-send --system --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_signal_strength
DBUS reply format
  • DBUS_TYPE_BYTE &percent
  • DBUS_TYPE_BYTE &dbm
  • DBUS_TYPE_UINT32 &unknown
Percent and dbm should not be 0

Also try typing:
Code:
dbus-send --system --print-reply --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_registration_status
DBUS reply format
  • DBUS_TYPE_BYTE &status
  • DBUS_TYPE_UINT16 &lac
  • DBUS_TYPE_UINT32 &cell_id
  • DBUS_TYPE_UINT32 &operator_code
  • DBUS_TYPE_UINT32 &country_code
  • DBUS_TYPE_BYTE &network_type
  • DBUS_TYPE_BYTE &supported_services
  • DBUS_TYPE_INT32 &net_err
Status codes that I have figured out are:
  • 0 - Normal mode (Should be this when connected)
  • 3 - No SIM card found
  • 4 - Cellular modem powering down
  • 8 - Cellular modem switched off
  • 10 - No signal
  • 11 - SIM registration failed
  • Anything else - As yet unknown
There are probably other Status codes that I don't know about.