summaryrefslogtreecommitdiff
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* quectel: replace g_at_chat_set_wakeup_command() with g_at_chat_retry()Martin Hundebøll2019-08-131-11/+53
| | | | | | If the modem isn't powered on, the use of g_at_chat_set_wakeup_command() makes ofono send out AT strings in an endless loop. Avoid this by using g_at_chat_retry() in a timer instead.
* quectel: Add missing include for sys/socket.hMarcel Holtmann2019-08-121-0/+1
|
* quectel: implement dbus signals for modem power notificationsMartin Hundebøll2019-07-221-1/+145
| | | | | | | | | The Quectel modems issues unsolicited strings in case of power related events. The UC15 uses +QIND: for the events, while M95 and MC60 uses descriptive strings. (UC15 also uses a string for normal power down). Register listeners for these strings/codes. The handler emits an appropriate dbus signal, and closes down the modem if needed.
* quectel: add dbus hardware interfaceMartin Hundebøll2019-07-221-0/+158
| | | | | For now the interface only exposes the modem supply voltage, but is added as a preparation for signaling power events.
* quectel: pass vendor id to gprs and gprs-contextMartin Hundebøll2019-07-191-2/+3
| | | | | | The gprs-context does special casing on the quectel serial modem when probing the supported layer 2 protocols, so pass the vendor id when setting up the atoms.
* udevng: detect LARA R2 seriesJonas Bonn2019-07-191-0/+2
|
* ublox: use custom netreg atomJonas Bonn2019-07-191-1/+2
|
* ublox: add SMS supportJonas Bonn2019-07-191-0/+3
|
* ublox: add voicecall supportJonas Bonn2019-07-191-0/+17
|
* ublox: create only 1 gprs contextJonas Bonn2019-07-191-10/+3
| | | | | | | | | | | | Some uBlox modems support multiple, simultaneously active contexts. These contexts are either bridged to the network interface or handled transparently by the modem acting like a router. The problem with this approach is that ofono and ofono clients (e.g. mmsd) expect a dedicated _local_ network interface for each context. As such, it doesn't make sense for ofono to set up the multiple gprs contexts.
* ublox: determine gprs-context driver from network interfaceJonas Bonn2019-07-191-9/+3
| | | | | | | | Some u-blox devices present a USB network class device for data and some just switch to PPP on (one of) the communication channel(s). Whether the atmodem or ubloxmodem gprs-context driver should be used depends on whether or not the network interface is present; check this condition directly when deciding which driver to us.
* quectel: add support for the Quectel MC60 modemMartin Hundebøll2019-07-171-1/+6
| | | | | The modem is AT-compatible with the Quectel M95 modem, but also features a GNSS module.
* quectel: store model id in private dataMartin Hundebøll2019-07-171-0/+11
| | | | | | Some Quectel models supports different features such as GNSS or different URC strings. Add a field in the quectel data structure to be used when adding support for said features.
* quectel: enable call volume settingsMartin Hundebøll2019-07-171-0/+2
|
* atmodem: rename OFONO_VENDOR_QUECTEL_M95Martin Hundebøll2019-07-171-1/+1
| | | | | Other serial connected modems (i.e the MC60 model) from is AT-compatible with the M95 model, so rename the M95 vendor id to be common for both.
* quectel: initialize call, phonebook and sms when readyMartin Hundebøll2019-07-121-0/+74
| | | | | | | | | The Quectel M95 modem issues a "Call ready" notification when call and phonebook are ready, so set up a listener for that. The only way to know when sms is ready is to issue QINITSTAT queries. Since sms is always ready after call and phonebook, the queries are initiated after creating call/phonebook.
* quectel: query device model to enable vendor quirksMartin Hundebøll2019-07-121-3/+33
|
* quectel: configure flow control when enabledMartin Hundebøll2019-07-121-1/+7
|
* quectel: support gpio to power on/off the modemMartin Hundebøll2019-07-122-7/+89
| | | | | | | | | | | | This adds support for configuring a gpio in udev to control the modem power. To enable gpio control, specify OFONO_QUECTEL_GPIO_CHIP and OFONO_QUECTEL_GPIO_OFFSET in the udev environment, for example: KERNEL=="ttymxc0", ENV{OFONO_DRIVER}="quectel", \ ENV{OFONO_QUECTEL_GPIO_CHIP}="gpiochip2", \ ENV{OFONO_QUECTEL_GPIO_OFFSET}="26"
* quectel: add basic support for serial connected modemsMartin Hundebøll2019-07-122-32/+266
| | | | | | | | | | | Setup GSM 07.10 multiplexing using the kernel n_gsm line discpline driver, and use the virtual tty devices as Aux and Modem channels. The driver supports rts/cts on the underlying serial device. This is enabled with OFONO_QUECTED_RTSCTS udev environment, e.g.: KERNEL=="ttymxc0", ENV{OFONO_DRIVER}="quectel", \ ENV{OFONO_QUECTEL_RTSCTS}="on"
* quectel: replace glib uses with ellMartin Hundebøll2019-07-121-5/+3
|
* quectel: unwrap call to at_util_open_device()Martin Hundebøll2019-07-121-8/+4
|
* quectel: always print modem pointer in debug messagesMartin Hundebøll2019-07-121-4/+8
|
* quectel: fix initial channel/device configurationMartin Hundebøll2019-07-051-3/+3
| | | | | The three-commands-in-one-go results in error on some quectel devices (e.g. m95). Add semicolons between the commands to fix it.
* quectel: improve coding styleMartin Hundebøll2019-07-051-16/+15
|
* alcatel: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* hso: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* huawei: Use at_util_open_deviceDenis Kenzior2019-05-311-24/+3
|
* icera: Use at_util_open_deviceDenis Kenzior2019-05-311-36/+3
|
* linktop: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* mbm: Use at_util_open_deviceDenis Kenzior2019-05-311-36/+7
|
* nokia: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+2
|
* novatel: Use at_util_open_deviceDenis Kenzior2019-05-311-26/+1
|
* quectel: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* samsung: Use at_util_open_deviceDenis Kenzior2019-05-311-37/+11
|
* sierra: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* speedupcdma: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+2
|
* speedup: Use at_util_open_deviceDenis Kenzior2019-05-311-28/+1
|
* telit: Use at_util_open_deviceDenis Kenzior2019-05-311-35/+3
|
* ublox: Use at_util_open_deviceDenis Kenzior2019-05-311-29/+2
|
* zte: Use at_util_open_deviceDenis Kenzior2019-05-311-45/+10
|
* xmm7xxx: Use at_util_open_deviceDenis Kenzior2019-05-311-35/+3
|
* wavecom: Use at_util_open_deviceDenis Kenzior2019-05-311-40/+8
|
* hfp_ag_bluez5: Remove unneeded forward declarationsDenis Kenzior2019-05-311-3/+0
|
* udevng: add SIMCom SIM7600 modem supportStefan Herbrechtsmeier2019-05-081-22/+50
| | | | | The SIMCom SIM7100 and SIM7600 modem use the same vendor and product id but require different drivers (sim7100 vs gobi).
* sierra: Abort initialization on CFUN failureDenis Kenzior2019-04-301-0/+2
|
* phoneseim: Remove unneeded ifDenis Kenzior2019-04-291-3/+1
|
* xmm7modem: Changes in plugin for DSSA functionalityAntara Borwankar2019-04-021-1/+1
| | | | | Changed the sim driver vendor for xmm7modem from OFONO_VENDOR_IFX to OFONO_VENDOR_XMM to handle DSSA functionality.
* ublox: Correct the USBCONF reply prefixRichard Röjfors2019-04-011-1/+1
| | | | | | | According to the u-blox AT Commands Manual and my tests the response prefix of AT+UUSBCONF is "+UUSBCONF:", including a colon. The colon was missing in the code, causing next step to parse a number to fail, since a colon is not a number.
* ublox: Do not leave vendor_family unsetRichard Röjfors2019-04-011-2/+2
| | | | | | | | In a recent patch vendor family was only set if the device did not support USBCONF, but that resulted in drivers being registered the "generic" vendor. That caused for instance netreg to use incorrect cmer mode and fail on TOBY-L210.