summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2015-02-13smsutil: Add additional sanity checkDenis Kenzior1-0/+5
We make sure that after performing the UTF8 -> GSM conversion, the number of GSM bytes is not greater than 11, which is the maximum payload.
2015-02-13sms: Fix alphanumeric TP-OA handlingTommi Kenakkala2-4/+14
TP-OA max length comparisons were incorrect because TP-OA's 7-bit coded octets transport eleven 8-bit chars. The current code assumed only 10 chars were possible. The patch - increases the array size to 23, (maximum of 22 bytes for UTF8 encoding + null terminator) - Updates the sanity check to account for the correct maximum - For encoding, checks the maximum length in UTF8 characters instead of bytes
2015-02-02handsfree-audio: Refactor manager init / cleanupTommi Kenakkala1-8/+8
2015-02-02main: Remove handsfree_audio_manager init/cleanupTommi Kenakkala1-4/+0
Init allocates a SCO audio socket always. oFono should do that with bluez5 but not with bluez4. This patch starts the refactoring of the handsfree_audio_manager init/cleanup functionality.
2014-12-12radio-settings: Show all available technologiesAlfonso Sanchez-Beato1-2/+2
Not all possible futures technologies were being showed on the DBus interface.
2014-12-10radio-settings: Always query available ratsDenis Kenzior1-1/+1
If fast dormancy query is not implemented the available rats are not queried.
2014-12-10radio-settings: Add additional sanity checkDenis Kenzior1-1/+1
2014-12-10radio-settings: rework AvailableTechnologies logicDenis Kenzior1-10/+14
Take advantage of the new enum structure to future proof and simplify the logic of generating the AvailableTechnologies property
2014-12-10src: Implement RAT list propertyAlfonso Sanchez-Beato1-1/+46
2014-12-04sim: Fix pin retries bogus values on some arch-esDenis Kenzior1-14/+25
On some architectures the SimManager.Retries property was getting bogus values. This is because we were sending an array which pointed to int values instead of the expected unsigned char values. This fix allocates a temporary array of unsigned chars to hold the actual D-Bus values being sent. Additionally, the dictionary array is changed to point to the temporary unsigned char based values instead of the raw 'int' based retry values.
2014-10-20emulator: Refine +BIND supportDenis Kenzior1-1/+11
2014-10-20emulator: Implement new APIDenis Kenzior1-0/+19
2014-10-20handsfree: Be extra pedantic with booleansDenis Kenzior1-0/+5
2014-10-20handsfree: Don't try to send a method returnDenis Kenzior1-1/+11
When we are simply updating the AG of HF indicator changes, do not try to send a method return message.
2014-10-20handsfree: Implement new HF indicators APIDenis Kenzior1-4/+62
2014-10-20emulator: Refactor data typesDenis Kenzior1-6/+7
2014-10-20handsfree: Skeleton implementation of DDRDenis Kenzior1-0/+44
Distracted Driving Reduction or Enhanced Safety is implemented using HF indicator 0x0001
2014-10-20handsfree: Implement new Features property valueDenis Kenzior1-0/+3
2014-10-20emulator: Enable HF Indicator featureDenis Kenzior1-0/+1
2014-10-20emulator: Extend BRSF bitmapDenis Kenzior1-1/+1
The current check of 8 bits is not enough with HFP 1.7
2014-10-20emulator: Add +BIEV implementationDenis Kenzior1-0/+39
2014-10-20emulator: Add +BIND implementationDenis Kenzior1-0/+65
2014-10-20emulator: Fix CHLD=? not treated as part of SLCDenis Kenzior1-7/+37
2014-10-20emulator: Improve SLC establishment logicDenis Kenzior3-1/+43
2014-10-20hfp: Add enum for known HF IndicatorsDenis Kenzior1-0/+4
2014-10-20hfp: Update for new HFP 1.7 valuesDenis Kenzior1-1/+4
2014-09-20handsfree-audio: Fix broken coding style in switch statementMarcel Holtmann1-4/+4
2014-06-24gprs: provision the authentication methodPhilip Paeps1-0/+2
2014-06-21gprs: Make the code a bit easier to readDenis Kenzior1-3/+6
2014-06-21gprs: make PPP authentication method configurablePhilip Paeps1-0/+84
Add a new "AuthenticationMethod" property to select between "pap" and "chap" PPP authentication, defaulting to "chap" (i.e.: previous behaviour).
2014-04-22handsfree: correct crash on connect of hfpAndrew Earl1-1/+2
2014-04-10handsfree: Rename variableDenis Kenzior1-6/+6
2014-04-10handsfree: Reflow logicDenis Kenzior1-7/+8
2014-04-10handsfree: Remove functionDenis Kenzior1-6/+1
No need for one line functions that are only used once
2014-04-10handsfree: Rename functionDenis Kenzior1-2/+2
No need for the ofono_ prefix here
2014-04-10handsfree: Remove unneeded variableDenis Kenzior1-2/+1
2014-04-10handsfree: Remove unneeded variable iDenis Kenzior1-2/+1
2014-04-10handsfree: style fixes for previous commitDenis Kenzior1-6/+7
2014-04-10hfp: Add subscriber number to handsfree propertiesAndrew Earl1-3/+121
2014-03-19handsfree: Fixup variable namesDenis Kenzior1-10/+11
2014-03-19hfp: extend Features to three way calling and CHLDKrzysztof Wilk1-3/+31
2014-03-19hfp: Define hfp_ag_chld_featureKrzysztof Wilk1-0/+11
2014-03-14simutil: Fix EF_PNN accessAlfonso Sanchez-Beato1-7/+16
EF_PNN was not being read properly (see TS 24.008, section 10.5.3.5a, for network names format), which affected the displayed PLMN name for some MVNOs. Some modems already read the file and return the right string: these do not show the problem.
2014-03-05idmap: use UL for bitshift literalsTony Espy1-4/+4
The current bitshift logic in idmap incorrectly uses the literal 1 for the value to shift in idmap_alloc(), idmap_take(), and idmap_alloc_next(). This causes the resulting value to be an int instead of a long, which results in the wrong bit being set once the number of bits to shift operand exceeds sizeof(int). Also on some platforms, the behavior of the left bitshift operator is undefined when this overflow occurs.
2014-01-13include: Be more const-correct in ofono_dbus_*Slava Monich1-9/+11
2013-12-21git: Fixup messed up permissionsDenis Kenzior2-0/+0
2013-12-18siri: Add atom implementationKrzysztof Wilk2-0/+334
2013-09-12handsfree-audio: Don't listen() if no defer_setupVinicius Costa Gomes1-0/+3
As we won't allow any card to be registered when the kernel doesn't support defer_setup, we don't need to have the listening SCO socket open in this case.
2013-09-12handsfree-audio: Don't register if no defer_setupVinicius Costa Gomes1-0/+3
If the kernel doesn't support defer_setup for SCO, we shouldn't allow cards to be registered, because in that case we won't be able to properly send the file descriptor to the Agent.
2013-09-12handsfree-audio: Set socket parametersVinicius Costa Gomes1-0/+5
In the AG case, the voice setting needs to be set before we can use Transparent SCO mode, which is necessary for Wideband speech support.