Commit Graph

352 Commits

Author SHA1 Message Date
Pekka Pessi a67c5cf4c5 isi/voicecall: fix handling of waiting calls
Also, do not retrieve calls after isi_release_all_active() because
retrieving is now only an unwanted side-effect .
2010-12-03 14:52:40 +02:00
Pekka Pessi be2778cb99 isi/voicecall: avoid side-effects of release
If a call was held automatically when an another call was dialed or
answered, it gets retrieved when the other call is released unless
auto change features is explicitly disabled.

Drop cause_type parameter because it is never used.

Use cause code for busy when releasing incoming or waiting calls.
2010-12-03 14:52:33 +02:00
Pekka Pessi eb3af79700 isi/voicecall: add call id to queued requests 2010-12-03 14:51:40 +02:00
Pekka Pessi fe28e6cd05 isi/voicecall: fix status reporting
Do not report incoming calls to the oFono core until they can be
answered.

Report MT_RELEASED or MO_RELEASED via ofono_voicecall_notify(),
TERMINATED calls via ofono_voicecall_disconnected().
2010-12-03 14:50:05 +02:00
Denis Kenzior 26b68846a8 isi: Get rid of a pointless check in cf driver 2010-11-29 11:47:47 -06:00
Lucas De Marchi b82a7f8511 drivers: explicitly compare pointers to NULL
This patch was generated by the following semantic patch
(http://coccinelle.lip6.fr/)

// <smpl>
@fix disable is_null,isnt_null1@
expression *E;
@@

- !E
+ E == NULL
// </smpl>
2010-11-29 11:37:09 -06:00
Denis Kenzior ae2d960ec3 isi: Update radio-settings to use new API 2010-11-29 07:52:35 -06:00
Rémi Denis-Courmont 6a6f7bed3c isi: Remove stray newlines in messages sent to log 2010-11-26 13:48:41 -06:00
Pekka Pessi f3c75c9285 isi/voicecall: release COMING calls with BUSY cause
Very early incoming calls were not released with BUSY cause.
2010-11-22 08:19:38 -06:00
Denis Kenzior 5a1bd2c352 isimodem: Get rid of whitespace corruption 2010-11-11 09:08:09 -06:00
Aki Niemi b2faaa1058 isimodem: Fix style issues in gprs-context.c 2010-11-11 10:11:24 +02:00
Mika Liljeberg a4deaffa58 isimodem: revector GPRS context driver 2010-11-11 09:25:08 +02:00
Pekka Pessi b3495d3a9b isigen: increase offline timeout
The modem deregisters from network before response to MTC_STATE_REQ is
returned.  Deregistering can take up to 6 seconds.
2010-11-04 16:19:53 +01:00
Mika Liljeberg d34bbba722 isimodem: add support for FastDormancy property 2010-10-27 22:26:16 -05:00
Aki Niemi eac5b46c19 isimodem: Remove hack for notifying strength 2010-10-21 21:39:41 +03:00
Pekka Pessi ffa9edfb82 isi: fix SMS
Align read-params with update-params properly.

Align and fill tpdu sub block in submit.
2010-10-20 15:41:10 -05:00
Pekka Pessi ec2e576863 isi: fix SMS
Read absence/presence flags from correct field.

Try to avoid overwriting other SMS parameters but SCA address.

Use g_isi_(v)send().
2010-10-20 12:53:29 -05:00
Pekka Pessi 6861510e5e isi: fix hangup_active and set_udub methods
The concept of "active" call seems to be overloaded.
2010-10-20 12:52:44 -05:00
Aki Niemi ae8deb68e8 isimodem: Fix setting SCA type 2010-10-20 17:31:17 +03:00
Aki Niemi 255782f8c2 isimodem: Fix request cleanup code
Adds a check for when the driver is being removed, in which case no
new ISI requests should be generated.
2010-10-19 15:06:35 +03:00
Petteri Tikander 44bb863538 isimodem: returns file-status of SIM EF-file 2010-10-15 02:19:43 -05:00
Aki Niemi 297b14ca8b isimodem: Fix copyright and license boilerplate 2010-10-14 15:22:16 +03:00
Aki Niemi 69087a565c isimodem: Fix SMSC address update request 2010-10-14 15:22:16 +03:00
Pekka Pessi a5e13cb049 isimodem/voicecall: fix hangup_active 2010-10-06 12:07:27 +02:00
Aki Niemi 29bbf89c52 isimodem: Properly clean up audio settings driver 2010-10-01 17:11:25 +03:00
Kai Vehmanen 78d4ee9336 isimodem: Add support for audio settings
The audio state is mapped directly to isimodem's call server status
indications. When active, the modem speech path should be opened, and
when closed, the modem speech path may be closed.
2010-10-01 17:11:24 +03:00
Aki Niemi cbf53bc708 isimodem: Report GPRS detach 2010-09-30 11:25:48 +03:00
Aki Niemi 6509152544 isimodem: Fix signal strength reporting
ISI modems send the signal strength indication before registration
status changes, which causes the core to ignore initial signal
strength values.
2010-09-30 11:25:48 +03:00
Pekka Pessi ce2ff83187 isimodem: remove generic modem driver parts
The isimodem driver is now part of isigen (just like atmodem and atgen).
2010-09-30 11:25:47 +03:00
Aki Niemi 3ffd6d248b isimodem: Return success on topic set/clear
The isimodem driver accepts all topics by default.
2010-09-27 16:07:44 +03:00
Aki Niemi 7e5a5e665b isimodem: Fix CBS decoding 2010-09-27 16:07:39 +03:00
Denis Kenzior 315cfd4217 isimodem/ussd: Fix 64-bit compilation issue 2010-09-16 13:53:26 -05:00
Pekka Pessi fe14190935 isimodem/ussd: fix mobile-terminated cases
ACK notifys. Handle mobile-terminated requests gracefully.
2010-09-16 13:47:46 -05:00
Pekka Pessi 5e92604955 isimodem/debug: debug USSD type 2010-09-16 13:47:15 -05:00
Pekka Pessi a111048129 isimodem/ussd: clean const casts 2010-09-16 08:58:54 -05:00
Jeevaka Badrappan eb425a281f ussd: Driver API changes
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Lucas De Marchi 74125ff5d4 Fix common misspellings in drivers
Fix common misspellings by using the list available at
http://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines

From the list cited above, the substitution script found the following
misspellings:

subsidary(-ies)->subsidiary(-ies)
transfering->transferring
2010-09-14 16:00:16 +09:00
Mika Liljeberg 74e4f9ee51 isimodem: implement Suspended property 2010-09-10 10:52:07 -05:00
Pekka Pessi c5d8bdeeb6 isimodem/ussd: use g_isi_send() 2010-09-02 07:52:11 +03:00
Pekka Pessi 9d4a232313 isimodem/gprs: use g_isi_send() 2010-09-02 07:52:07 +03:00
Aki Niemi 76fce49e49 Remove unnecessary alignment to 32bit boundary 2010-08-30 17:54:36 +03:00
Pekka Pessi 2778092b83 isimodem/gprs: fix attached_status response 2010-08-26 10:38:04 -05:00
Denis Kenzior ad8607994f modem: Be consistent when naming callback typedefs 2010-08-12 15:46:46 -05:00
Sjur Brændeland dde0a4ccb5 voicecall: Rename hangup to hangup_active 2010-08-12 11:32:12 -05:00
Marcel Holtmann 3d19a00cd7 Fix GPRS context IP configuration issue with ISI modems 2010-08-10 16:09:38 -04:00
Pekka Pessi 1b1691f235 Fix isimodem call forwarding. 2010-08-09 13:35:25 -05:00
Yang Gu c80432bfde Refactor ussd parser 2010-06-21 09:19:01 -05:00
Pekka Pessi 84d5303b06 isimodem: add set_online and post_online 2010-05-27 14:28:16 -05:00
Denis Kenzior a7d02fbf5c isimodem: More cleanup of bad style 2010-05-27 14:15:30 -05:00
Pekka Pessi 48041a0e60 Fixed style issues in isimodem voicecall. 2010-05-27 14:04:32 -05:00
Pekka Pessi 654c0ef73b Eliminated bool, true and false from isimodem. 2010-05-27 13:41:51 -05:00
Pessi Pekka (Nokia-D/Helsinki) 0318e194b3 isimodem: fix confusing log message 2010-05-26 00:07:30 +03:00
Pessi Pekka (Nokia-D/Helsinki) 9ec222fc94 isimodem: fix memory leak 2010-05-26 00:07:05 +03:00
Aki Niemi e1d5f09eb9 Fix minor style issues 2010-05-26 00:06:12 +03:00
Pessi Pekka (Nokia-D/Helsinki) abb642ce08 Add: support for EF_ICCID in isimodem. 2010-05-26 00:00:13 +03:00
Aki Niemi 0d8b86ed79 Add isimodem support for network time 2010-05-19 10:46:33 +03:00
Pekka Pessi d44444562b Make isimodem use linkstate directly 2010-05-17 13:52:13 +03:00
Pekka Pessi 2cda1a32da Use g_pn_netlink_by_modem() in isimodem driver 2010-05-17 13:44:56 +03:00
Aki Niemi 03b8229af9 Remove unused declaration 2010-05-15 10:44:40 +03:00
Aki Niemi 26f365e5bf Fix typo in comment 2010-05-15 10:42:13 +03:00
Aki Niemi aa5d3c1e7c Fix copy-paste typo 2010-05-15 10:35:44 +03:00
Aki Niemi f49c97b073 Add proper debug configuration to isimodem SMS 2010-05-15 10:23:24 +03:00
Aki Niemi 4c586ffc50 Add SCA query and setter to isimodem SMS driver 2010-05-15 10:23:03 +03:00
Aki Niemi e108530712 Add missing SIM codepoints 2010-05-15 10:19:28 +03:00
Aki Niemi 05fad46e38 Refactor isimodem CBS driver 2010-05-14 17:04:54 +03:00
Aki Niemi 6207f5bfce Fix CBS routing request failure reporting 2010-05-14 16:54:11 +03:00
Aki Niemi bca2cdffbc Add isimodem support for MO and MT SMS 2010-05-14 16:51:39 +03:00
Aki Niemi fb3773921f Add missing SMS ISI codepoints 2010-05-14 16:51:34 +03:00
Aki Niemi 41a21ac96b Fix typo in gprs driver 2010-04-27 23:21:48 +03:00
Aki Niemi b0222a79c3 Fix faulty logic in netreg driver
Also add missing tech param.
2010-04-27 23:21:48 +03:00
Aki Niemi c123a9b5ba Fix remove ops in isimodem drivers 2010-04-27 23:21:48 +03:00
Aki Niemi a03d11fec7 Fix style issues in isimodem 2010-04-27 23:21:48 +03:00
Aki Niemi 8b61fde2fb Add user authentication to gprs context driver 2010-04-20 17:47:17 +03:00
Pekka Pessi fa3501b8d2 Refactor isimodem and gisi/netlink
Now usbpnmodem plugin is used to register ISI modems.
2010-04-20 17:47:17 +03:00
Pekka Pessi 2dd6923dfa Add infoserver to isimodem
The info server provides information from the mobile station to the
ISI modem.  Currently it returns the Software Version Number (SVN)
that is used in mobile identification.
2010-04-20 17:47:16 +03:00
Pekka Pessi 2cc99fdaa6 Add SIM server state detection
Register isimodem SIM driver only when SIM server is ready. The best
way to find out that the server is truly ready is to read some data.
2010-04-20 17:47:16 +03:00
Pekka Pessi 540656ebfe Fix: s/bootsrap/bootstrap/ 2010-04-20 17:47:16 +03:00
Aki Niemi 144b30ac6d Add isimodem gprs context driver 2010-04-20 14:16:26 +03:00
Aki Niemi a7989b7cbb Add isimodem gprs driver 2010-04-20 14:16:18 +03:00
Aki Niemi f62f6076c1 Add PN_GPDS code points and debugging 2010-04-20 14:11:07 +03:00
Aki Niemi eefcdc9f44 Add SIM inserted notification
TODO: This is a temporary solution. Trigger the inserted notification
on actual SIM state changes instead.
2010-04-20 14:10:52 +03:00
Aki Niemi 0f1db581da Remove declaration of unused dump_msg() 2010-04-20 14:10:17 +03:00
Pekka Pessi ade674158c Fix: simplify isimodem call-barring driver.
Add support for lock codes AG and AC (MMI codes 333 and 353,
respectively). Use decimal MMI codes in <ss.h>.
2010-03-29 15:38:22 -05:00
Denis Kenzior 92beff2839 Update ISI radio settings driver to the new API 2010-03-25 10:43:17 -05:00
Aki Niemi d12e1a8b9e Add isimodem USSD implementation 2010-02-09 23:15:52 +02:00
Aki Niemi 7001e7b163 Add USSD codepoints and debugging 2010-02-09 22:50:38 +02:00
Aki Niemi dfab0764da Add isimodem radio settings driver 2010-02-04 23:43:18 +02:00
Aki Niemi bf6195f0c2 Add PN_GSS codepoints and debugging 2010-02-04 23:43:18 +02:00
Aki Niemi 0a28c46bf7 Fix debug dump and unknown codepoint handling 2010-02-02 22:39:33 +02:00
Aki Niemi 8fe8220b23 Refactor phonebook driver 2010-01-14 10:33:48 +02:00
Aki Niemi 65ce05d37a Refactor supplementary service drivers 2010-01-14 10:33:48 +02:00
Aki Niemi 5a1a5905d4 Refactor SIM driver 2010-01-14 10:33:47 +02:00
Aki Niemi e1548d2730 Refactor CBS driver 2010-01-14 10:32:57 +02:00
Aki Niemi 85df7a952a Clean up style issues 2010-01-14 10:32:56 +02:00
Aki Niemi 04a3c6cb09 Fix cell ID and LAC values 2010-01-14 10:31:13 +02:00
Denis Kenzior 67e5efe7b3 Style: Extraneous space 2010-01-12 17:54:38 -06:00
Denis Kenzior 1b07274de8 Style: space after function argument comma pair 2010-01-12 17:54:38 -06:00
Denis Kenzior 2cde0841aa Style: Should be a space after if 2010-01-12 17:54:37 -06:00
Denis Kenzior 9bed04ca2f Style: Trailing whitespace & extra lines 2010-01-12 17:54:37 -06:00
Aki Niemi 63c2dd93b0 Refactor devinfo driver 2010-01-11 10:52:07 +02:00
Aki Niemi 0c7a15b2bd Add support for modem control
This adds support to the PN_MTC server, allowing querying and control
of the modem power state.
2010-01-11 10:52:07 +02:00
Aki Niemi 862358b916 Refactor netreg driver 2010-01-11 10:51:01 +02:00
Aki Niemi b412c1b3e7 Refactor voicecall driver 2010-01-11 10:51:01 +02:00
Aki Niemi e55e324a94 Refactor phonebook driver 2010-01-11 10:51:01 +02:00
Aki Niemi d277e0eb73 User new debug facility 2010-01-11 10:51:01 +02:00
Aki Niemi 5f87037cc3 Include renamed files 2010-01-11 10:51:00 +02:00
Aki Niemi 0bc615eead Remove contact from boilerplate 2010-01-11 10:51:00 +02:00
Aki Niemi d0b3e3b211 Add debug implementation
Alsoo remove call specific debugs.
2010-01-11 10:51:00 +02:00
Aki Niemi c03cdaed9a Split ISI codepoints to separate files
Also, adding infrastructure for debugging ISI messages, with APIs for
turning most common fields into human readable string format.
2010-01-11 10:51:00 +02:00
Aki Niemi 06afe598f5 Split isi.h into isimodem.h and isiutil.h 2010-01-11 10:51:00 +02:00
Denis Kenzior d2b46cde6d Port isimodem to the new framework 2010-01-06 15:50:41 -06:00
Rémi Denis-Courmont bc6c4adcac gisi: pass object handle to g_isi_verify() callback
This will be needed for GPDS.
2009-12-18 15:59:17 +02:00
Denis Kenzior ee1e9d14bd Fix: Change the order of register & set_powered 2009-12-08 04:26:24 -06:00
Denis Kenzior 4d5eb77de5 Get rid of list_calls in isi driver 2009-12-04 16:52:30 -06:00
Denis Kenzior 89a4dc48d4 Update the isimodem driver to the new API 2009-10-29 15:29:55 -05:00
Aki Niemi 2a8159b21b Fix conditional statement 2009-10-16 14:02:27 +03:00
Aki Niemi 9ca602c283 Fix: restrict keyword use breaking distcheck 2009-10-16 11:26:15 +03:00
Pekka Pessi 86b6cd91c9 isimodem/voicecall.c: initial version
Implementing all the voicecall methods. Tested with Nokia 2008 modems.

 - problems in call creation are probably not reported properly
 - deflect not implemented in modem, not properly tested

TODO: Clean up style issues and align with other drivers.
2009-10-16 11:18:52 +03:00
Aki Niemi 74cc9cb4b7 Refactor sub-sub-block handling 2009-10-16 11:18:52 +03:00
Alexander Kanavin a781e3b1d9 Add isimodem drivers for call barring, forwarding and waiting 2009-10-14 22:05:13 +03:00
Pekka Pessi d1d870ba7a Refactor subblock iterators.
Always initialize iterators.

Try to avoid pointer arithmetics on NULL; in other words, move all pointer
arithmetics inside g_isi_sb_iter_init().

There are 4 different ways for representing sub blocks in ISI message:
- 8-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 8-bit sub_block_id/sub_block_len
- 8-bit sub_blocks count, 16-bit sub_block_id/sub_block_len
- 16-bit sub_blocks count, 16-bit sub_block_id/sub_block_len

The compact form g_isi_sb_iter_init() supports 8-bit sub_block count before
start of the sub blocks themselves and 8-bit sub_block_id and sub_block_len.
The full form g_isi_sb_iter_init_full() with explicit longhdr and sub_block
count supports all other cases.
2009-10-09 12:54:04 +03:00
Jukka Saunamaki 74c15989c9 Hack for reading EFSPN on isimodem sim driver
In the absence of low-level access to the SIM card, we're adding this
hack to expose the SPN using ISI's high-level access instead.
2009-10-07 14:45:46 +03:00
Denis Kenzior 12e77a3c70 Convert all the modem drivers to the new API 2009-09-17 10:15:34 -05:00
Aki Niemi 36198827ab Miscellaneous clean-ups 2009-09-16 23:37:23 +03:00
Aki Niemi 866c394882 Add proper bootstrapping to phonebook driver 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
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 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
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 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 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 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
Denis Kenzior 10d4c54c30 Change plugins to the new ofono_modem_create api 2009-09-02 17:39:23 -05:00
Denis Kenzior 58d0aa72b2 Rename isi drivers to isimodem
Be more consistent with directory naming
2009-09-01 22:35:14 -05:00
Denis Kenzior 7ff85d9737 populate should return void 2009-09-01 22:29:02 -05:00
Denis Kenzior 9caa606bcc Make remove functions not return anything 2009-09-01 22:27:08 -05:00
Denis Kenzior 422df0edfb change int vendor to unsigned int vendor 2009-09-01 21:39:02 -05:00
Denis Kenzior 4064f4ba73 Add vendor flag capability to voicecalls 2009-09-01 18:14:59 -05:00
Denis Kenzior e5577046f0 Add vendor flag capability to ussd 2009-09-01 18:14:58 -05:00
Denis Kenzior afb0e2b854 Add vendor flag capability to ssn 2009-09-01 18:14:58 -05:00
Denis Kenzior 8d380f8fa0 Add vendor flag capability for sms 2009-09-01 18:14:58 -05:00
Denis Kenzior aecf42646e Add vendor flag capability to sim 2009-09-01 18:14:58 -05:00
Denis Kenzior 1fb9ecca46 Add vendor flag capability to phonebook 2009-09-01 18:14:58 -05:00
Denis Kenzior 271b042488 Add vendor flag capability to netreg 2009-09-01 18:14:58 -05:00
Denis Kenzior c7d35dd039 Add vendor flag capability to devinfo 2009-09-01 18:14:58 -05:00
Denis Kenzior 933f803967 Add vendor flag to call-settings 2009-09-01 18:14:58 -05:00
Denis Kenzior 390bd82109 Add vendor parameter to call-meter 2009-09-01 18:14:57 -05:00
Denis Kenzior 7ee954b28a Add vendor flag to call-forwarding 2009-09-01 18:14:57 -05:00
Denis Kenzior 15b1a733b0 Introduce vendor parameter to call-barring 2009-09-01 18:14:57 -05:00
Aki Niemi 74782318bd Rename all files under drivers/isimodem/ 2009-08-25 14:04:42 +03:00
Marcel Holtmann 70aab2a826 Convert to fully non-recursive build system 2009-08-24 23:49:40 -07:00
Aki Niemi 70440bcd0b Add straw-man for rest of ISI modem driver 2009-08-24 15:47:17 +03:00
Aki Niemi bc71ac101f Fix typos 2009-08-24 13:14:52 +03:00
Aki Niemi 5562438c5c Fix memory leak in ISI phonebook driver 2009-08-23 23:16:46 +03:00
Aki Niemi 53e575bd5c Fix memory leak in isimodem.c 2009-08-22 18:00:58 +03:00
Aki Niemi 54a6cc6253 Move dump_msg() to isi.h as static inline 2009-08-22 15:37:34 +03:00
Denis Kenzior b3e6dd8e51 Update the isi driver to the new modem driver api 2009-08-21 19:25:51 -05:00
Aki Niemi 77aa9c9621 Enable multi-modem support
This patch enables concurrent use of multiple ISI modems, e.g., all
connected via USB using cdc_phonet.
2009-08-21 16:31:17 +03:00
Aki Niemi 70e69ac452 Enable multiple instances of phonebook driver 2009-08-21 16:30:13 +03:00
Aki Niemi f06c09d17a Enable multiple instances of devinfo driver 2009-08-21 16:29:34 +03:00
Aki Niemi 621d584b4d Move struct isi_data to private 2009-08-21 16:28:32 +03:00
Aki Niemi a42ec65274 Refactor isidevinfo
Remove storing of pending request objects to linked list;
g_isi_client_destroy() will clear those properly. Fix naming of enums,
and use DECLARE_SUCCESS() macro.
2009-08-21 10:16:42 +03:00
Aki Niemi a434d94169 Pass modem instance to phonebook driver 2009-08-21 10:06:40 +03:00
Denis Kenzior e0ff90e6da Rename ofono_modem_*_userdata
Rename ofono_modem_get_userdata to ofono_modem_get_data
Rename ofono_modem_set_userdata to ofono_modem_set_data

For consistency with other drivers
2009-08-20 18:19:21 -05:00
Denis Kenzior ba851568f5 Fix unused variable pbd 2009-08-20 15:39:12 -05:00
Denis Kenzior 92e373f1c2 Fix return with no value warning 2009-08-20 15:39:12 -05:00
Denis Kenzior fa330cafbd Fix a bunch of warnings about mixed signedness 2009-08-20 15:39:12 -05:00
Denis Kenzior 7560049829 Fix implicit declaration of ofono_phonebook_create 2009-08-20 15:39:12 -05:00
Denis Kenzior 8be715dbb1 Update ISI driver for new devinfo API 2009-08-20 13:04:07 -05:00
Rémi Denis-Courmont 5e2a1745fb Phonet: add modem parameter to ISI client API 2009-08-19 17:07:15 +03:00
Rémi Denis-Courmont 20f73898ec gisi: provide modem identifier through Netlink API 2009-08-19 17:07:15 +03:00
Denis Kenzior 320f4e1780 Port over ISI modem driver to the new API 2009-08-14 12:10:05 -05:00
Alexander Kanavin 2076a044ec Add ISI modem SIM phonebook support
This patch only provides access to the SIM phonebook. Note that the
interface to the SIM phonebook is quite slow, which may cause timeouts
on phonebooks with a large number of entries using the default D-Bus
timeout value.
2009-08-14 16:55:55 +03:00
Denis Kenzior cb75833fc8 Rename ofono_modem_userdata 2009-07-29 16:44:16 -05:00
Denis Kenzior 3d1dd9d452 Fix unused variable warning 2009-07-13 22:33:48 -05:00
Marcel Holtmann 6b7fb7c9f9 Fix printf compiler warning with size_t data type 2009-07-14 05:03:39 +02:00
Aki Niemi e56d92ce30 Fix isimodem segfault on modem removal
This fixes segfaults resulting either from destroying a NULL ISI
client, or when multiple ISI modems become available, and get removed
in the wrong order. To support multiple ISI modems concurrently, a
modem object needs to be exposed via the gisi API, and tracked by the
ISI driver. This is a TODO item to add.
2009-07-09 16:15:56 +03:00
Aki Niemi b3a166abea Fix error value to no error in success 2009-07-07 14:29:42 +03:00
Aki Niemi 5a09379263 Initialize to NULL 2009-07-07 14:18:11 +03:00
Aki Niemi 8411088d0c Add modem attribute retrieval
Refactor isimodem.c to add support for querying modem attributes over
the ISI protocol.
2009-07-07 13:24:40 +03:00