Commit Graph

5399 Commits

Author SHA1 Message Date
Denis Kenzior 9ff1b9f2c5 emulator: Don't try to release in case of error 2011-06-01 21:50:02 -05:00
Frédéric Danis b230549b43 voicecall: save last dialed number 2011-06-01 20:26:41 -05:00
Frédéric Danis 3b12d765bb voicecall: create generic dial function
split manager_dial between generic and dbus parts
2011-06-01 19:34:07 -05:00
Denis Kenzior cdb98a70d0 stk: Cancel pending DTMF tones if session is ended
The Send DTMF command is special in its use of DisplayAction method of
STK agent.  This allows the user to send a 'User Terminated Session'
response to the SIM.  If the user performs this action, then any pending
DTMFs should also be canceled as soon as possible.
2011-05-31 23:31:41 -05:00
Philippe Nunes 4c2d897614 stk: simplify respond_on_exit flag handling
respond_on_exit flag is set by commands which are dispatched to the
agent, so that if the agent exits prematurely, a 'User Terminated
Session' response is sent to the SIM.

There were a couple of corner cases not quite handled correctly:

- During Set Up Call, if the user confirmation phase succeeded and the
  call was dispatched to voicecall atom successfully, and the agent
  exited at this point, then no terminal response would be sent until
  the call succeeded / failed.  Now the agent termination results in an
  'User Terminated Session' response being sent immediately, but the
  call setup proceeding.
2011-05-31 18:43:04 -05:00
Nicolas Bertrand 9909fe981d TODO: set owner of call forwarding state handling 2011-05-31 11:47:31 -05:00
Denis Kenzior d99ca1779a bluetooth: Initialize GError properly 2011-05-31 11:41:42 -05:00
Denis Kenzior d80698f25d netreg: Remove unused variable 2011-05-31 11:32:56 -05:00
Marcel Holtmann e861d1369a smsutil: Mark variable properly as unused 2011-05-29 11:55:48 -07:00
Marcel Holtmann 3763930ff8 Release 0.49 2011-05-28 17:44:22 -07:00
Denis Kenzior 551f53fa29 emulator: Fix make distcheck 2011-05-25 10:01:16 -05:00
Marcel Holtmann 9506b203e5 btio: Add workaround for not defined BT_FLUSHABLE 2011-05-27 10:21:47 -07:00
Johan Hedberg 7414d16a24 btio: Fix unused variable warning 2011-05-27 10:14:09 -07:00
Anderson Briglia ce861145f0 btio: Fix compilation warning
This patch fixes a compilation warning regarding btio/btio.c. Actually
this warning seems a false positive by Ubuntu Natty GCC version. A new
bug on Ubuntu bug system was opened but if you do not want to wait until
it is analyzed, just apply this minor fix.

btio/btio.c: In function 'bt_io_get':
btio/btio.c:803:11: warning: 'flushable' may be used uninitialized in
this function
2011-05-27 10:13:53 -07:00
Johan Hedberg 478e0ec81a btio: Add BT_FLUSHABLE support to BtIO
This patch adds support for the BT_FLUSHABLE L2CAP socket option through
BtIO. This can be used to mark data from specific L2CAP sockets to have
the flushable flag set in their corresponding ACL packets.
2011-05-27 10:13:32 -07:00
Luiz Augusto von Dentz 8a77254921 btio: Fix error message when getting SCO connection handle
Error message should indicate the transport correctly which is SCO
not RFCOMM.
2011-05-27 10:12:57 -07:00
Marcel Holtmann efebdc4ca5 bluetooth: Remove usage of unused variable 2011-05-27 10:10:04 -07:00
Marcel Holtmann caf1071364 sierra: Remove usage of unused gprs variable 2011-05-27 10:08:59 -07:00
Marcel Holtmann 9245f6850f huawei: Remove usage of unused netreg variable 2011-05-27 10:08:16 -07:00
Marcel Holtmann 4c11468094 gisi: Remove unused code for PN netlink address handling 2011-05-27 10:06:10 -07:00
Marcel Holtmann ebb82bee81 tools: Fix missing handling of signalfd read results 2011-05-27 10:01:30 -07:00
Marcel Holtmann b4879d72d8 tools: Fix unused variable for Huawei audio settings 2011-05-27 10:00:08 -07:00
Szymon Janc ecd56f7a07 gdbus: Remove unused result variable from g_dbus_pending_success 2011-05-27 09:53:38 -07:00
Marcel Holtmann 3297a3e865 gatchat: Fix unused variable cases 2011-05-27 09:52:31 -07:00
Marcel Holtmann f13bedd9dc smsutil: Fix missing error handling for strtol function 2011-05-27 09:48:45 -07:00
Denis Kenzior bc52e40801 gsmdial: Send escape sequence followed by ATH/ATO
This functionality can be triggered by sending SIGUSR1 / SIGUSR2 to
gsmdial.  e.g. kill -10 <pid> and kill -12 <pid>
2011-05-25 05:32:05 -05:00
Denis Kenzior 92e0657eed ppp_net: Keep valgrind happy 2011-05-25 05:30:38 -05:00
Denis Kenzior afce582246 gathdlc: Fix memory leak 2011-05-25 05:30:17 -05:00
Denis Kenzior e244e2d42a gatppp: Set the suspend function in open / listen
In case it was set before calling these functions
2011-05-25 05:22:58 -05:00
Denis Kenzior 4f7027de6f emulator: Reflow ato implementation logic 2011-05-25 04:54:41 -05:00
Guillaume Zajac a65cc631ea emulator: add ATO implementation 2011-05-25 04:52:53 -05:00
Denis Kenzior 375a32e1f3 emulator: Make sure to cleanup on forceful exit 2011-05-24 13:45:36 -05:00
Denis Kenzior 4f7a2c06fd emulator: simplify ath callback 2011-05-24 13:45:26 -05:00
Denis Kenzior 9bcce86ade examples: Add a simple private-network driver 2011-05-24 13:20:31 -05:00
Denis Kenzior 00c49a5ad7 include: Declare typedef as a function pointer 2011-05-24 13:20:18 -05:00
Denis Kenzior 42bed7b16a emulator: Update to the new GAtPPP API 2011-05-24 12:34:32 -05:00
Denis Kenzior 1bd4f75ac0 test-server: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 6d5b7d0bff cdmamodem: Update to the new GAtPPP API 2011-05-24 12:25:08 -05:00
Denis Kenzior 17deacbfff atmodem: Update to new GAtPPP api 2011-05-24 12:25:08 -05:00
Denis Kenzior 0c4a0e61b6 gsmdial: Update to new API 2011-05-24 12:25:07 -05:00
Denis Kenzior eeb3ccc321 gatppp: Refactor PPP API
Remove the series of constructors which take a GIOChannel directly.
These weren't used.

This change also allows the construction of the PPP object and filling
in various pertinent information without starting the HDLC processing.
The client must now use g_at_ppp_open() for the client side or
g_at_ppp_listen() for the server side to start the true PPP session.
The previous owner of the GAtIO object must be suspended beforehand.
2011-05-24 12:25:07 -05:00
Denis Kenzior 72dee45005 gatppp: Make sure to clean up guard_timeout_source 2011-05-24 12:25:07 -05:00
Denis Kenzior d82c5ce1fa gatppp: Rename guard_timeout_src to _source 2011-05-24 12:25:07 -05:00
Guillaume Zajac db430aaf1c gatppp: Do not call disconnect func if suspended 2011-05-24 12:25:07 -05:00
Guillaume Zajac ab027e9e9c gatppp: Add GAtPPP suspend API 2011-05-24 12:25:07 -05:00
Guillaume Zajac 7617c492b8 gatppp: Add GAtPPP resume functionality 2011-05-24 12:25:07 -05:00
Guillaume Zajac 47f5887c29 ppp_net: add ppp_net_resume_interface() API 2011-05-24 12:25:07 -05:00
Denis Kenzior 6f6a9747f8 gathdlc: Squash unneeded function 2011-05-24 12:25:07 -05:00
Guillaume Zajac ce71d75675 gathdlc: add g_at_hdlc_resume() API 2011-05-24 12:25:07 -05:00
Denis Kenzior a8e58a5f39 emulator: Send a NO CARRIER where appropriate 2011-05-24 12:11:01 -05:00