aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-19wmc: add some more commands and fix up network infoDan Williams
Add operator commands, and fix up the network info response handling for GSM/WCDMA capable devices like the UML190 when it's in GSM/WCDMA mode.
2012-01-19wmc: make warn macros more usefulDan Williams
2012-01-19wmc: fix stringification of wmc_xxx_if_fail() macrosDan Williams
Actually reading about preprocessor concatenation and stringification helps.
2012-01-19wmc: add Access Technology/Service definitions and Global Mode stuffDan Williams
Comparing dumps from UML190 in different modes, UML290, and PC5740 revealed what the 'service' bit was, which matches up nicely with the SERVICE_* strings in the Windows connection manager DLLs if you interpret them in reverse numerical order. For the global mode stuff, looking at USB wire captures shows that C8 03 and C8 04 get used right before the NETWORK_INFO (C8 0B) shows access technology changes, which means they are probably the commands that switch global mode around.
2012-01-19decode: fix tab/space confusion in analyze.pyDan Williams
2012-01-19wmc: STATUS is appears to be NETWORK_INFODan Williams
So rename it in various places.
2012-01-19qcdm: add some mode prefsDan Williams
2012-01-18gsm: fix return value of SMS send methodDan Williams
The introspection data specified the Send() method to return an array of unsigned integers, presumably the indexes of the messages just sent. But the code wasn't doing that, leading to a crash when dbus-glib tried to interpret garbage on the return. The problem is that sms_send_auth_cb() gave async_call_done() as the callback for sending the SMS, but that method just calls dbus_g_method_return() with no return arguments. dbus-glib interprets the arguments of dbus_g_method_return() according to the XML introspection data, and thus it was attempting to read the non-existent argument as an 'au' and getting garbage. Fix that by actually returning an array of message indexes from the SMS send code, and propagate that back to the SMS dbus code so it can return something sensible.
2012-01-18test: print sent SMS message index on successDan Williams
2012-01-18qcdm: some devices do implement SW_VERSIONDan Williams
Like the MF627 for some reason. Also, the format appears to be more like the DM_CMD_VERSION_INFO response where at least the comp_date and comp_time fields are the same size as VERSION_INFO, just with some padding between.
2012-01-18gsm: change SMS send validity from 5-minute units to minutesDan Williams
Might as well keep it simple.
2012-01-18test: enhance SMS send util to accept validity and SMSC addressDan Williams
2012-01-18gsm: fix CMGS PDU mode length calculationDan Williams
The first byte of the PDU is the SMSC length, but it's not the padded SMSC length. So we need to subtract the actual byte index of the start of the message from length of the PDU, and since the PDU creation function knows all about where the SMSC address stops and the message begins, just have it return that length instead of making the callers calculate it.
2012-01-18gsm: use PDU modem when the modem doesn't support text modeDan Williams
Eventually we should be using PDU mode whenever the modem supports it instead of defaulting to text mode, but there are still some bugs.
2012-01-18qcdm: GSM MCC, MNC, LAC and CI don't seem to valid in WCDMA modeDan Williams
So don't bother trying to parse them.
2012-01-18qcdm: let WCDMA/GSM devices pass CDMA-only testsDan Williams
Obviously they don't implement the CDMA-only commands.
2012-01-18test: print out error if sending SMS failsDan Williams
2012-01-18tests: better handling of encodings in SMS test toolDan Williams
Python usually uses Unicode, but often the shell encoding will be in UTF-8, so Python needs some help converting the message to Unicode. Use LANG to do that if we can.
2012-01-18tests: add a test for 25-character SMS messagesDan Williams
Tests that the last septet (packed in an octet by itself) doesn't get left off the message like the old code used to do before "core: fix some bugs in GSM7 packing code".
2012-01-18api: change SMS save/send validity unitsDan Williams
Making clients pass the raw GSM PDU value isn't very useful since it's not exactly trivial to create programmatically. Instead, let's make validity be units of 5 minutes and MM will automatically figure out how to map that to the PDU value.
2012-01-18core: fix some bugs in GSM7 packing codeDan Williams
The existing gsm_pack() had a bug where if the last septet should be in an octet by itself, that last octet wouldn't be added. Plus, kinda pointless to use a GByteArray here when we already know what the length will be through simple arithmetic. We can also simplify the function too. Furthermore, there weren't any testcases for starting packing at an offset other than zero, so add one.
2012-01-17qcdm: fill in some GSM and WCDMA stuffDan Williams
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.