Commit Graph

1727 Commits

Author SHA1 Message Date
Marcel Holtmann 35aa581a0d voicecall: Fix some minor style issues for voicecall properties 2011-01-21 11:25:50 +01:00
Faiyaz Baxamusa 76081700a9 sms: Break out message objects into message.[ch]
These can be used as is by the CDMA SMS manager atom
2011-01-20 14:58:31 -06:00
Andrzej Zaborowski 84d0a57f8a sim-auth: Add skeleton for the sim-auth atom 2011-01-20 11:16:06 -06:00
Andrzej Zaborowski 20face53bd ofono.h: Remove unneeded initialisers
They have no effect, enum already ensures the values are unique.
2011-01-20 11:16:05 -06:00
Denis Kenzior 8b9e4c1e18 simutil: Fix a memory leak 2011-01-20 11:16:04 -06:00
Andrzej Zaborowski 1542bf0c59 simutil: SIM applications directory decoding utils 2011-01-20 11:15:34 -06:00
Jukka Saunamaki 0ef557e766 sim: getters for mcc and mnc implementation 2011-01-20 11:04:00 -06:00
Jukka Saunamaki da535d1288 sim: store mcc and mnc separate from imsi 2011-01-20 11:03:43 -06:00
Jeevaka Badrappan c81c88e311 stk: Handle Launch Browser proactive command 2011-01-20 10:01:24 -06:00
Jeevaka Badrappan 67d1ddc22a stkutil: add check for qualifier and browser id
Checks the valid qualifier and browser id values
applicable for launch browser proactive command
2011-01-20 10:00:15 -06:00
Pekka Pessi a847f2ac0f gprs: Make gprs atom offline-safe
Allow use of GPRS atom both in online and offline (post_sim) states.

The GPRS now considers the removal of the netreg atom as implicit detach
and registration change to NOT_REGISTERED.
2011-01-20 09:58:52 -06:00
Aki Niemi 8c15a690df netreg: Deprecate the deregister method 2011-01-20 09:54:55 -06:00
Denis Kenzior f8b2ea9ebe gprs: Move packet bearer stuff into gprs.c 2011-01-20 09:49:36 -06:00
Tomasz Gregorek 33aaeb9dff gprs: mark context driver as not used when removing active context 2011-01-20 13:31:29 +01:00
Aki Niemi 9adc84ea88 core: Always return success to a no-op
A SetProperty that doesn't actually change the Online property's state
when no change to that state is pending, should not fail. It should
always succeed regardless of the current modem state.
2011-01-20 12:23:25 +01:00
Rémi Denis-Courmont 8ccbc9e515 gprs: Core support for packet switched bearer reporting 2011-01-20 12:09:18 +01:00
Rémi Denis-Courmont ec34d75bc7 common: Define packet switched bearers 2011-01-20 12:07:31 +01:00
Denis Kenzior fa222d810a voicecall: Handle empty EFecc properly
When EFecc is empty we should still set the calling codes to the
default_en_list, not keep the default_en_list + default_en_list_no_sim
2011-01-19 15:22:23 -06:00
Pekka Pessi 2c7b1348aa sms: make sms atom offline-safe
Allow use of SMS atom both in online and offline (post_sim) states.

SMS atom now watches network registration atom and state.  Thmessages
are queued but not sent if not registered to a network.  Errors
occurring when a short message is being sent while transition from
online to offline or when network coverage is dropped are now handled
gracefully.
2011-01-18 22:09:07 -06:00
Denis Kenzior f4ea5142ac voicecall: Update to the new API 2011-01-18 16:09:28 -06:00
Lucas De Marchi f88f81f132 call-settings: apply rule M11 of coding style 2011-01-18 16:09:27 -06:00
Lucas De Marchi b0d783c6f1 call-settings: add support for cdip 2011-01-18 16:09:27 -06:00
Lucas De Marchi 2f5afc9410 voicecall: add support for cdip
Enable oFono to show the identification informed with CDIP.
2011-01-18 16:09:27 -06:00
Denis Kenzior 918d6354cc simutil: Sort sim_fileid in numerical order 2011-01-18 09:49:22 -06:00
Jessica Nilsson cf96d24884 simutil: M9, M11, Minor style fixes and indentation 2011-01-18 09:45:30 -06:00
Aki Niemi de3a9c7e7c netreg: Remove default statement 2011-01-18 14:02:59 +02:00
Aki Niemi e25d40f194 netreg: Fix userdata -> user_data
This convention has been advertized on the mailing list.
2011-01-18 14:02:54 +02:00
Aki Niemi 52818e3951 simutil: Style fixes, M12 2011-01-18 14:02:46 +02:00
Aki Niemi cd46b6bcf3 netreg: Style fixes, M12 2011-01-18 14:02:41 +02:00
Aki Niemi ec61c75456 common: Style fixes, M12 2011-01-18 14:02:31 +02:00
Jeevaka Badrappan 2b8a358601 sim: fix issue with sizeof call
In some compilers, sizeof the functional argument is
not returning the actual sizeof the argument.
2011-01-17 17:05:26 +01:00
Marit Henriksen 140d092a00 src: Added enum for PDP context status. 2011-01-14 14:32:04 +01:00
Rafael Ignacio Zurita f92f0b5d47 gps: add new interface to feature map 2011-01-13 11:08:07 -06:00
Jeevaka Badrappan 355fa67742 stk: make use of ADD_ERROR_RESULT macro 2011-01-12 16:05:37 -06:00
Jeevaka Badrappan e5bd00fd80 stk: add additional info for terminal busy result
As per the ETSI TS 102 223 specification 8.12.2, it is
mandatory to provide additional information for the
general result "ME currently unable to process command".
2011-01-12 16:04:29 -06:00
Andrzej Zaborowski 2cec48fb1c simfs: Add cache flushing functions 2011-01-12 14:07:09 -06:00
Jeevaka Badrappan 480f7dffd9 core: M15 coding style fix 2011-01-12 08:06:58 -08:00
Jeevaka Badrappan 819fb91144 smsutil: M15 coding style fix 2011-01-12 08:06:58 -08:00
Rémi Denis-Courmont 6082339040 gprs: avoid useless loop iteration 2011-01-10 16:31:32 -08:00
Denis Kenzior a4675c50aa sim: Minor style fixes 2011-01-10 15:42:24 -06:00
Lucas De Marchi 99dd118c5b sim: query remaining pin retries
Check the remaining pin retries after each operation that might have
changed it, i.e. locking, unlocking, reseting or changing pin.
2011-01-10 15:38:59 -06:00
Lasse.Kunnasluoto@tieto.com 557454453d gprs: Fixing mem leak 2011-01-10 14:57:32 -06:00
Jeevaka Badrappan b9ead5e736 stk: Remove unwanted error check
Possible return values of  __ofono_voicecall_tone_send
are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
2011-01-06 10:29:24 -08:00
Marcel Holtmann 8772946cfe network: Ignore signal strength notifications if not registered
With the fix to query the signal strength when the registration status
changes it should be now fine again to just ignore notifications about
signal strength changes when not registered.  So put this extra check
and comment back into signal strenth notification function.
2011-01-05 21:03:52 -08:00
Marit Henriksen b7713da077 network: query signal strength
Signal strength is set to -1 whenever registration status changes
and differs from registered or roaming. When registration status
changes again to registered or roaming, the signal strength needs to
be updated, added query towards driver to get it.
2011-01-05 16:20:31 -08:00
Lucas De Marchi 435e20153c dbus: fix appending on dict for types other than string
According to dbus documentation, dbus_message_iter_append_basic()
expects a "const char**" if type is string and a simple pointer for
other types. Since we a iterating an array, the value passed is already
a pointer.
2011-01-05 16:19:09 -08:00
Denis Kenzior 0a2648c368 stkutil: Minor style fix 2011-01-05 10:36:31 -06:00
Jeevaka Badrappan b447c56457 stkutil: add missing text and icon check
As per the ETSI TS 102 223 section 6.5.4, If the terminal
receives an icon, and either an empty or no alpha identifier/text string
is given by the UICC, than the terminal shall reject the command
with general result "Command data not understood by terminal".
2011-01-05 10:05:44 -06:00
Jeevaka Badrappan 2411a506e3 stkutil: Allocate for empty string in text dataobj 2011-01-05 10:04:15 -06:00
Lucas De Marchi 53b5935455 call-settings: rename CalledLine* properties
COLP and COLR are better named respectively as ConnectedLinePresentation
and ConnectedLineRestriction as stated in 27.007 sections 7.8 and 7.31.

CalledLine* name will be used in future for CDIP.
2010-12-30 11:15:42 -06:00