summaryrefslogtreecommitdiffstats
path: root/drivers/atmodem
AgeCommit message (Collapse)AuthorFilesLines
2009-07-16Refactor phonebook codeDenis Kenzior1-249/+208
2009-07-16Fix style issueDenis Kenzior1-1/+0
2009-07-16Add character set support in phonebookYang Gu2-29/+339
2009-07-16Add experimental support for MT incoming sms storeDenis Kenzior1-16/+88
Some Nokia modems only support "MT" as the incoming sms store. Presumably the modem has some intelligence to pick the right store depending on the SMS class. This means that oFono must now track what the current store is, and issue a CPMS, CMGR & CMGD when a CMTI notification arrives.
2009-07-16Add CFUN=1 for the ti_calypso driverDenis Kenzior1-2/+2
2009-07-15Add extra_pdu_crlf quirk to ti_calypso driverDenis Kenzior1-0/+5
2009-07-15Remove from pending list if create failsDenis Kenzior1-0/+2
2009-07-15Fix printing binary version of the pduDenis Kenzior1-1/+1
2009-07-15Fix CNMI parsing, it uses ranges not just a listDenis Kenzior1-2/+6
2009-07-15Add some more debugging to SMS driverDenis Kenzior1-0/+14
2009-07-15Fix sms looking for text mode instead of pdu modeDenis Kenzior1-1/+2
2009-07-14Style fixesDenis Kenzior1-0/+13
2009-07-14Make oFono use proper record ids, don't use tricksDenis Kenzior1-1/+1
2009-07-03Do not include <config.h> from headersRĂ©mi Denis-Courmont1-4/+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-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 Gu3-0/+308
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 Kenzior2-0/+5
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