summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-09-12Add implementation of netreg driverAki Niemi1-16/+940
2009-09-12Clean up macros for success/failure callbacksAki Niemi1-13/+18
2009-09-12Fix compilation error with missing return valueMarcel Holtmann1-1/+2
2009-09-11Update the network registration APIDenis Kenzior1-0/+10
2009-09-11Support base station name cell broadcastsDenis Kenzior1-2/+41
If we receive an immediate cell-specific cell broadcast, report it as the base station id up to netreg atom
2009-09-11Add utility for setting the netreg base stationDenis Kenzior2-0/+40
2009-09-11Enable registration / location updates for CBSDenis Kenzior1-1/+126
- This tracks the current Location Area Code / Cell ID and PLMN. If any of these change, the assembly is notified. This is required to implement proper CBS message duplicate detection according to 23.041
2009-09-11Add network registration status watch capabilityDenis Kenzior2-0/+70
2009-09-11Remove extra free of cbs assemblyDenis Kenzior1-10/+2
2009-09-11Create watchlists during registerDenis Kenzior2-4/+5
2009-09-11Port sim ready watch to __ofono_watchlistDenis Kenzior1-76/+17
2009-09-11Rework DECLARE_FAILURE to be a bit nicerDenis Kenzior14-273/+87
2009-09-11Refactor various watch functionsDenis Kenzior5-166/+188
Use a common core kernel for all the watcher registrations / notifications. This is now done in watch.c
2009-09-10Add netreg getter functionsDenis Kenzior2-0/+51
- Get Location, CellID - Current Operator - Registration Status - Technology
2009-09-10Fix cut-paste errorDenis Kenzior1-1/+1
2009-09-10Ensure CBS is in a known state at startupDenis Kenzior1-4/+7
2009-09-10Add ability to expire PLMN wide messagesDenis Kenzior3-3/+12
2009-09-10Fix double free issueDenis Kenzior1-2/+0
2009-09-10Fix unused variableDenis Kenzior1-2/+0
2009-09-10Keep modem->powered_pending up to date after set_powered.Andrzej Zaborowski1-3/+6
Without this once a request to power up the modem fails, modem.c won't retry even when asked.
2009-09-10Fix generation of Message Waiting PropertyChanged signals.Andrzej Zaborowski1-3/+3
2009-09-10Fix parsing of Enhanced Voicemail notifications.Andrzej Zaborowski1-6/+12
2009-09-10Enable cell broadcast for phonesim pluginDenis Kenzior1-0/+2
2009-09-10Add atmodem cell broadcast driverDenis Kenzior5-17/+207
2009-09-10Add initial Cell Broadcast atom implementationDenis Kenzior4-2/+623
2009-09-10Handle empty topic range listsDenis Kenzior1-0/+3
2009-09-10Make cbs_topic_ranges_to_string work with all idsDenis Kenzior1-1/+7
2009-09-10Fix memory leakDenis Kenzior1-2/+1
2009-09-10Add unit test for CBS topic range functionsDenis Kenzior1-0/+41
2009-09-10Add CBS topic range functionsDenis Kenzior2-0/+220
2009-09-10gisi: cannot do ioctl() with Netlink sockets, use local insteadRémi Denis-Courmont1-6/+7
2009-09-10gisi: Fix embarrassing typoRémi Denis-Courmont1-1/+1
2009-09-10gisi: bring Phonet interface up before telling upper layers about itRémi Denis-Courmont1-0/+18
This should get kernel-assisted Phonet autoconfiguration to work (and it shouldn't hurt in other cases). Otherwise, the upper layers will try to send packets, which will fail. Then they will probably just time out.
2009-09-09gisi: disable logging by defaultRémi Denis-Courmont1-0/+1
The debug_func was not initialized.
2009-09-08Fix make distcheckDenis Kenzior1-2/+0
2009-09-08Add unit test for sms assembly serializationDenis Kenzior1-0/+55
2009-09-08Rework SMS fragment backup storageDenis Kenzior1-9/+47
The SMS address can actually contain other characters than 0-9, +, *, #, particularly when the alphanumeric address type is used. This is commonly used by services such as Google or carrier specific SMS services. Rework the SMS address storage to simply re-use the SMS address pdu format, which consists of up to 12 hex-encoded bytes.
2009-09-08Fix style issueDenis Kenzior1-4/+3
2009-09-08Fix off by one error in assembly serializeDenis Kenzior1-1/+1
The proper PDU was not being written out fully
2009-09-08Fixup unit test dataDenis Kenzior1-3/+3
50 in first octet of deliver isn't valid
2009-09-08Write state of SMS assembly to disk and restore on startup.Andrzej Zaborowski6-9/+276
This way we can continue receiving segmented messages over a reset or crash.
2009-09-08Fix style issueDenis Kenzior1-2/+2
2009-09-08Move create_dirs to storage.c, add file read/write utilitiesAndrzej Zaborowski4-66/+166
2009-09-08Read messages left over in ME storage on startup.Andrzej Zaborowski1-0/+125
On modems that don't support +CMT (or for class 2 SMSes) the messages are stored in the modem and then read and deleted from there in two separate steps with no warranty that deletion succeeds or (more likely) power is cut before the deletion happens. Over time the memory may become full and if we don't want to deal with this condition we need to check on startup if there are messages we haven't deleted. We can't differentiate between those messages and those the user already had on the SIM / modem before installing ofono or switching phones, so we might want to deliver messages with REC READ status with some kind of indication that these are potentially old so the UI doesn't emit spurious alerts. We don't do this now and just deliver as usual.
2009-09-08Do supported dialect detection in sms.cDenis Kenzior1-0/+8
2009-09-08Refactor SMS language dialect encoding / decodingDenis Kenzior2-67/+86
- Introduce new enum gsm_dialect instead of unsigned char arguments - Use ISO639 3 letter codes for conversion tables - Use a single lookup table instead of 4 different ones
2009-09-08Fix style issuesDenis Kenzior1-36/+18
2009-09-08Use SMS national language identifier when decodingAki Niemi2-2/+63
Adds support for decoding SMSs encoded using national language single shift and locking shift tables.
2009-09-08Add unit test for Turkish variantAki Niemi1-1/+216
Also fixes an error in the default table unit test.
2009-09-08Add support for national language variantsAki Niemi2-107/+512
Add API for supporting character conversion using national language variants. Also, add conversion tables for Turkish, Spanish and Portuguese, and fix the default table. The lookup algorithms were tweaked to support multiple tables.