aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-17gsm: add SMS PDU creation functionDan Williams
Only for basic SMS-SUBMIT PDUs at the moment, and doesn't support large SMSs yet.
2012-01-17trivial: update .gitgnoreDan Williams
2012-01-16core: register SMS errors with dbus-glibDan Williams
2012-01-16serial: handle CMS errors correctlyDan Williams
2012-01-16core: add CMS errorsDan Williams
2012-01-13decode: don't try interpreting non-WMC data as WMCDan Williams
2012-01-12qcdm: start filling out log messages and itemsDan Williams
Log messages are enabled by LOG_CONFIG and are then reported as unsolicited responses with code DM_CMD_LOG. Each log type appears to have its own message format which are now being added to log-items.h.
2012-01-11qcdm: fix warning when no log codes are enabledDan Williams
2012-01-11qcdm: enhance LOG_CONFIG testcaseDan Williams
2012-01-11qcdm: only warn on unknown mode pref NV item valuesDan Williams
2012-01-11qcdm: LOG_CONFIG fixupsDan Williams
Fix some buffer overruns. Log codes are also 16-bit not 32.
2012-01-11qcdm: add support for Log Config commandDan Williams
This appears to be a newer version of EXT_LOGMASK that also works with GSM/UMTS and other subsystems.
2012-01-11qcdm: add u16 arrays to resultsDan Williams
2012-01-11qcdm: fix stringification of qcdm_xxx_if_fail() macrosDan Williams
Actually reading about preprocessor concatenation and stringification helps.
2012-01-10qcdm: add some more commandsDan Williams
Found in CodeAurora diagchar_core.c driver.
2012-01-10qcdm: clarify some subsystemsDan Williams
2012-01-10qcdm: fix up testcases for more expected error codesDan Williams
I'm bored and playing around with a Novatel E725...
2012-01-10qcdm: don't segfault getting number of log itemsDan Williams
Not sure how this worked before at all.
2012-01-09sms: punt handling of 8-bit encoded SMSs to clientsDan Williams
There's no encoding information about 8-bit SMS messages, and they are often binary things like ringtones or voicemail indicator commands. Since there's no point to our parsing them just let clients deal with it.
2012-01-09dbus: don't install introspection XML we don't really ownDan Williams
MM implements the DBus properties interface and of course that requires some XML on our side for dbus-glib. But we shouldn't install that along with our ModemManager-specific XML.
2012-01-09nokia: fix PPP port for CSxx Internet SticksDan Williams
USB interface 0 isn't a serial interface; it's probably a custom Nokia PhoNet port or a custom Icera pseudo-ethernet port. But it's not a CDC-ACM serial port, at least on the CS17. Reported by Uwe Geuder.
2012-01-07policy: fix typoAleksander Morgado
Reported at LP#913138
2012-01-05qcdm: fill out some operating modesDan Williams
2012-01-05qcdm: better handle NV item read/write status codesDan Williams
2012-01-05qcdm: fix up live testcase for recent changesDan Williams
And interpret all the recent mode preferences.
2012-01-03cdma: fixes for libqcdm changesDan Williams
2012-01-03qcdm: remove usage of glibDan Williams
People have asked for this at various times.
2012-01-03wmc: remove usage of glibDan Williams
People have asked for leaner builds and glib isn't strictly required for the core library.
2011-12-31sierra: add support for Icera based devices (USB305, AT&T Lightning)Dan Williams
2011-12-30decode: add some python tools to decode SniffUSB dumpsDan Williams
decode.py will read SniffUSB logs of communication with QMUX or WMC speaking devices. It will dump the packets in both hex and ASCII. If you know something about the device then you can tell it to decode the packets. For example, we know the Pantech UML290's WMC port speaks WMC using Bulk Transfers, so we can: decode.py --transfer=wmc <path to sniffusb logs> or we know the UML290's "rmnet" port speaks raw IP in the Bulk Transfers and QMUX in the Control Transfers, so: decode.py --control=qmux <path to sniffusb logs> qmiprotgen.py takes a path to an Entities.txt file and dumps out the protocol entities and services in Python code which is used by qmux.py. xml2ascii.py and analyze.py dump out UsbSnoopy XML logs but these are not as usable as the SniffUSB logs (they do not provide good direction information). http://www.wingmanteam.com/usbsnoopy/ http://www.pcausa.com/Utilities/UsbSnoop/
2011-12-30modem-helpers: plug a leak when parsing CREG responsesAleksander Morgado
2011-12-30modem-helpers: plug a leak when building device IDAleksander Morgado
2011-12-30serial-parsers: plug small leakAleksander Morgado
2011-12-14gsm: treat "no network" error as zero signal for Simple.GetStatusDan Williams
2011-12-07core: don't crash on error if response is NULLDan Williams
Various bits of the code didn't check if response was valid or not during error conditions, and when an error occurs sometimes it'll be NULL (since not all errors are translated errors from the modem, some are serial or general ones). We have to make sure we don't try to use response->str when response doesn't exist. Found in the generic CDMA code likely as a result of d5d9eec2b52363a7460aeec0c020b1c6a7af6b03 but was a bug long before that commit happened anyway.
2011-12-02gsm: improve scan response regex construction error handlingNathan Williams
Change the error handling to be a bit more like what appears to have been intended: if constructing the regex fails, report an error and return. The existing code looked like it was set up to do this, but wasn't quite wired together, and had process-terminating calls (g_error()) followed by other code. Change-Id: I4a7cee8fe01291976edc2e343fcbeb73e882f20b
2011-12-02sms: fix two bugs with multipart SMS handling: signals and listingNathan Williams
First, arrange for received/complete signals to be sent by calling cmti_received_has_sms() with the message properties even if the message isn't complete yet. Second, make the operation of the List command's multipart message handling independent of message order by doing one pass to insert the messages into the cache and second pass to retrieve the complete messages. Change-Id: I3dcae940d71aec3ddb65c508675f710d1567b0e2
2011-12-01mbm: add USB IDs for HP hs2340Dan Williams
2011-11-30trivial: remove unecessary semicolonsVitaly Gimly
2011-11-30cdma: free one more GErrorJiří Klimeš
2011-11-30gsm/cdma: free up a couple of dangling GErrorsNathan Williams
Change-Id: I4f07e7e08bcbfc116114191c759cc0af4bb8ea23
2011-11-30serial: report port-not-open in queueing commands via callbackNathan Williams
Reporting errors instead of just returning permits routines like mm-generic-gsm.c:simple_get_status() to work again, as their callbacks get the error they are expecting. To make this work, adapt get_csq_done() to handle a NULL response when error is set, and make sure that multiple errors don't step on each other in the mm_callback_info_chain() sequence created by simple_get_status(). Change-Id: Ie3a72b1ce71b7f117e8b1f3da7a406c4d2da9e02
2011-11-17nokia: add port tags for CS-xx Internet SticksDan Williams
They appear to always want PPP to happen on interface 0, according to the Windows .INF files.
2011-11-16gsm: check facility locks after unlocking PINDan Williams
Some modems don't allow most commands when they are PIN locked, so the initial facility lock check errors out. Check the locks again after the SIM is unlocked.
2011-11-16gsm: add new property to track which facility locks are enabledEric Shienbrood
The property EnabledFacilityLocks on the .Modem.Gsm.Card interface is a bit mask that indicates which of the various personalization codes from 3GPP TS 22.022, plus the SIM PIN lock and SIM PIN2 lock, are enabled. The set of facility locks supported by the modem is determined at the time the modem is initialized, and the state of each supported lock (enabled or disabled) is determined. When the state of a lock changes, a property-change signal is sent out. Note that ModemManager only supports enabling and disabling SIM-PIN, via the EnablePin method on Modem.Gsm.Card.
2011-11-16core: keep track of all PIN retry countsEric Shienbrood
Added a PinRetryCounts property on org.freedesktop.ModemManager.Modem. This is dictionary that records the number of PIN tries remaining for each of the possible PIN code types for which the modem is capable of reporting the count. Also, these counts are kept up to date across ChangePin and EnablePin operations, not just when an unlock is attempted.
2011-11-15huawei: remove padding from USSD responsesGraham Inggs
Probably needed in generic USSD code.
2011-11-14wmc: fix build after fixup of WMC field namesDan Williams
2011-11-14huawei: pad USSD requests if necessaryGraham Inggs
ModemManager currently encodes the USSD command *141*0# (for MTN South Africa) as "AA182DA6828D00". While this works on some modems, for example the E1820, other modems, for example the E160, require USSD commands that are a multiple of 7 characters long to be padded with 0x0d. Huawei Mobile Partner dashboard software for Windows encodes *141*0# as "AA182DA6828D1A" which works on both the E1820 and the E160. The attached patch pads the USSD command with 0x0d before encoding if it is a multiple of 7 characters long.
2011-11-14wmc: demystify some fields in the IP info replyDan Williams