Denis Kenzior
b274e74102
netreg: Remove netreg atom in case init fails
2012-09-11 23:21:48 -05:00
Denis Kenzior
bb0f308223
netreg: Don't register for CIEV twice
2012-09-11 23:20:53 -05:00
Christopher Vogl
edbf04cded
netreg: Add telit version for ciev notification
2012-09-11 23:16:32 -05:00
Christopher Vogl
b87619a43a
netreg: Query and select supported CMER modes
2012-09-11 22:54:43 -05:00
Denis Kenzior
2dac10e1cb
sms: Optimize behavior of previous commit
...
The previous commit fixed the bug, however performing a linear-search
through the entire tx-queue is quite wasteful. The current usage
pattern is to always modify the entry at the tail of the queue, so
optimize.
2012-09-11 22:33:43 -05:00
Philippe Nunes
80fb1c2fac
sms: Fix to find SMS entry posted by STK
...
SMS initiated by proactive command are not exposed on D-BUS.
Therefore, there is no message associated with the entry created from
STK.
2012-09-11 22:33:43 -05:00
Denis Kenzior
c950f54856
doc: Update errors for SupplementaryServices API
2012-09-11 22:33:43 -05:00
Philippe Nunes
25d51ba03b
ussd: Recover idle state after a transaction error
...
The "USSD terminated by network" notification is handled to recover
the idle state in case of USSD transaction error.
2012-09-11 22:33:43 -05:00
Philippe Nunes
cf211d17e3
dbus: Add Terminated error
2012-09-11 22:33:43 -05:00
Marcel Holtmann
f53d219726
Release 1.11
2012-09-11 16:05:26 +02:00
Marcel Holtmann
380a6260dc
build: Enable dundee and tools when building distribution
2012-09-11 16:03:06 +02:00
Philippe Nunes
006a37cdf8
atmodem: specify class for call barring query
...
class is specified when querying the call barring status if
the class is not the default (7 - voice, data and fax)
2012-09-05 15:04:18 -05:00
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