Commit Graph

949 Commits

Author SHA1 Message Date
Aki Niemi 866c394882 Add proper bootstrapping to phonebook driver 2009-09-16 23:37:23 +03:00
Aki Niemi 0b28b05678 gisi: Make reachability detection more robust 2009-09-16 23:37:23 +03:00
Aki Niemi e3e5090b6a Increase network scan/set timeout values 2009-09-16 23:37:23 +03:00
Denis Kenzior cbe773330f Make sure unit tests also use right pdu buffer len 2009-09-16 05:07:36 -05:00
Andrzej Zaborowski 6d2cf926f3 Check received PDUs fit in the buffer, fix buffer size. 2009-09-16 04:53:44 -05:00
Denis Kenzior b83c7acfc9 Fix: do not leak memory, cleanup the topic list 2009-09-16 04:53:41 -05:00
Aki Niemi a34849599b Fix restrict keyword usage 2009-09-16 09:05:53 +03:00
Aki Niemi 795e65ad53 Add proper bootstrap using g_isi_verify() 2009-09-15 15:37:01 +03:00
Aki Niemi b6e37fb792 Remove version query; use gisi/client.h instead 2009-09-15 15:36:11 +03:00
Aki Niemi 8bbd9a8560 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.
2009-09-15 15:35:47 +03:00
Aki Niemi bee4bf4d7d Fix error reporting in phonebook driver 2009-09-15 11:17:39 +03:00
Aki Niemi 0aeb5f3dfd Remove extra debug 2009-09-15 00:35:22 +03:00
Aki Niemi af3f54ee43 Fix a possible but improbable leak 2009-09-15 00:20:54 +03:00
Marcel Holtmann ee0555dda1 Fix compiler warnings on 64-bit systems 2009-09-14 14:10:15 -07:00
RISKÓ Gergely e72d349483 Add introspection interface to the output of introspection calls
This provides better compatibility with some D-Bus clients, such as qdbus.
2009-09-14 14:08:07 -07:00
Aki Niemi b2bdb41bc0 Fix to use gisi/iter.h to decode sub-blocks 2009-09-14 23:59:59 +03:00
Aki Niemi e58d28f6b6 Adapt to changed sub-block iterator API 2009-09-14 23:43:57 +03:00
Aki Niemi 3cec9ac67b Add support for long sub-block header 2009-09-14 23:43:17 +03:00
Aki Niemi 6c08fc8e50 Refactor to use gisi/iter.h 2009-09-14 16:21:35 +03:00
Aki Niemi 69ac9733f4 Modify to use the new alpha tag getter 2009-09-14 16:21:18 +03:00
Aki Niemi a1ca8a9afa 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.
2009-09-14 16:21:06 +03:00
Aki Niemi d7459f45fc Coding style clean-ups 2009-09-14 14:53:35 +03:00
Aki Niemi ddbd19a4be Use gisi/iter.h for decoding sub-blocks 2009-09-14 14:34:27 +03:00
Aki Niemi dec66954b6 gisi: Add ISI sub-block iterator 2009-09-14 14:34:00 +03:00
Aki Niemi ffaba2b637 Clean up IMSI decoding 2009-09-14 14:33:31 +03:00
Aki Niemi cfd40b2313 Remove trailing WS 2009-09-14 13:00:45 +03:00
Aki Niemi 4904479214 Remove unnecessary debug 2009-09-14 12:54:16 +03:00
Aki Niemi d83b325a40 Add basic bootsrap for the SMS driver 2009-09-14 12:52:21 +03:00
Aki Niemi bc7df10c92 Add preliminary CBS driver 2009-09-14 12:51:48 +03:00
Aki Niemi 1c2f4b6097 Add proper bootstrapping for netreg driver
Use the ISI version query to bootstrap the netreg driver.
2009-09-14 12:45:54 +03:00
Aki Niemi 843f0c07e2 Remove unnecessary debugs 2009-09-14 12:44:59 +03:00
Aki Niemi e79d5ad208 Fix registration status decoding 2009-09-12 22:39:50 +03:00
Aki Niemi d2a42c71dd Fixes for proper coding style 2009-09-12 21:44:11 +03:00
Aki Niemi 3bfa5c47c0 Fix signal strength value calculation 2009-09-12 19:30:58 +03:00
Aki Niemi df8a202e94 Add IMSI retrieval to sim driver
Modified patch originally provided by Jukka Saunamäki.
2009-09-12 18:58:18 +03:00
Aki Niemi 6ee21a3fc1 Fix to use new success/failure callback macros 2009-09-12 18:57:16 +03:00
Aki Niemi 6d258f529e Add implementation of netreg driver 2009-09-12 18:42:42 +03:00
Aki Niemi 7507b73767 Clean up macros for success/failure callbacks 2009-09-12 18:36:22 +03:00
Marcel Holtmann 75719f0c01 Fix compilation error with missing return value 2009-09-12 09:01:05 +02:00
Denis Kenzior 4a4143d094 Update the network registration API 2009-09-11 21:38:55 -05:00
Denis Kenzior 03ce875a7b 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
2009-09-11 21:38:08 -05:00
Denis Kenzior 6f86a8d0a6 Add utility for setting the netreg base station 2009-09-11 21:35:31 -05:00
Denis Kenzior d54f588355 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
2009-09-11 16:25:30 -05:00
Denis Kenzior f03b97c635 Add network registration status watch capability 2009-09-11 16:25:15 -05:00
Denis Kenzior 227ac8f2e0 Remove extra free of cbs assembly 2009-09-11 15:33:51 -05:00
Denis Kenzior 5e754c6518 Create watchlists during register 2009-09-11 14:06:18 -05:00
Denis Kenzior 8858669857 Port sim ready watch to __ofono_watchlist 2009-09-11 14:05:39 -05:00
Denis Kenzior cbb36acee8 Rework DECLARE_FAILURE to be a bit nicer 2009-09-11 12:39:56 -05:00
Denis Kenzior 32fc30fa02 Refactor various watch functions
Use a common core kernel for all the watcher registrations /
notifications.  This is now done in watch.c
2009-09-11 12:39:53 -05:00
Denis Kenzior 27cfc00eba Add netreg getter functions
- Get Location, CellID
- Current Operator
- Registration Status
- Technology
2009-09-10 18:19:48 -05:00