platform/upstream/ofono.git
14 years agoFix build issue with example history plugin
Marcel Holtmann [Fri, 25 Sep 2009 21:12:59 +0000 (14:12 -0700)]
Fix build issue with example history plugin

14 years agoFix segmentation fault from SIM reading on Calypso modem
Marcel Holtmann [Fri, 25 Sep 2009 21:07:33 +0000 (14:07 -0700)]
Fix segmentation fault from SIM reading on Calypso modem

14 years agoConvert some more strings list for easier reading
Marcel Holtmann [Fri, 25 Sep 2009 21:05:32 +0000 (14:05 -0700)]
Convert some more strings list for easier reading

14 years agoAdd some more test scripts for SMS and voice call testing
Marcel Holtmann [Fri, 25 Sep 2009 21:04:43 +0000 (14:04 -0700)]
Add some more test scripts for SMS and voice call testing

14 years agoAdd gsmdial application to ignore list
Marcel Holtmann [Fri, 25 Sep 2009 00:43:57 +0000 (17:43 -0700)]
Add gsmdial application to ignore list

14 years agoAdd skeleton for gsmdial test application
Marcel Holtmann [Fri, 25 Sep 2009 00:39:09 +0000 (17:39 -0700)]
Add skeleton for gsmdial test application

14 years agoRelease 0.5 0.5
Marcel Holtmann [Fri, 25 Sep 2009 00:07:05 +0000 (17:07 -0700)]
Release 0.5

14 years agoAdd oFono whitepaper to distribution
Marcel Holtmann [Thu, 24 Sep 2009 23:55:43 +0000 (16:55 -0700)]
Add oFono whitepaper to distribution

14 years agoFix whitespace
Denis Kenzior [Thu, 24 Sep 2009 15:22:57 +0000 (10:22 -0500)]
Fix whitespace

14 years agoAdd first draft of the ofono whitepaper
Denis Kenzior [Thu, 24 Sep 2009 15:14:22 +0000 (10:14 -0500)]
Add first draft of the ofono whitepaper

14 years agoUpdate the sim-api with LockedPins property
Denis Kenzior [Thu, 24 Sep 2009 15:13:19 +0000 (10:13 -0500)]
Update the sim-api with LockedPins property

14 years agoAdd initial support for LockedPins property
Denis Kenzior [Thu, 24 Sep 2009 15:10:38 +0000 (10:10 -0500)]
Add initial support for LockedPins property

14 years agogdbus: handle introspection generally in generic_message.
RISKÓ Gergely [Wed, 16 Sep 2009 12:03:12 +0000 (15:03 +0300)]
gdbus: handle introspection generally in generic_message.

Previously it was a specific case, now introspection is just another
interface, which is always implemented.  It is registered/unregistered
when an object path is referenced first/last.

14 years agoUnref GIOChannel in g_at_chat_new_from_tty
Zhenhua Zhang [Wed, 23 Sep 2009 10:57:17 +0000 (18:57 +0800)]
Unref GIOChannel in g_at_chat_new_from_tty

14 years agoIgnore EFli if the first entry is empty
Denis Kenzior [Wed, 23 Sep 2009 22:28:15 +0000 (17:28 -0500)]
Ignore EFli if the first entry is empty

14 years agoAdd plugin interface for getting PIN lock state.
Andrzej Zaborowski [Wed, 23 Sep 2009 22:33:28 +0000 (00:33 +0200)]
Add plugin interface for getting PIN lock state.

It may be useful to have the information of whether card is currently
locked and emit events when this changes but if we want to have it as a
property, we would need properties for all types of locks and it wouldn't
be all that useful.

14 years agoRemove unused struct field.
Andrzej Zaborowski [Wed, 23 Sep 2009 22:35:15 +0000 (00:35 +0200)]
Remove unused struct field.

14 years agoRename eflp_format to efli_format, semantically opposite.
Andrzej Zaborowski [Wed, 23 Sep 2009 21:23:43 +0000 (23:23 +0200)]
Rename eflp_format to efli_format, semantically opposite.

14 years agoUpdate sim-api.txt: ChangePin no longer disables pin.
Andrzej Zaborowski [Wed, 23 Sep 2009 21:17:06 +0000 (23:17 +0200)]
Update sim-api.txt: ChangePin no longer disables pin.

14 years agoSimplify: Use dbus_message_iter_get_args
Denis Kenzior [Tue, 22 Sep 2009 15:59:17 +0000 (10:59 -0500)]
Simplify: Use dbus_message_iter_get_args

14 years agoRemove unused structure
Denis Kenzior [Tue, 22 Sep 2009 15:49:03 +0000 (10:49 -0500)]
Remove unused structure

14 years agoFix unused variable issue from last commits
Marcel Holtmann [Wed, 23 Sep 2009 17:47:29 +0000 (10:47 -0700)]
Fix unused variable issue from last commits

14 years agoFix: Comparison should be against negative errno
Denis Kenzior [Tue, 22 Sep 2009 14:36:55 +0000 (09:36 -0500)]
Fix: Comparison should be against negative errno

14 years agoUpdate sim-api with LockPin and UnlockPin
Denis Kenzior [Tue, 22 Sep 2009 05:12:05 +0000 (00:12 -0500)]
Update sim-api with LockPin and UnlockPin

14 years agoDon't try to Lock or Unlock SIM PIN2
Denis Kenzior [Tue, 22 Sep 2009 05:05:29 +0000 (00:05 -0500)]
Don't try to Lock or Unlock SIM PIN2

14 years agoMake sure we try to lock/unlock/change only PINs
Denis Kenzior [Tue, 22 Sep 2009 04:20:25 +0000 (23:20 -0500)]
Make sure we try to lock/unlock/change only PINs

14 years agoRefactor: Do not use int instead of enum
Denis Kenzior [Tue, 22 Sep 2009 04:04:53 +0000 (23:04 -0500)]
Refactor: Do not use int instead of enum

27.007 does not define an enumeration for SIM PIN/PUK values.  This
should be handled by ofono enum instead

14 years agoDon't treat READY CPIN result differently
Denis Kenzior [Mon, 21 Sep 2009 15:11:07 +0000 (10:11 -0500)]
Don't treat READY CPIN result differently

14 years agoAdd LockPin and UnlockPin functions
Denis Kenzior [Mon, 21 Sep 2009 14:37:56 +0000 (09:37 -0500)]
Add LockPin and UnlockPin functions

14 years agoMove SSN unsolicited notification activation
Denis Kenzior [Mon, 21 Sep 2009 14:32:46 +0000 (09:32 -0500)]
Move SSN unsolicited notification activation

14 years agoRearrange sim password enum
Denis Kenzior [Mon, 21 Sep 2009 13:03:56 +0000 (08:03 -0500)]
Rearrange sim password enum

14 years agoFix: Make sure pin isn't empty
Denis Kenzior [Mon, 21 Sep 2009 13:00:42 +0000 (08:00 -0500)]
Fix: Make sure pin isn't empty

14 years agoGet rid of 1 line function
Denis Kenzior [Mon, 21 Sep 2009 12:54:21 +0000 (07:54 -0500)]
Get rid of 1 line function

14 years agoMove some stuff around
Denis Kenzior [Mon, 21 Sep 2009 12:51:23 +0000 (07:51 -0500)]
Move some stuff around

14 years agoDo PIN authentication
Andrzej Zaborowski [Thu, 17 Sep 2009 20:43:22 +0000 (22:43 +0200)]
Do PIN authentication

This adds checking whether PIN is required during SIM initialisation and
delaying the sim ready notifications until after correct PIN is given.

14 years agoAssume sms is registered only when sim ready
Denis Kenzior [Fri, 18 Sep 2009 18:47:34 +0000 (13:47 -0500)]
Assume sms is registered only when sim ready

14 years agoAssume cbs is registered after sim ready
Denis Kenzior [Fri, 18 Sep 2009 18:41:29 +0000 (13:41 -0500)]
Assume cbs is registered after sim ready

14 years agoAssume netreg is registered when sim ready
Denis Kenzior [Fri, 18 Sep 2009 18:38:50 +0000 (13:38 -0500)]
Assume netreg is registered when sim ready

14 years agoFix trailing whitespace
Marcel Holtmann [Fri, 18 Sep 2009 20:56:03 +0000 (13:56 -0700)]
Fix trailing whitespace

14 years agoAdd disconnection function
Denis Kenzior [Fri, 18 Sep 2009 18:33:41 +0000 (13:33 -0500)]
Add disconnection function

14 years agoSimplify cleanup logic
Denis Kenzior [Fri, 18 Sep 2009 18:33:22 +0000 (13:33 -0500)]
Simplify cleanup logic

14 years agoRefactor language preference parsing
Denis Kenzior [Thu, 17 Sep 2009 18:41:52 +0000 (13:41 -0500)]
Refactor language preference parsing

- Make sure to handle capital / lower case ISO639 strings
- Properly handle the case where files are empty / unused
- Don't emit the signal unless the preferences are useable
- Simplify the logic and be a bit more readable

14 years agoSimplify function logic
Denis Kenzior [Thu, 17 Sep 2009 17:18:48 +0000 (12:18 -0500)]
Simplify function logic

14 years agoUse g_ascii_isdigit
Denis Kenzior [Thu, 17 Sep 2009 17:17:42 +0000 (12:17 -0500)]
Use g_ascii_isdigit

14 years agoFix potential memory leak
Denis Kenzior [Thu, 17 Sep 2009 17:04:56 +0000 (12:04 -0500)]
Fix potential memory leak

14 years agoRename function to be more clear
Denis Kenzior [Thu, 17 Sep 2009 17:04:45 +0000 (12:04 -0500)]
Rename function to be more clear

14 years agoUse existing function for converting to iso639
Denis Kenzior [Thu, 17 Sep 2009 16:53:37 +0000 (11:53 -0500)]
Use existing function for converting to iso639

14 years agoAssume CBS is registered when SIM ready
Denis Kenzior [Thu, 17 Sep 2009 16:53:19 +0000 (11:53 -0500)]
Assume CBS is registered when SIM ready

14 years agoPresent list of preferred languages on SimManager interfce.
Andrzej Zaborowski [Thu, 17 Sep 2009 13:58:29 +0000 (15:58 +0200)]
Present list of preferred languages on SimManager interfce.

We try to detect the old (2G / 2G+, 51.011) EFlp format and deal
with the file contents accordingly.

14 years agoConvert all the modem drivers to the new API
Denis Kenzior [Thu, 17 Sep 2009 15:15:34 +0000 (10:15 -0500)]
Convert all the modem drivers to the new API

14 years agoSplit populate modem driver method
Denis Kenzior [Thu, 17 Sep 2009 15:14:02 +0000 (10:14 -0500)]
Split populate modem driver method

Introduce two new methods
- pre_sim - SIM is not inserted or locked.  This should populate
  the modem with atoms that can be used without the SIM.
  Generally this is the devinfo atom, the sim atom and the voice
  call atom (emergency calls only)
- post_sim - SIM is ready.  This method should populate the
  modem with the remaining atoms

14 years agoAdd sim api documentation
Denis Kenzior [Wed, 16 Sep 2009 22:08:54 +0000 (17:08 -0500)]
Add sim api documentation

14 years agoAdd reading of various CBS related EFs
Denis Kenzior [Tue, 15 Sep 2009 19:35:39 +0000 (14:35 -0500)]
Add reading of various CBS related EFs

- EFcbmi - Cell Broadcast Identifiers
- EFcbmir - Cell Broadcast Identifier Ranges
- EFcbmid - Cell Broadcast Identifiers for Data Download

14 years agoMiscellaneous clean-ups
Aki Niemi [Wed, 16 Sep 2009 10:43:07 +0000 (13:43 +0300)]
Miscellaneous clean-ups

14 years agoAdd proper bootstrapping to phonebook driver
Aki Niemi [Wed, 16 Sep 2009 10:42:45 +0000 (13:42 +0300)]
Add proper bootstrapping to phonebook driver

14 years agogisi: Make reachability detection more robust
Aki Niemi [Wed, 16 Sep 2009 10:42:04 +0000 (13:42 +0300)]
gisi: Make reachability detection more robust

14 years agoIncrease network scan/set timeout values
Aki Niemi [Wed, 16 Sep 2009 10:40:49 +0000 (13:40 +0300)]
Increase network scan/set timeout values

14 years agoMake sure unit tests also use right pdu buffer len
Denis Kenzior [Wed, 16 Sep 2009 10:07:36 +0000 (05:07 -0500)]
Make sure unit tests also use right pdu buffer len

14 years agoCheck received PDUs fit in the buffer, fix buffer size.
Andrzej Zaborowski [Wed, 16 Sep 2009 14:03:50 +0000 (16:03 +0200)]
Check received PDUs fit in the buffer, fix buffer size.

14 years agoFix: do not leak memory, cleanup the topic list
Denis Kenzior [Tue, 15 Sep 2009 19:35:09 +0000 (14:35 -0500)]
Fix: do not leak memory, cleanup the topic list

14 years agoFix restrict keyword usage
Aki Niemi [Wed, 16 Sep 2009 06:05:53 +0000 (09:05 +0300)]
Fix restrict keyword usage

14 years agoAdd proper bootstrap using g_isi_verify()
Aki Niemi [Tue, 15 Sep 2009 12:37:01 +0000 (15:37 +0300)]
Add proper bootstrap using g_isi_verify()

14 years agoRemove version query; use gisi/client.h instead
Aki Niemi [Tue, 15 Sep 2009 12:36:11 +0000 (15:36 +0300)]
Remove version query; use gisi/client.h instead

14 years agogisi: Add ISI version and reachability check API
Aki Niemi [Tue, 15 Sep 2009 12:35:47 +0000 (15:35 +0300)]
gisi: Add ISI version and reachability check API

This patch adds an API for querying the ISI version of the resource
with which the client is associated. This information is only
available after g_isi_verify() has been called on the client. This is
because we use the version query message as a vehicle for reachability
checking.

14 years agoFix error reporting in phonebook driver
Aki Niemi [Tue, 15 Sep 2009 08:17:39 +0000 (11:17 +0300)]
Fix error reporting in phonebook driver

14 years agoRemove extra debug
Aki Niemi [Mon, 14 Sep 2009 21:35:22 +0000 (00:35 +0300)]
Remove extra debug

14 years agoFix a possible but improbable leak
Aki Niemi [Mon, 14 Sep 2009 21:12:28 +0000 (00:12 +0300)]
Fix a possible but improbable leak

14 years agoFix compiler warnings on 64-bit systems
Marcel Holtmann [Mon, 14 Sep 2009 21:10:15 +0000 (14:10 -0700)]
Fix compiler warnings on 64-bit systems

14 years agoAdd introspection interface to the output of introspection calls
RISKÓ Gergely [Mon, 14 Sep 2009 14:52:43 +0000 (17:52 +0300)]
Add introspection interface to the output of introspection calls

This provides better compatibility with some D-Bus clients, such as qdbus.

14 years agoFix to use gisi/iter.h to decode sub-blocks
Aki Niemi [Mon, 14 Sep 2009 20:44:50 +0000 (23:44 +0300)]
Fix to use gisi/iter.h to decode sub-blocks

14 years agoAdapt to changed sub-block iterator API
Aki Niemi [Mon, 14 Sep 2009 20:43:57 +0000 (23:43 +0300)]
Adapt to changed sub-block iterator API

14 years agoAdd support for long sub-block header
Aki Niemi [Mon, 14 Sep 2009 20:43:17 +0000 (23:43 +0300)]
Add support for long sub-block header

14 years agoRefactor to use gisi/iter.h
Aki Niemi [Mon, 14 Sep 2009 13:21:35 +0000 (16:21 +0300)]
Refactor to use gisi/iter.h

14 years agoModify to use the new alpha tag getter
Aki Niemi [Mon, 14 Sep 2009 13:21:18 +0000 (16:21 +0300)]
Modify to use the new alpha tag getter

14 years agoAdd and modify string getters
Aki Niemi [Mon, 14 Sep 2009 13:21:06 +0000 (16:21 +0300)]
Add and modify string getters

Add a getter for latin ASCII only tags, and change the alpha tag
getter. Turns out not all alpha tags in ISI are of the length-value
variety.

14 years agoCoding style clean-ups
Aki Niemi [Mon, 14 Sep 2009 11:45:12 +0000 (14:45 +0300)]
Coding style clean-ups

14 years agoUse gisi/iter.h for decoding sub-blocks
Aki Niemi [Mon, 14 Sep 2009 11:34:27 +0000 (14:34 +0300)]
Use gisi/iter.h for decoding sub-blocks

14 years agogisi: Add ISI sub-block iterator
Aki Niemi [Mon, 14 Sep 2009 11:34:00 +0000 (14:34 +0300)]
gisi: Add ISI sub-block iterator

14 years agoClean up IMSI decoding
Aki Niemi [Mon, 14 Sep 2009 11:33:31 +0000 (14:33 +0300)]
Clean up IMSI decoding

14 years agoRemove trailing WS
Aki Niemi [Mon, 14 Sep 2009 10:00:45 +0000 (13:00 +0300)]
Remove trailing WS

14 years agoRemove unnecessary debug
Aki Niemi [Mon, 14 Sep 2009 09:54:16 +0000 (12:54 +0300)]
Remove unnecessary debug

14 years agoAdd basic bootsrap for the SMS driver
Aki Niemi [Mon, 14 Sep 2009 09:52:21 +0000 (12:52 +0300)]
Add basic bootsrap for the SMS driver

14 years agoAdd preliminary CBS driver
Aki Niemi [Mon, 14 Sep 2009 09:51:48 +0000 (12:51 +0300)]
Add preliminary CBS driver

14 years agoAdd proper bootstrapping for netreg driver
Aki Niemi [Mon, 14 Sep 2009 09:45:54 +0000 (12:45 +0300)]
Add proper bootstrapping for netreg driver

Use the ISI version query to bootstrap the netreg driver.

14 years agoRemove unnecessary debugs
Aki Niemi [Mon, 14 Sep 2009 09:44:59 +0000 (12:44 +0300)]
Remove unnecessary debugs

14 years agoFix registration status decoding
Aki Niemi [Sat, 12 Sep 2009 19:39:50 +0000 (22:39 +0300)]
Fix registration status decoding

14 years agoFixes for proper coding style
Aki Niemi [Sat, 12 Sep 2009 18:44:11 +0000 (21:44 +0300)]
Fixes for proper coding style

14 years agoFix signal strength value calculation
Aki Niemi [Sat, 12 Sep 2009 16:30:58 +0000 (19:30 +0300)]
Fix signal strength value calculation

14 years agoAdd IMSI retrieval to sim driver
Aki Niemi [Sat, 12 Sep 2009 15:58:18 +0000 (18:58 +0300)]
Add IMSI retrieval to sim driver

Modified patch originally provided by Jukka Saunamäki.

14 years agoFix to use new success/failure callback macros
Aki Niemi [Sat, 12 Sep 2009 15:57:16 +0000 (18:57 +0300)]
Fix to use new success/failure callback macros

14 years agoAdd implementation of netreg driver
Aki Niemi [Sat, 12 Sep 2009 15:42:42 +0000 (18:42 +0300)]
Add implementation of netreg driver

14 years agoClean up macros for success/failure callbacks
Aki Niemi [Sat, 12 Sep 2009 12:47:00 +0000 (15:47 +0300)]
Clean up macros for success/failure callbacks

14 years agoFix compilation error with missing return value
Marcel Holtmann [Sat, 12 Sep 2009 07:01:05 +0000 (09:01 +0200)]
Fix compilation error with missing return value

14 years agoUpdate the network registration API
Denis Kenzior [Sat, 12 Sep 2009 02:38:55 +0000 (21:38 -0500)]
Update the network registration API

14 years agoSupport base station name cell broadcasts
Denis Kenzior [Sat, 12 Sep 2009 02:38:08 +0000 (21:38 -0500)]
Support base station name cell broadcasts

If we receive an immediate cell-specific cell broadcast, report it as
the base station id up to netreg atom

14 years agoAdd utility for setting the netreg base station
Denis Kenzior [Sat, 12 Sep 2009 02:35:31 +0000 (21:35 -0500)]
Add utility for setting the netreg base station

14 years agoEnable registration / location updates for CBS
Denis Kenzior [Fri, 11 Sep 2009 21:25:30 +0000 (16:25 -0500)]
Enable registration / location updates for CBS

- 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

14 years agoAdd network registration status watch capability
Denis Kenzior [Fri, 11 Sep 2009 21:25:15 +0000 (16:25 -0500)]
Add network registration status watch capability

14 years agoRemove extra free of cbs assembly
Denis Kenzior [Fri, 11 Sep 2009 20:18:27 +0000 (15:18 -0500)]
Remove extra free of cbs assembly

14 years agoCreate watchlists during register
Denis Kenzior [Fri, 11 Sep 2009 19:06:18 +0000 (14:06 -0500)]
Create watchlists during register