summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-06-18sim: Fix up whitespace issuesDenis Kenzior1-1/+1
2015-06-18Emit LockedPins after pin_type is queriedTommi Kenakkala1-1/+21
Fixes property change not being emited when hot-swapping a PIN-enabled card.
2015-06-17sim: Reset pin_type on card removeTommi Kenakkala1-2/+5
Fixes PinRequired not being emitted when a card is inserted
2015-06-04hfpmodem: Fix connecting to AG with existing mptyKuba Pawlak1-0/+20
If there is more then one active or held call, we are in mpty calls. We won't get indicator update if any of them is released by CHLD=1x. So we have to poll it.
2015-05-18gprs: Add comment to gprs_reset_contextsAlfonso Sanchez-Beato1-0/+5
2015-05-18test: Fix file mode for reset-contextsDenis Kenzior1-0/+0
2015-05-18gprs: Refactor to remove forward declarationAlfonso Sanchez-Beato1-104/+102
2015-05-18test: Add script for resetting contextsAlfonso Sanchez-Beato1-0/+20
2015-05-18doc: Add description for ResetContexts methodAlfonso Sanchez-Beato1-0/+10
2015-05-18gprs: Add DBus method to reset contextsAlfonso Sanchez-Beato1-24/+118
Add DBus method that removes the current contexts and re-provisions using the APN database.
2015-05-13cinterion: Correct use of freed structureAlex J Lennon1-2/+2
On error struct cb_data *cbd was used after in cinterion_set_online after already being freed.
2015-05-13ste: Fix out-of-order freeDenis Kenzior1-2/+1
CALLBACK_WITH_FAILURE used data structure freed just beforehand
2015-05-13dundee: Fix out-of-order freeDenis Kenzior1-2/+1
CALLBACK_WITH_FAILURE used data structure freed just beforehand
2015-05-13AUTHORS: Mention Alex's contributionsDenis Kenzior1-0/+1
2015-05-13udev: Add support for ehs6 nameAlex J Lennon1-0/+2
As with tc65, ehs6 makes use of cinterion plugin
2015-05-13cinterion: Register as OFONO_VENDOR_CINTERIONAlex J Lennon1-1/+3
This enables us to take advantage of vendor specific quirks (e.g. signal strength handling specifics for tc65)
2015-05-13atmodem: Add Cinterion quirk for signal strengthAlex J Lennon2-0/+55
Implement OFONO_VENDOR_CINTERION specific vendor support to register textual +CIEV indications for signal strength using AT^SIND command.
2015-05-13tc65: Replace tc65 plugin with cinterion pluginAlex J Lennon3-32/+38
On the basis that tc6x and other Cinterion devices will likely have similar firmware requirements, provide a generic Cinterion plugin which is functionally identical to the replaced tc65 plugin. The udev implementation retains support for "tc65" name for backwards compatibility, and adds support for the new "cinterion" name.
2015-05-13hfp_hf_bluez5: Implement sco_connected_hintDenis Kenzior1-6/+42
2015-05-13handsfree-audio: Call sco_connected_hintDenis Kenzior1-0/+3
2015-05-13include: Add sco_connected_hint to handsfree-audioDenis Kenzior1-0/+1
2015-05-13gatchat: Introduce g_at_chat_get_userdataDenis Kenzior2-0/+33
2015-05-13handsfree-audio: Add additional debugsDenis Kenzior1-0/+5
2015-04-20gdbus: Close private connection if setup failsLuiz Augusto von Dentz1-0/+1
Private connection should be properly closed with dbus_connection_close otherwise libdbus exits with the following error: 'The last reference on a connection was dropped without closing the connection. This is a bug in an application. See dbus_connection_unref() documentation for details. Most likely, the application was supposed to call dbus_connection_close(), since this is a private connection.'
2015-04-09gdbus: Fix crash in g_dbus_create_error_valistSzymon Janc1-1/+4
Passing NULL format parameter to vsnprintf results in invalid argument error on glibc. But with some other libc libraries (musl and uClibc) this results in dereferencing NULL pointer and crash due to segmentation fault.
2015-04-09gdbus: Use g_dbus_create_error_valist internallySzymon Janc1-4/+1
There is no need to duplicate code in g_dbus_send_error_valist.
2015-04-07gdbus: Add g_dbus_get_flags functionMichael Janssen2-0/+6
The g_dbus_get_flags function enables detection of when the G_DBUS_FLAG_ENABLE_EXPERIMENTAL is set.
2015-03-26gdbus: Make GDBusClient work without ObjectManagerLuiz Augusto von Dentz1-2/+7
This makes GDBusClient work normally without ObjectManager.
2015-03-26gdbus/client: Allow specifying ObjectManager pathArman Uguray2-6/+22
GDBusClient currently hard-codes "/" as the remote ObjectManager path. This is generally incorrect, as an application can choose to expose an ObjectManager at any well-known path. This patch fixes this by allowing the user to pass in the ObjectManager path by introducing a new conctructor "g_dbus_client_new_full".
2015-03-26gdbus/client: Don't GetManagedObjects w/o handlersArman Uguray1-1/+2
The client code currently issues GetManagedObjects if new handlers are set via g_dbus_client_set_proxy_handlers. An application may set these to NULL before unref'ing a client or to simply prevent further events. Hence, there is no need to refresh objects or properties if all handlers are NULL.
2015-03-24hfpmodem: slc.c: make sure to use none_prefixKuba Pawlak1-3/+4
2015-03-24hfpmodem: hfpmodem.c make sure to use none_prefixKuba Pawlak1-5/+6
2015-03-24hfp_ag_bluez5: use none prefix for AT+BCC.Kuba Pawlak1-1/+2
iPhone 5s with iOS8.2 sometimes failes to acknowledge AT+BCC with OK. This means +CIEV events get consumed by this command and call ended notification is not parsed. Nov 30 00:00:19 ofonod[938]: > AT+BCC\r Nov 30 00:00:28 ofonod[938]: < \r\n+CIEV: 2,0\r\n
2015-02-24gdbus: Fix not calling disconnect functionSzymon Janc1-3/+4
If daemon gets disconnected from D-Bus sender is NULL. Watches that was explicitly added with NULL sender (ie disconnected_signal in g_dbus_set_disconnect_function) should be called anyway.
2015-02-22gdbus: Don't refresh objects/props if disconnectedArman Uguray1-5/+8
If g_dbus_client_set_proxy_handlers gets called from within a proxy_removed callback, the code may end up refreshing the proxy's properties and incorrectly access the client's proxy_list as it gets freed. This patch fixes this, so that get_managed_objects does nothing if it gets called during a service disconnect.
2015-02-20hfpmodem: Make sure to use none_prefixDenis Kenzior1-2/+2
ofonod[253]: > AT+CCWA=1\r ofonod[253]: < \r\n+BCS:2\r\n ofonod[253]: < \r\nOK\r\n
2015-02-20hfpmodem: Make sure to set the prefix properlyDenis Kenzior1-1/+2
ofonod[1239]: > AT+COPS=3,0\r ofonod[1239]: < \r\n+BCS:2\r\n ofonod[1239]: < \r\nOK\r\n
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-13unit: Add test to encode / decode 11 char TP-OATommi Kenakkala1-0/+38
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-02AUTHORS: Mention Tommi's contributionsDenis Kenzior1-0/+1
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.
2015-02-02atmodem: fix retries reporting from AT+CPINRCedric Jehasse1-1/+1
The retries array was not correctly filled in.
2015-02-02atmodem: Sierra modems should be polled after CPINCedric Jehasse1-0/+1
Sierra modem will return "CME ERROR: 14" when polled right after pin has been entered. Use the existing vendor quirk to handle this.
2015-01-31sierra: add sim state polling after CFUN enableCedric Jehasse1-2/+24
When pin is queried shortly after a Siera dongle is plugged in, "AT+CPIN?" responds with "CME ERROR 14: SIM". Poll the sim, as already done by several other vendor plugins.
2014-12-13Release 1.16Marcel Holtmann2-1/+10
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-10phonesim: Instantiate radio-settings in post_simDenis Kenzior1-0/+2
2014-12-10phonesim: Add minimal radio-settings functionalityDenis Kenzior1-3/+29