Commit Graph

34 Commits

Author SHA1 Message Date
Denis Kenzior bd858ba8b4 telit: Use at_util_open_device 2019-05-31 11:58:39 -05:00
Denis Kenzior 63341a1f09 telit: signal sim initialized 2017-11-08 21:41:34 -06:00
Piotr Haber 69c67fce7f telit: register SIM if it goes straight to ready
SIM without PIN goes straight to state 3 (INSERTED and READY)
on some modem/firmware versions.
2017-02-08 10:55:09 -06:00
André Draszik 177e39e44b plugins: telit: send AT&C0 on both channels
At least firmware version 12.00.405 on the UE910-EUR otherwise
closes the AT command port whenever the PPP connection is
dropped, and we'd be left in a funny state.
2017-02-07 10:58:07 -06:00
Piotr Haber 3ae33b2dd6 telit: add support for UE866 2017-02-02 11:58:51 -06:00
Piotr Haber ccd49f3fe6 plugins: rename xe910 to telit
Unify old telit and xe910 plugins.
Dropping support for Bluetooth SAP.
Add support for UC864 family.
2017-02-02 11:51:19 -06:00
Claudio Takahasi caad5322f6 bluetooth: Rename bluetooth plugins
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based plugins for some time, we need to separate
the plugins that are based on BlueZ 4 from the ones based on BlueZ 5.

The bluetooth.c plugin has now been renamed to bluez4.c and the hfp_hf.c
plugin is renamed to hfp_hf_bluez4.  This will make it easy to add a
HFP HF plugin for BlueZ 5.
2013-01-16 13:37:23 -06:00
Christopher Vogl 157c365ca5 telit: set baud rate to 115200
Telit HE910 needs the baud rate to be set.
2012-12-17 10:17:19 -06: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
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 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
Syam Sidhardhan 9c89410c44 telit: Fix empty parameter list in function 2011-12-28 16:24:12 -06:00
Gustavo F. Padovan 0e4a351282 telit: fix shutdown of bluetooth socket 2011-09-29 14:03:45 -05:00
Gustavo F. Padovan fa56fe78c5 telit: add post_online to SAP Client 2011-09-29 11:19:22 -05:00
Gustavo F. Padovan fde698c2a5 telit: add set_online to SAP Client 2011-09-29 11:19:03 -05:00
Gustavo F. Padovan 9c7f0aa45e telit: add post_sim to SAP Client 2011-09-29 11:18:51 -05:00
Gustavo F. Padovan 93fd2afd02 telit: add pre_sim support to SAP Client 2011-09-29 11:18:40 -05:00
Gustavo F. Padovan e07b4217aa telit: init modem normally once SAP was enabled 2011-09-29 11:17:12 -05:00
Gustavo F. Padovan deca4a32d3 telit: add suport the disable SAP client 2011-09-29 11:13:05 -05:00
Denis Kenzior 019f0c9265 telit: Reflow sap_enable logic
To cover some conditions where we do not clean up properly
2011-09-29 10:48:23 -05:00
Denis Kenzior c035b1af48 telit: Remove unneeded if 2011-09-29 10:02:33 -05:00
Gustavo F. Padovan b722540594 telit: add support the enable the SAP client modem 2011-09-29 09:57:29 -05:00
Gustavo F. Padovan 9667db0b14 telit: add #RSEN notify
RSEN URC tells if the SAP Client was enabled or not
2011-09-26 13:38:19 -05:00
Gustavo F. Padovan 4f3b9ff36c telit: add support to enable SAP client 2011-09-26 13:37:55 -05:00
Gustavo F. Padovan 64e2b33465 sap: Add basic sap plugin 2011-09-25 11:45:54 -05:00
Denis Kenzior b91726213c telit: Use more generic error decoding 2011-06-08 04:26:22 -05:00
Denis Kenzior 56bef41eac telit: Make sure to clean up the source 2011-06-08 04:24:20 -05:00
Denis Kenzior 025fe0a74d telit: Update copyright 2011-06-08 04:19:56 -05:00
Bernhard Guillon 9f9bf3947e plugins: Add initial telit UC864-G support 2011-06-08 04:19:03 -05:00