Commit Graph

6469 Commits

Author SHA1 Message Date
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
Denis Kenzior e4b284860e test: Add release-and-swap script 2012-08-05 23:34:52 -05:00
Denis Kenzior 3d57bf37d0 voicecall: Implement ReleaseAndSwap 2012-08-05 23:34:16 -05:00
Denis Kenzior 5863c56c3a doc: Add ReleaseAndSwap 2012-08-05 23:34:16 -05:00
Guillaume Zajac 9ca225f8e7 test: Add hangup-multiparty script for GCF testing 2012-08-03 09:56:34 -07:00
Denis Kenzior 9f7087aa1a build: add certification.txt 2012-08-02 16:00:01 -05:00
Denis Kenzior 88cdcc8600 doc: Add certification.txt 2012-08-02 15:44:51 -05:00
Guillaume Zajac 84ed53efd0 test: Add hold-and-answer script for GCF testing 2012-08-02 12:23:34 -07:00
Denis Kenzior 34b4e96adc doc: Another addendum to Interfaces docs 2012-07-28 05:16:22 -05:00
Denis Kenzior d211e124d6 doc: Further explain the Interfaces property 2012-07-28 05:11:50 -05:00
Philippe Nunes 8eefc22bb1 test: Remove test-ussd as it is redundant 2012-07-27 00:33:15 -05:00
Philippe Nunes 335b349423 test: Add send-ussd script
Simpler script that test-ussd that is still capable of replying to
network initiated USSD requests and USSD dialogs.
2012-07-27 00:30:57 -05:00
Philippe Nunes 9f3f5bce6f monitor-ofono: Fix to print non-English characters
The default encoding for a Python bytestring is ASCII. But the
SMS/USSD text is encoded in UTF-8.
This is why trying to convert non-English characters (Unicode
characters beyond 128) produces the error
"UnicodeEncodeError: 'ascii' codec can't encode character".
2012-07-27 00:23:52 -05:00
Denis Kenzior 96093579c6 doc: Add comments on valid phone number format 2012-07-25 09:16:59 -05:00
Denis Kenzior d7283e4ac6 doc: Expand description of various Hangup cases 2012-07-25 09:00:52 -05:00
Denis Kenzior 48672aee98 doc: Update Features property description 2012-07-25 08:50:24 -05:00
Marcel Holtmann 9037bfaea0 Release 1.9 2012-07-19 21:12:02 +02:00
Denis Kenzior 454a02a096 unit: Simplify previous commit 2012-07-17 14:28:31 -05:00
Guillaume Zajac 23a0d8ad55 unit: Update test_invalid() unit test 2012-07-17 14:25:45 -05:00
Denis Kenzior 416c1937c9 util: Style issues 2012-07-16 22:51:43 -05:00
Denis Kenzior bce1879c1b util: update comment from previous commit
Cite the specification verbatim
2012-07-16 22:51:20 -05:00
Denis Kenzior 5023fe8568 doc: Remove duplicate error entry 2012-07-16 22:50:34 -05:00
Guillaume Zajac 1710be9c89 util: Fix GSM to UTF8 conversion mechanism 2012-07-16 22:41:34 -05:00
Guillaume Zajac 05b8fe4794 gprs: Call detach_shutdown when network is lost 2012-07-15 20:05:23 -05:00