Commit Graph

6492 Commits

Author SHA1 Message Date
Philippe Nunes 0ee9b5af78 call-barring: SS query is made with given cls
The default class is applied in the query form when no class is
specified in the SS code.
2012-09-05 15:03:38 -05:00
Philippe Nunes 1bb7222d83 call-forwarding: SS query is made with given cls
GCF test cases 31.2.1.6.1/2 are asking to make a query according a
specific class. The default class is applied in the query form when
no class is specified in the SS code.
2012-09-05 15:00:14 -05:00
Philippe Nunes 20138aed75 voicecall: Accept long phone number format for STK 2012-09-05 14:25:57 -05:00
Denis Kenzior b7e92a714b doc: Add a few BT-related clarifications
The 'Name' and 'Serial' property take on slightly different meanings in
the case of Bluetooth devices (e.g. HFP).  Update the documentation to
reflect that.
2012-09-04 22:03:14 -05:00
Daniel Wagner ef7a4bc3a7 gatchat: Print error message if opening tun failes
This is a very common mistake. Let's help the users to
configure their system correctly.
2012-08-30 17:06:09 -05:00
Denis Kenzior 50d6f2c607 stk: Fix comment style 2012-08-30 17:01:36 -05:00
Philippe Nunes 0a9a566065 stk: Ask for immediate digit response as required
This is done by using the stk_agent_request_quick_digit function
introduced in the previous commit.
2012-08-30 16:55:36 -05:00
Philippe Nunes e5f2701e50 stkagent: Add stk_agent_get_quick_digit
This function calls the newly added RequestQuickDigit method on the
StkAgent interface.
2012-08-30 16:54:54 -05:00
Philippe Nunes a4870c760e doc: Add RequestQuickDigit method to StkAgent
Add new STK Agent API to get digit response on single key press
2012-08-30 16:50:42 -05:00
Philippe Nunes 3ac780fee7 stk: Check if an agent is registered when UI is required
In case of unsolicited proactive command, we could have a crash
when no agent was registered.
2012-08-30 16:47:20 -05:00
Philippe Nunes ec6269e59b stk: Display action information while sending USSD 2012-08-30 16:36:49 -05:00
Christopher Vogl 03c4ccfd59 telit: enable extended sim status notification
Use AT#QSS=2 instead of AT#QSS=1 to get an URC when the SIM is not only
inserted but also when PIN is unlocked and when SMS + phonebook are
ready to be used.

Disable sim state notification in telit_enable() so that we sure get a
notification when we enable it later again. This way we don't have to
query the state the first time. Without this the Telit modem does not
always send an URC when AT#QSS=2 is sent.

Remove sim_inserted_source and sim_inserted_timeout_cb which are not
needed anymore as a consequence.
By the way the 1 second timeout was an ugly hack.

Don't query current SIM status in cfun_enable_cb() as the SIM is
disabled due to prior AT+CFUN=4.

Register '#QSS:' before enabling sim state notifications.

Remove telit_qss_cb() which was used as a callback for querying the
current SIM status.

Move sms atom creation into switch_sim_state_status() and add creation
of phonebook atom. These are created when QSS: 3 is received.
2012-08-30 09:45:27 -05:00
Christopher Vogl f94d112d2c telit: Avoid resetting the SIM
Avoid a reset  when switching between online and offline (airplane)
mode in telit_set_online(). +CFUN accepts a second parameter (0), which
disables a reset: AT+CFUN=x,0.
2012-08-30 09:45:27 -05:00
Jaganath Kanakkassery c1cea66a5e gdbus: Fix compilation error if macro "error" is defined
The variable "signature" used in error is not defined and "args" is now
a struct instead of a string.
2012-08-27 17:28:42 -07:00
Christopher Vogl 90c7bdfc8d sim: return from CPIN when SIM unlocked for telit
Only return from CPIN when the modem informs that the SIM is ready
2012-08-22 18:44:18 -05:00
Philippe Nunes c7b359ae98 call-settings: Improve error reporting
Report error based on the error reported by the driver.
2012-08-22 18:18:05 -05:00
Philippe Nunes 2638408135 call-barring: Improve error reporting
Report error based on the error reported by the driver.
2012-08-22 18:17:35 -05:00
Philippe Nunes 666da0ea53 call-forwarding: improve error reporting
Report error based on the error reported by the driver.
2012-08-22 18:16:15 -05:00
Christopher Vogl 92cb2fd045 telit: disable auto attach procedures with AUTOATT 2012-08-21 14:34:31 -05:00
Denis Kenzior c7e123530b telit: Fix warning
plugins/telit.c: In function ‘rsen_disable_cb’:
plugins/telit.c:446:21: error: unused variable ‘data’
2012-08-20 08:10:27 -05:00
Christopher Vogl 0d724c7a34 telit: add additional port for data connection
Use MDM port for data service and AUX for the AT chat.
Disable DCD so that the modem does not hangup after a data connection.
2012-08-20 08:09:53 -05:00
Christopher Vogl 71cf14d5b1 udevng: rename aux port from Data to Aux for telit
Telit software user guide says:
USB AUX doesn't support any flow control method. Therefore, this port
isn't suitable for DATA service port.
We recommend this port should be used only for AT command and URC
processing.
2012-08-20 08:08:25 -05:00
Daniel Wagner 4c562fb401 dundee: Add missing SetProperty documenation 2012-08-17 14:59:50 +02:00
Gustavo Padovan e0b793af8a dundee: disconnect bluetooth link in case dial fails
If the ATD*99# dial fails for some reason, NO CARRIER, for example, we
need to disconnect the bluetooth link and do further clean up on
disconnect_callback().
2012-08-17 14:59:50 +02:00
Gustavo Padovan 371b886bab dundee: explicit shutdown the bluetooth file descriptor
If we do not shut it down the fd can remain opened. This make impossible
to try a re-connect: busy is returned in this case.

We call shutdown here to make sure that the link is always closed.
2012-08-17 14:59:50 +02:00
Gustavo Padovan 8181ee6b95 dundee: add timeout to close stalled ppp handshake
If something goes wrong the PPP handshake can stall, then we just add a
timer to return an error after a certain timeout (15 seconds).
2012-08-17 14:59:50 +02:00
Denis Kenzior 8112a025b9 mbm: Fix crash from processing multiple *EMRDY
Sometimes we see the *EMRDY notification before we query, and trigger
initialization procedures twice.
2012-08-16 11:39:22 -05:00
Denis Kenzior cdb3de4d03 mbm: Remove spurious ';' 2012-08-16 11:20:45 -05:00
Christopher Vogl 1c6f585555 telit: pass vendor at sim atom creation 2012-08-16 01:16:16 -05:00
Denis Kenzior 8c18295350 telit: Fix 80 character per line violation 2012-08-16 01:15:39 -05:00
Christopher Vogl e6905e003f telit: move gprs atom into post sim phase 2012-08-16 01:12:48 -05:00
August Mayer 4293e4ea63 gprs: data bearer for telit with PSNT
Telit neither supports '+CPSB' nor reports the data bearer through
'+CGREG'. It has its own +PSNT command.
2012-08-16 01:10:56 -05:00
Denis Kenzior b264440737 sim: Minor formatting nitpicks 2012-08-16 01:05:54 -05:00
Denis Kenzior aec21db6cb sim: Fix warning
drivers/atmodem/sim.c: In function ‘at_pct_cb’:
drivers/atmodem/sim.c:872:2: error: ISO C90 forbids mixed declarations
and code
2012-08-16 01:05:46 -05:00
Denis Kenzior d3cd6ca802 AUTHORS: Mention August's contributions 2012-08-16 01:00:57 -05:00
August Mayer ee8ba6f2ff sim: support PIN retry counters for telit modems 2012-08-16 01:00:28 -05:00
August Mayer 22c0738981 sim: implement function to get password type 2012-08-16 00:59:18 -05:00
August Mayer 687f830c21 sim: add function to get password type 2012-08-16 00:58:56 -05:00
Denis Kenzior 111c1a2873 unit: Add a unit test for empty sim strings 2012-08-16 00:49:45 -05:00
Denis Kenzior 54de04a828 util: Make sure to handle special empty strings
Some SIMs contain an EFspn with the contents all set to 'filler'
characters, e.g. 0xFF.  We mistakenly do not handle these strings
correctly.

Aug  8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: >
AT+CRSM=176,28486,0,0,17\r
Aug  8 11:40:00 mx31tt01 daemon.info ofonod[622]: Aux: < \r\n+CRSM:
144,0,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF\r\n\r\nOK\r\n
Aug  8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90, 00, 17
Aug  8 11:40:00 mx31tt01 daemon.debug ofonod[622]:
src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff: 0, tocopy: 17
Aug  8 11:40:00 mx31tt01 daemon.err ofonod[622]: EFspn read
successfully, but couldn't parse
2012-08-16 00:47:59 -05:00
Christopher Vogl df05259e90 gprs: fix bearer dbus signal interface
According to the documentation the data bearer property should be
located on interface org.ofono.ConnectionManager.
2012-08-13 09:48:50 -05:00
Christopher Vogl 76ccb73063 gprs-context: print reason for ppp disconnect 2012-08-13 08:38:30 -05:00
Mikel Astiz 3d81d412b1 doc: Trivial whitespace fixes
Always use tabs instead of spaces for indentation in documentation
files.
2012-08-13 07:45:12 -07:00
Marcel Holtmann 5f1cb3690b test: Fix printing of modem property strings 2012-08-09 10:28:27 -07:00
Denis Kenzior 2d2075c9ae test: Remove test-voicecall script
This is no longer useful as phonesim does not automatically transition
dialing calls to active state.
2012-08-07 02:25:01 -05:00
Denis Kenzior 46d180e9a3 test: Add support for CSSI/CSSU notifications 2012-08-07 01:31:12 -05:00
Denis Kenzior 97917c8f69 test: Fix weird formatting mis-matches 2012-08-07 01:31:12 -05:00
Denis Kenzior 8f2237dd78 test: Remove redundant code from monitor-ofono 2012-08-07 01:31:12 -05:00
Marcel Holtmann 5df67b2ec6 Release 1.10 2012-08-06 23:15:26 -07:00
Guillaume Zajac 873df548f6 test: Add hangup-call script for GCF testing 2012-08-06 08:52:23 -07:00