Commit Graph

68 Commits

Author SHA1 Message Date
Denis Kenzior 910ec60927 phonesim: Fixup whitespace 2014-03-27 09:51:49 -05:00
Jussi Pakkanen 5f76525961 phonesim: Add conf file override
OFONO_PHONESIM_CONFIG allows the configuration file location to be
overriden from the default $CONFIGDIR/phonesim.conf (typically /etc)
2014-03-27 09:51:49 -05:00
Denis Kenzior d6af339c99 git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
Krzysztof Wilk 9d847687eb phonesim: Enable Siri atom 2013-12-18 00:07:47 -06:00
Paulo Borges f1e29338ba phonesim: Include hfp.h 2013-04-18 08:42:28 -05:00
Denis Kenzior 8bd6b7c6c5 phonesim: Add support for SIM hotswap 2013-01-01 23:16:05 -06:00
Denis Kenzior 8e882b75a0 phonesim: Add handsfree atom to localhfp 2011-10-21 13:57:13 -05:00
Marcel Holtmann c867c9f9bf plugins: Update copyright information 2011-10-10 13:39:54 -07:00
Denis Kenzior 9fb9d2385c sim-poll: Remove unused code 2011-08-14 22:56:45 -05:00
Marcel Holtmann dc65e2d3c1 phonesim: Fix minor whitespace mistakes 2011-08-09 16:50:30 -07:00
Frédéric Danis b8730eb47d hfpmodem: fix hf features
check audio gateway version and only set right features
2011-08-08 10:16:21 -05:00
Denis Kenzior abcd29b5cf phonesim: Implement 'local' hfp driver 2011-07-21 03:49:27 -05:00
Frédéric Danis 4129f1a05a phonesim: add support of +CBC
PTS test TP/PSI/BV-03-I [Transfer Battery Level Indication] needs to
change battery level and check that the battery level indication is
received at the HF.
So add support for +CBC in phonesim plugin, and force update of the
battery indicator on HFP AG Emulator registration.
2011-07-08 13:24:21 -05:00
Denis Kenzior 9c8451a1b8 phonesim: Create atoms in a different order
This uncovers a valgrind condition:

==17231== Invalid read of size 8
==17231==    at 0x4A2461: gprs_context_unregister (gprs.c:2143)
==17231==    by 0x46FEB0: __ofono_atom_unregister (modem.c:260)
==17231==    by 0x4703C9: modem_change_state (modem.c:407)
==17231==    by 0x470664: set_powered (modem.c:848)
==17231==    by 0x4706BA: __ofono_modem_shutdown (modem.c:2137)
2011-05-11 12:11:19 -05:00
Olivier Guiter 7f3985b53e gnss: fix broken build 2011-03-29 10:04:04 -05:00
Denis Kenzior 11bd671722 phonesim: add gnss support 2011-03-28 18:06:59 -05:00
Denis Kenzior 8c601d48fb phonesim: Add support for ipv6 / dual contexts 2011-03-15 17:14:26 -05:00
Mika Liljeberg 1129cc59c2 phonesim: add IPv6 support 2011-03-15 17:11:59 -05:00
Andras Domokos 4a36b93d6a ssn: remove SSN atom completely 2011-03-11 13:08:51 -06:00
Jeevaka Badrappan 8c667aadad plugins: remove NULL check 2011-01-29 18:39:37 +01:00
Denis Kenzior 6d48fe7a05 phonesim: Move sms atom to post_sim state 2011-01-28 20:28:36 -06:00
Jeevaka Badrappan 9f61b81965 phonesim: Move call forwarding to post sim 2010-12-17 17:04:04 -06:00
Gustavo F. Padovan b7cfbff47d phonesim: Add modem reset trigger 2010-12-07 12:16:20 -06:00
Lucas De Marchi 67f78f680d plugins: 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 12:55:49 -06:00
Lucas De Marchi 62781988e2 phonesim: implement ctm atom 2010-11-29 10:38:58 -06:00
Marcel Holtmann 4acf7cfbea phonesim: Fix missing return from plugin init 2010-10-25 23:14:05 +02:00
Marcel Holtmann ef4d2fb322 phonesim: Register modem driver before creating modems 2010-10-25 22:33:18 +02:00
Denis Kenzior de3c0d6247 phonesim: Support multiple contexts 2010-10-25 14:45:12 -05:00
Denis Kenzior eb0557ff9b phonesim: Enable dummy phonesim contexts 2010-10-25 14:45:12 -05:00
Marcel Holtmann 7c2529077c phonesim: Don't use modem.conf for phonesim modems 2010-10-25 20:12:32 +02:00
Marcel Holtmann 93f7bca25f phonesim: Add missing ATE0 when in multiplexer mode 2010-10-19 20:42:29 +02:00
Marcel Holtmann 96c04a744b phonesim: Fix multiplexer setup handling and modem power 2010-10-19 18:50:52 +02:00
Denis Kenzior c1eb40e979 phonesim: minor whitespace fix 2010-10-14 01:07:44 -05:00
Jeevaka Badrappan 0d809cd636 phonesim: set character set to GSM 2010-09-15 13:56:59 -05:00
Denis Kenzior bb3df7a66d phonesim: Move the stk atom to post_sim state 2010-09-02 10:45:01 -05:00
Denis Kenzior 47253998be phonesim: Should use none_prefix
When only OK is expected
2010-08-16 21:29:19 -05:00
Denis Kenzior 3b34dd44f1 phonesim: Support set_online/post_online 2010-08-12 15:53:59 -05:00
Andrzej Zaborowski 303394910f phonesim: Don't use VENDOR_PHONESIM for calypso
Also move the STK initialisation to post-sim because it is more logical
there (even if it makes no difference under phonesim).
2010-08-06 11:53:27 -05:00
Yang Gu ce24e7b2c8 Use specific vendor for phonesim stk 2010-07-13 09:55:06 -05:00
Denis Kenzior 244ea076cc Fix: Remove easy uses of g_at_chat_shutdown 2010-04-28 17:27:33 -05:00
Denis Kenzior 92cb776fae phonesim: Disable polling in phonesim for now
Seems that polling support in phonesim is less than working
2010-04-20 09:12:43 -05:00
Denis Kenzior cc0ffd1720 Rename ofono_atmodem_poll_enable
This is not official oFono API
2010-04-15 16:49:43 -05:00
Andrzej Zaborowski 14bcca32c0 Implement STATUS polling in atmodem driver. 2010-04-15 16:49:43 -05:00
Andrzej Zaborowski b34c35d822 Add AT driver for STK atom. 2010-04-15 16:49:42 -05:00
Andrzej Zaborowski ddfe8acf11 Drivers can notify core of SIM insertion / removal
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.

Make every plugin generate a sim inserted event on start.  For devices
with removable card, the event should be emitted after the
plugin detects such event.  For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Denis Kenzior 8b33129bac Add phonesim vendor quirk 2010-03-26 23:00:28 -05:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Denis Kenzior 57512ad924 Style: Repeat for plugins 2009-12-17 21:45:39 -06:00
Denis Kenzior 37384ddb9c Fix: Make Calypso handling a bit better 2009-11-26 07:44:25 -06:00
Denis Kenzior 4c64f30438 Fix: Try sending AT<CR>
Sometimes <CR> doesn't work
2009-11-23 19:55:16 -06:00