summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-06-17Return slist elements back to the allocatorDenis Kenzior1-0/+4
2009-06-16Refactor phonebook codeDenis Kenzior3-181/+124
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-16No need for mainloop in this testDenis Kenzior1-6/+0
2009-06-16Header guards not to be present in private headersDenis Kenzior4-19/+0
2009-06-16Fix SMS port addressingDenis Kenzior1-3/+4
2009-06-16SMS 8-Bit and 16-Bit ports are not the sameDenis Kenzior2-2/+10
2009-06-16Fix not being able to set some attributesDenis Kenzior1-0/+4
2009-06-16Fix test caseDenis Kenzior1-3/+0
2009-06-16Cleanup phonebook implementationDenis Kenzior1-38/+50
2009-06-16Fix style issuesDenis Kenzior1-6/+17
2009-06-16Change some definesDenis Kenzior1-6/+5
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 Kenzior2-8/+2
2009-06-16Improve string parsing codeDenis Kenzior2-16/+21
Currently next_string and next_hexstring functions use a static buffer in the iterator to store the value. This value is clobbered as soon as next_string or next_hexstring is called. Instead, we copy the entire line in iter_next and use it as a scratch buffer. The only limitation is that lines of max 2048 are possible, however these are limited to around this size by parts of the standard.
2009-06-16Add g_at_send_listing functionDenis Kenzior2-6/+54
2009-06-16Export phonebook as vCard 3.0 formatYang Gu9-3/+690
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-14Add SMS fragment assembly capabilitiesDenis Kenzior1-4/+33
2009-06-14Add Unit test for SMS re-assembly codeDenis Kenzior1-0/+83
2009-06-14Add utilities for SMS re-assemblyDenis Kenzior2-0/+169
2009-06-14Fix SMS Concatenation header parsingDenis Kenzior1-2/+2
2009-06-14Change function signatureDenis Kenzior2-5/+6
2009-06-15Fix to use negative error return in gisi/client.cAki Niemi1-1/+1
2009-06-15Rename ISI client and PhoNet netlink APIsAki Niemi10-116/+146
- Add g_ prefix to functions - Add G-prefix and use CamelCasing in types
2009-06-12Add Basic SMS reception capabilitiesDenis Kenzior3-11/+329
- 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-12Add utility to extract text SMSDenis Kenzior2-0/+99
2009-06-12Add utility to extract datagramsDenis Kenzior2-0/+72
2009-06-12Add utility to extract SMS concatenation infoDenis Kenzior2-0/+88
2009-06-12Add utility to extract application port addressDenis Kenzior2-0/+74
2009-06-12Add a couple new sms_udh_iter utilitiesDenis Kenzior2-0/+12
2009-06-12Add pretty print function for SMS addressesDenis Kenzior2-0/+17
2009-06-12Add sms_extract_common functionDenis Kenzior2-15/+60
Extract common attributes from the various SMS types
2009-06-12Make SCTS to time function const-correctDenis Kenzior2-2/+2
2009-06-12Can't implement Multiparty Hangup without chldDenis Kenzior1-0/+6
2009-06-12Do not use chld=1 on mpty when another heldDenis Kenzior1-9/+20
If we're trying to hangup an active MPTY call, and we have calls on hold we shouldn't use CHLD=1 (release_all_active) since this will have the side-effect of activating the held calls
2009-06-12Fix memory leakDenis Kenzior1-0/+3
2009-06-12Fixup style issues with previous MCC/MNC patchDenis Kenzior4-32/+35
- 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 Niemi3-61/+51
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-11Add additional sanity checkDenis Kenzior1-0/+3
2009-06-11Make SMS UDH iterators const-correctDenis Kenzior2-5/+5
2009-06-11Phonet/ISI client helperRémi Denis-Courmont3-1/+410
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11Phonet datagram socket helpersRémi Denis-Courmont3-1/+126
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11Phonet Netlink helpersRémi Denis-Courmont5-2/+241
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11Check for restrict keywordRémi Denis-Courmont1-0/+1
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11configure: set compiler flags at the endRémi Denis-Courmont1-2/+2
This fixes interferences with warning-unsafe autoconf macros. Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
2009-06-11Fix for multiparty_hangupDenis Kenzior1-2/+2
Due to the use of an invalid structure, release_all_active was being called instead of release_all_held
2009-06-11Fix typoDenis Kenzior1-1/+1