Commit Graph

5051 Commits

Author SHA1 Message Date
Gustavo F. Padovan df3d0d8365 bluetooth: change how we report DBus errors 2011-02-17 16:02:03 -08:00
Gustavo F. Padovan a0dce4c015 bluetooth: add a bluetoothd connect watch
This fix a issue with sending DBus messages when bluetoothd is not up yet.
2011-02-17 16:00:00 -08:00
Gustavo F. Padovan e7f8041acd bluetooth: move find_adapter_cb to better place. 2011-02-17 15:59:45 -08:00
Andrzej Zaborowski f7d4643cc5 stk: Partially handle Refresh command
Only the four "NAA initialisation" modes are handled at the moment.
2011-02-17 15:16:34 -06:00
Denis Kenzior 7f43fc0f69 cbs: Set topics on EFcbmid change only if powered 2011-02-17 15:09:17 -06:00
Andrzej Zaborowski 9e640a246a cbs: Watch for changes to relevant SIM files 2011-02-17 15:09:17 -06:00
Andrzej Zaborowski 1d38e7e075 network: Watch for changes to relevant SIM files 2011-02-17 15:09:16 -06:00
Andrzej Zaborowski 85644e913b voicecall: Watch for changes to relevant SIM files 2011-02-17 15:09:16 -06:00
Denis Kenzior ad181b690b sim: Tweak the behavior of sim_refresh slightly
Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly.  It is the only one interested in this
particular change.

This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski 131d86a2f9 sim: Implement basic Refresh 2011-02-17 15:09:16 -06:00
Andrzej Zaborowski 5815d9547c modem.c: Handle SIM Resets
The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing.  We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.
2011-02-17 15:09:16 -06:00
Marcel Holtmann 72ad6ccd40 Release 0.43 2011-02-17 11:55:30 -08:00
Guillaume Zajac 205d40db82 test-server: Fix crash when remote disconnects
If the remote side kills the connection when PPP is established, we
should not try to resume the AT server.
2011-02-17 11:30:47 -06:00
Frédéric Danis afe16ba22a emulator: always create emulators in offline state
this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state
2011-02-17 11:25:27 -06:00
Frédéric Danis de02942e77 bluetooth: remove unneeded g_io_channel_shutdown 2011-02-17 11:15:48 -06:00
Denis Kenzior ba8000cadf hfp_ag: Minor style fix 2011-02-17 10:07:52 -06:00
Frédéric Dalleau 612fb11e16 hfp_ag: Do not close client fd on unref 2011-02-17 10:07:52 -06:00
Frédéric Dalleau 13cff03373 emulator: unref GIOChannel after creation 2011-02-17 10:07:52 -06:00
Martin Xu 61d1ff6b50 udev: set Huawei EM770W modem device to 00
Device 00 is ppp port. Setting it as 01, my Huawei EM770W modem PPP
connection can't work
2011-02-16 18:14:58 -08:00
Denis Kenzior 36056ddb38 gsmdial: Fix minor style quirk 2011-02-16 15:45:39 -06:00
Gustavo F. Padovan c57c78062e gsmdial: add option for Bluetooth DUN dialing 2011-02-16 15:45:34 -06:00
Martin Xu 694589f51d PPP: Use default ACCM (0xffffffff) to trasmit
Using my Huawei EM770W modem, if set ACCM as 0x00000000, RXJ-
event breaks PPP link, after IP package transmit for a while.
Using default ACCM, the issue can be fixed.
I tested it at China Unicom networks.
2011-02-16 12:01:39 -06:00
Philippe Nunes cd0ba48194 TODO: Add STK class 'e' tasks 2011-02-16 12:00:12 -06:00
Amit Mendapara 163e98ac06 linktop: power up the modem in 'offline' state 2011-02-16 11:57:58 -06:00
Frédéric Danis 150d27d698 bluetooth: rename hfp.c in hpf_hf.c 2011-02-16 11:56:58 -06:00
Denis Kenzior e699b3dbe8 AUTHORS: Mention Jan's contributions 2011-02-16 09:47:33 -06:00
Jan Luebbe 14941e11b6 ofono.rules: add ID for Sierra Wireless MC8790 2011-02-16 09:47:08 -06:00
Denis Kenzior dcc02c82a3 AUTHORS: Mention Paavo's contributions 2011-02-16 09:10:12 -06:00
Paavo Leinonen b3cd0b866b test: fix parameter type error
in 'test-advice-of-charge'-script
2011-02-16 09:09:46 -06:00
Jessica Nilsson beb72c921d isimodem: Add MCE code points
Updates required for wgmodem2.5.
2011-02-16 13:11:04 +02:00
Denis Kenzior 4406da382c devinfo: Handle BT DUN +GMI/+GMM/+GMR commands 2011-02-16 00:23:44 -06:00
Frédéric Danis 1bd752eb12 hfp_ag: Create emulator with type HFP_AG 2011-02-16 00:23:44 -06:00
Frédéric Danis 421c55bdac emulator: Handle multiple emulator types 2011-02-16 00:23:44 -06:00
Frédéric Danis b5969360d7 emulator: add HFP emulator type 2011-02-16 00:23:44 -06:00
Denis Kenzior de98d0b8bd dun_gw: Reformat SDP record 2011-02-16 00:23:44 -06:00
Gustavo F. Padovan 327d9f3c90 dun_gw: Add DUN server plugin for oFono
DUN server is probed when modem state changes to online. It registers
DUN record to Bluetooth adapter and wait for incoming DUN connection.

Based on a patch from Zhenhua Zhang <zhenhua.zhang@intel.com>
2011-02-16 00:23:44 -06:00
Denis Kenzior 376a72bdc0 hfp_ag: Reformat SDP record 2011-02-16 00:23:44 -06:00
Frédéric Danis 4a75e91c09 bluetooth: add HFP AG plugin 2011-02-16 00:23:44 -06:00
Denis Kenzior 0fed733e9b emulator: Initial public API implementation 2011-02-16 00:23:44 -06:00
Denis Kenzior 2394a87cc4 emulator: Add additional APIs 2011-02-16 00:23:44 -06:00
Denis Kenzior 6eeaacc706 gatserver: Be more const correct 2011-02-16 00:23:44 -06:00
Andrzej Zaborowski db7a5a8171 Makefile: rerun genbuiltin on reconfigure.
Make builtin.h depend on config.status to force regeneration when
plugins may have been enabled or disabled.  There may be a better
way to do that.  The dependency on builtin_sources is not needed.
2011-02-15 15:43:42 -08:00
Denis Kenzior 55d54e377a test-server: Fix a few more occurrences 2011-02-15 16:05:02 -06:00
Denis Kenzior 1ded74f2df emulator: Add basic API for emulator 2011-02-15 15:47:32 -06:00
Denis Kenzior a6f910e27c gatserver: Change callback signature
Provide the originating GAtServer to the callback
2011-02-15 15:47:32 -06:00
Denis Kenzior a0cca0a970 gatserver: extend D with GSM/UMTS specifics 2011-02-15 15:47:32 -06:00
Denis Kenzior 5da299ad34 test-server: Behavior to match previous commit 2011-02-15 15:47:32 -06:00
Denis Kenzior 61b30c025d gatserver: Don't bother reporting command prefixes
The command line parser knows where the actual command line parameters
begin, so there's no need to make the callback skip the prefix and the
additional separator characters.
2011-02-15 15:47:32 -06:00
Andrzej Zaborowski 7d63b41ca5 configure: Check for bluez >= 4.30.
Earlier versions lack struct sockaddr_l2::l2_cid and/or
struct bt_security.
2011-02-15 12:57:01 -08:00
Denis Kenzior 817c1e2a34 AUTHORS: Mention Frédéric's contributions 2011-02-15 13:22:35 -06:00