summaryrefslogtreecommitdiffstats
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2009-07-09Fix isimodem segfault on modem removalAki Niemi1-8/+34
This fixes segfaults resulting either from destroying a NULL ISI client, or when multiple ISI modems become available, and get removed in the wrong order. To support multiple ISI modems concurrently, a modem object needs to be exposed via the gisi API, and tracked by the ISI driver. This is a TODO item to add.
2009-07-07Fix error value to no error in successAki Niemi1-1/+4
2009-07-07Initialize to NULLAki Niemi1-4/+4
2009-07-07Add modem attribute retrievalAki Niemi1-15/+334
Refactor isimodem.c to add support for querying modem attributes over the ISI protocol.
2009-07-03Do not include <config.h> from headersRémi Denis-Courmont2-8/+0
It should be included _first_ in all modules, and it is not proof against multiple inclusions.
2009-07-01Add support for tty on character device.Santtu Lakkala1-8/+28
Adds support for using ttys through a serial device directly.
2009-06-25Preserve clip_validityDenis Kenzior1-0/+9
CLCC does not report clip_validity. So if clip_validity of witheld has been reported in CLIP, but we're still somehow polling CLCC, which happens if CRING is not supported, and RING is used instead, this fact can be lost. Make sure we preserve clip_validity if possible
2009-06-25Number and Number Type are optional in CLCCDenis Kenzior1-7/+5
According to 27.007, the number and number type are optional. We must take care not to do anything unexpected in this case.
2009-06-25Delete old placeholderAki Niemi1-42/+0
2009-06-25Add new ISI modem driver to buildAki Niemi1-3/+4
2009-06-25Add baseline for ISI modem driverAki Niemi2-0/+188
2009-06-22Add write/read operations for cyclic files in SIM.Andrzej Zaborowski1-0/+35
2009-06-22Merge phonebook entries belong to one personYang Gu1-1/+1
2009-06-19SMS sending in AT backendDenis Kenzior1-1/+74
2009-06-18Implement CallBarring::ChangePassword in AT driverAndrzej Zaborowski1-2/+43
2009-06-18Cleanup EFmsisdn reading patchDenis Kenzior1-89/+0
2009-06-18Read own numbers from EFmsisdn instead of AT+CNUM.Andrzej Zaborowski1-0/+1
2009-06-18Minor style fixesDenis Kenzior1-1/+1
2009-06-18Add record based file capability to sim_opsAndrzej Zaborowski1-23/+176
Add capability to read / write / stat files on the SIM. This now supports cyclic, linear fixed and transparent SIM files. Parse GET RESPONSE result to find structure of the file (cyclic, linear fixed, or transparent), the file size and the record length. Add both read and update capability for binary and record-based files. Implement writing sim files through AT.
2009-06-18Use GET RESPONSE sim command to retrieve EF lengthAndrzej Zaborowski1-7/+10
Also accept 0x9f as a success status word 1 for READ BINARY (GSM specific).
2009-06-16Refactor phonebook codeDenis Kenzior1-101/+59
Use immediate mode reporting, which means that the individual CPBR lines are reported up to the core immediately. This has a couple advantages: - We do not need to malloc/free a bunch of single variables and copy them over. Helps performance. - The lines are not buffered up and given to the plugin in one shot, instead processing is performed piecemeal. This helps with keeping memory consumption down to a minimum
2009-06-16Use library functions appropriatelyDenis Kenzior1-22/+20
Instead of using custom parsing, use the existing library functionality in result iter open_list, next_range and close_list
2009-06-16Don't use spaces and use tabs insteadDenis Kenzior1-7/+8
2009-06-16Re-arrange destruction orderDenis Kenzior1-1/+1
2009-06-16Make const-correctDenis Kenzior1-7/+1
2009-06-16Export phonebook as vCard 3.0 formatYang Gu4-2/+310
2009-06-16Rework CMGR as an unsolicited notificationDenis Kenzior1-13/+14
Since the PDU line doesn't have a prefix, the parser can get confused if other unsolicited notifications arrive. There is already explicit support for unsolicited notifications with PDU, so we use that instead
2009-06-12Add Basic SMS reception capabilitiesDenis Kenzior1-10/+20
- Can receive 7Bit, 8Bit and UCS2 encoded messages - 8Bit is assumed to be a datagram to a certain port - Messages with Invalid format are ignored - Concatenation not yet supported
2009-06-12Fix memory leakDenis Kenzior1-0/+3
2009-06-12Fixup style issues with previous MCC/MNC patchDenis Kenzior1-19/+16
- Breakup MCC/MNC LENGTH constant - Don't hardcode numbers - Fix >80 column length - Fix test case to expect strings instead of shorts
2009-06-12Change MNC and MCC variable types to stringAki Niemi1-30/+27
This is to make sure both 2 and 3-digit MNC values are correctly handled. Both the modem plugin API as well as the D-Bus API are affected.
2009-06-11Fix another pointer cast to use GINT_TO_POINTERDenis Kenzior1-3/+3
2009-06-05Rename sms utilities properlyDenis Kenzior1-1/+1
Rename encode_sms to sms_encode Rename decode_sms to sms_decode
2009-06-05Add proper handling for various messagesDenis Kenzior1-0/+204
Handle Deliver / Status Report / Cell Broadcast messages and send the appropriate acknowledgement PDUs (+CNMA) if required
2009-06-05Add colons to SMS prefixesDenis Kenzior1-5/+5
2009-06-03Add SMS interface initialization code for atmodemDenis Kenzior2-1/+455
2009-06-03Add check for error pathDenis Kenzior1-0/+3
2009-06-03Add check for error pathDenis Kenzior1-0/+3
2009-06-02Adding common unregister code in atmodem driverMinjun Li1-11/+15
Modem cleanup happens in two places: manager_free (ofono exit) and manager_destroy (manually removing a specific modem). Both need to unregister the entire set of registered interfaces. manager_destroy function did not unregister all interfaces. Fixed by adding a common function for both code paths.
2009-06-01Forgot this for SMS driverDenis Kenzior1-0/+167
2009-05-29Add atmodem driver implementation for SMSDenis Kenzior3-1/+6
2009-05-29Do not use empty prefixesDenis Kenzior1-8/+5
2009-05-28Remove unused functionDenis Kenzior1-8/+0
2009-05-28Free voicecalls when exitingDenis Kenzior1-0/+3
2009-05-28Squash CallWaiting onto CallSettings interfaceDenis Kenzior5-165/+107
The CallWaiting interface had one settable attribute after the latest set of refactoring. Squash it onto the CallSettings interface where it belonged in the first place
2009-05-28Simplify CallWaiting plugin interfaceDenis Kenzior1-32/+10
The use of a struct with status & cls seemed pointless when only a single integer can work just as well. Also the Fax & Data attributes have been squished. oFono does not yet support those call types.
2009-05-26Add plus sign for ATD when dialing internationalDenis Kenzior1-1/+4
2009-05-26Ignore cls for call barring queriesDenis Kenzior1-3/+0
2009-05-26Cleanup SimManager interfaceDenis Kenzior1-8/+22
Future-Proof own numbers support. For now we only report voice numbers Rename attributes to be a bit better
2009-05-26Fixup the initialization / destruction orderDenis Kenzior1-2/+2