Commit Graph

542 Commits

Author SHA1 Message Date
Nishanth V 9b023a0b06 test: added script to test serving cell agent 2017-09-08 15:08:13 -05:00
Nishanth V bcc37ad77f netmon: core changes for network monitor agent
Added implementation for RegisterAgent and UnregisterAgent in
NetworkMonitor interface and added netmonagent source file for agent
implemention.
2017-09-08 15:06:10 -05:00
Ankit Navik 2640e0a882 Add support for Intel xmm7xxx series modem driver
This adds driver as xmm7modem for radio-settings
2017-09-05 10:48:00 -05:00
Ankit Navik 7df48a5107 atmodem: Add lte atom driver
Adds atmodem driver for setting the default APN command.
The default APN is manage by config storage.
2017-09-05 10:44:22 -05:00
Denis Kenzior 5c10829455 build: Add cinterion-hardware-monitor-api.txt 2017-05-16 13:23:59 -05:00
Jonas Bonn d6704223d8 qmi: move rat_to_tech() into own module
We want to use this function from multiple atoms so this patch moves
it out to its own module for NAS-related helper functions.
2017-04-18 09:48:04 -05:00
Jonas Bonn ed66682315 plugins: remove udev module
This functionality has been moved into the udevng module and was
already disabled in an earlier patch.
2017-03-29 09:56:32 -05:00
Christophe Ronco 94fd4d804d provision: add plugin to provision from config file
This plugin allows to provision gprs-context data based on MCC and MNC.
This is useful when provisioning using mbpi fails (either because you
are using a private APN or because there are multiple internet type context
for your operator in mbpi database).
Config file is STORAGEDIR/provisioning.
Config file should look like that:
[operator:MCC1,MNC1]
internet.AccessPointName=apn1
internet.Username=myUsername
internet.Password=myPassword
internet.AuthenticationMethod=pap
internet.Protocol=ipv6
[operator:MCC2,MNC2]
internet.AccessPointName=apn2

The only mandatory parameter for each operator is internet.AccessPointName.

Parameter description:
internet.AccessPointName: APN
internet.Username: Username
internet.Password: Password
internet.AuthenticationMethod: authentication method.
 Possible values are:
  - pap
  - chap
 Default is chap if unset.
internet.Protocol: protocol
 Possible values are:
  - ip: ipv4
  - ipv6
  - dual
 Default is ip if not set.

All parameters are prefixed with internet to be able to extend this plugin
to other type of contexts (MMS, ...).
2017-02-21 11:08:27 -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
Christophe Ronco cf3835f0f3 qmimodem: change kernel driver data format if needed
During gprs-context driver probe function, check kernel device driver
data format and modem low level data format.
If they are different, align kernel device driver data format on
modem low level data format.
If an error occurs during this process, continue probing without error.
This is inspired by what is done in qmicli and qmi-network (package
libqmi).
2017-02-02 11:48:38 -06:00
Denis Kenzior 7b0671edfb tools: Remove unused qmi tool 2017-02-02 11:41:27 -06:00
Piotr Haber bf3890a445 telitmodem: support for CDC-NCM network adapter
Network Control Model is a new Communication Device Class
protocol for exchanging Ethernet frames over USB.
NCM is intended to be used with high-speed network
attachments such as HSDPA and LTE data services.
2017-01-27 20:35:50 -06:00
Piotr Haber 36d18310df plugins: rename he910 to xe910
In preparation for more generic support
of Telit xE910 family.
2017-01-26 13:10:18 -06:00
Vincent Cesson c0c7c92a82 drivers: Add gemaltomodem driver to handle GNSS
Add a new location-reporting driver for Gemalto Cinterion modems based
on telit implementation + use it in gemalto plugin. It supports
activation of GNSS engine (Request) with command AT^SGPSC. This driver
is tested on PHS8. NMEA frames are accessible on /dev/ttyUSB1.
2017-01-19 13:34:36 -06:00
Vincent Cesson 85c49528d0 plugins: Add Gemalto plugin for Cinterion P-family
Actual cinterion plugin is not compliant with newer Gemalto modems.
Gemalto plugin is based on cinterion with a custom struct to handle the
interfaces Application and Modem.
2017-01-16 22:25:16 -06:00
Antara Borwankar dc1f7bf67e ril_intel: renamed ril_sofia3gr to ril_intel
renamed ril_sofia3gr.c to ril_intel.c
2016-12-12 21:34:02 -06:00
Ankit Navik 94789031bb rilmodem: Add lte atom driver
Adds rilmodem driver for setting the default APN command.
The default APN is manage by config storage.
2016-12-07 10:20:01 -06:00
Djalal Harouni 283e9333a4 build: build the ublox netmon driver 2016-12-01 11:22:38 -06:00
Dragos Tatulea e9f6b7ffd9 build: add support for ublox lte atom driver 2016-11-15 13:45:56 -06:00
Dragos Tatulea af3c060774 build: add lte atom support 2016-11-15 13:39:04 -06:00
Denis Kenzior 0cfab7e436 build: add test/set-lte-property 2016-11-11 10:49:00 -06:00
Denis Kenzior 694bd1a0b4 build: Add lte-api.txt 2016-11-11 10:48:47 -06:00
Alfonso Sánchez-Beato 8da3726c83 build: add rilmodem gprs unit tests 2016-10-25 11:51:43 -05:00
Denis Kenzior ee98484193 test: Add cancel-sms script 2016-06-06 11:03:01 -05:00
Rajagopal Aravindan deb8652c35 test: Added test to disable sofia 3gr tx throttling 2016-05-24 11:03:11 -05:00
Rajagopal Aravindan 06bc8c4160 test: Added test to enable sofia 3gr tx throttling 2016-05-24 11:02:18 -05:00
Caiwen Zhang 1eec2fc46e rilmodem: add cell broadcast message support 2016-05-19 10:29:33 -05:00
Caiwen Zhang 008eed357d rilmodem/stk: add STK support for rilmodem 2016-05-03 11:14:28 -05:00
Nishanth V 77856af5bd test: Add list allowed access points script 2016-04-21 10:03:55 -05:00
Nishanth V 72eb1d7b5f plugins: Add allowed apn list 2016-04-21 10:01:53 -05:00
Nishanth V dc957b4d50 doc: Add allowed-apns api doc 2016-04-21 10:01:05 -05:00
Nishanth V 1bfdd57519 test: Add get serving cell information script 2016-03-31 10:00:59 -05:00
Nishanth V 6d97528592 rilmodem: Add netmon support 2016-03-31 09:56:32 -05:00
Nishanth V 6ed9b55974 netmon: Add serving cell info support 2016-03-31 09:48:37 -05:00
Denis Kenzior 59e94b34b5 build: Add recently added test scripts 2016-03-22 10:32:05 -05:00
Dragos Tatulea e4d3df016e ubloxmodem: add Toby L2 gprs context driver
For now the driver works only with bridged mode for 2G/3G.

Once it activates the context it reads the ip, netmask,
gw, dns and sets them in the context settings.
2016-03-17 10:59:00 -05:00
Denis Kenzior c7d9ff7e63 include: Add netmon.h 2016-03-11 14:24:41 -06:00
Denis Kenzior 0c938417e9 doc: Add NetworkMonitor API 2016-03-11 14:24:21 -06:00
Denis Kenzior e28c554059 test: Add register-operator 2016-01-28 22:06:13 -06:00
Denis Kenzior f7088384e8 test: Add register-auto 2016-01-28 22:05:43 -06:00
Tony Espy 0e02229ceb build: add support for upower plugin 2015-12-18 09:53:55 -06:00
Tony Espy 548a11f586 build: untangle ATMODEM and BLUETOOTH conditionals 2015-12-17 13:13:45 -06:00
Denis Kenzior 1f98d96079 plugins: Add sofia3GR ril driver 2015-12-15 17:17:53 -06:00
Denis Kenzior 89d2ab55a7 build: Fix building without atmodem support 2015-12-15 17:17:25 -06:00
Tony Espy 544651cdfe build: add support for new test-rilmodem-cb 2015-12-15 12:22:38 -06:00
Denis Kenzior 74d4ad0d71 gril: Remove grilunsol.[ch] 2015-12-04 13:44:10 -06:00
Denis Kenzior 234dfedbaa rilmodem: Remove drivers/rilmodem/gprs.h 2015-12-03 13:26:15 -06:00
Denis Kenzior 1843d627a1 gril: Remove grilreply.[ch] 2015-12-03 11:41:25 -06:00
Denis Kenzior be71655741 gril: Remove grilrequest.[ch] 2015-12-03 10:20:58 -06:00
Tony Espy 17844e231e build: update for test-rilmodem-cs changes 2015-11-19 16:42:23 -06:00
Tony Espy 7ef0f67f80 build: add support for test-rilmodem-sms 2015-11-19 16:33:14 -06:00
Denis Kenzior a0ecd17069 rilmodem: Get rid of radio-settings.h 2015-11-05 20:40:22 -06:00
Denis Kenzior 25e99e3631 build: Make distcheck pass again 2015-11-05 20:37:16 -06:00
Denis Kenzior 8371760616 build: Tweak gril_sources 2015-11-05 14:50:14 -06:00
Tony Espy 331be993b0 build: add support for rilmodem-cs test 2015-11-05 14:46:47 -06:00
Alfonso Sanchez-Beato c14a25f028 build: Add rilmodem to the build
Build gril, the rilmodem and infineon drivers, and the corresponding
plugins.
2015-10-13 21:35:36 -05:00
Alex J Lennon b31a3c2390 tc65: Replace tc65 plugin with cinterion plugin
On the basis that tc6x and other Cinterion devices will likely
have similar firmware requirements, provide a generic Cinterion
plugin which is functionally identical to the replaced tc65 plugin.

The udev implementation retains support for "tc65" name for
backwards compatibility, and adds support for the new "cinterion"
name.
2015-05-13 09:57:53 -05:00
Kuba Pawlak a753d6c012 telitmodem: location reporting driver 2014-10-22 21:15:35 -05:00
Kuba Pawlak d39007c948 doc: new file doc/telit-modem.txt 2014-10-22 21:10:50 -05:00
Denis Kenzior cf90f1505d emulator_fuzz: Add test plugin
This plugin creates an org.ofono.test.EmulatorFuzz interface on path
/test.  Currently only one method is implemented, SetIndicatorActive.

SetIndicatorActive("DistractedDrivingReduction", True|False) allows to
activate / deactivate the HF indicator via +BIND unsolicited
notification.
2014-10-20 13:40:28 -05:00
Denis Kenzior fb1b213e22 test: Add test/set-ddr
Script to set DistractedDrivingReduction property
2014-10-20 13:40:28 -05:00
Philip Paeps 0d8a06af30 plugins: new driver for u-blox SARA-U270 modems
This driver may also work (perhaps with more or less trivial changes)
with other u-blox modems (SARA, LISA, LEON) but this hasn't been tested.
2014-07-08 08:53:13 -05:00
Philip Paeps bb1984cabb plugins: add a new driver for Quectel UC15 modems 2014-07-08 08:42:05 -05:00
Marcel Holtmann ed93490647 build: Remove unused dependency on USB library 2013-12-21 13:13:07 -08:00
Denis Kenzior d6af339c99 git: Fixup messed up permissions 2013-12-21 13:39:54 -06:00
Krzysztof Wilk 171d4dee76 siri: Add atom driver 2013-12-18 00:07:47 -06:00
Krzysztof Wilk 5c11e13019 siri: Add atom implementation 2013-12-18 00:07:47 -06:00
Krzysztof Wilk 5b07c59f34 include: Add Siri interface definition 2013-12-18 00:07:47 -06:00
Krzysztof Wilk 203409a25b doc: Add Siri API 2013-12-18 00:07:47 -06:00
Denis Kenzior 6e52f03f64 plugins: Add initial Telit he910 driver 2013-11-25 10:55:59 -06:00
Denis Kenzior 8440f77f9a build: Always build the connman plugin
It is not related to BLUEZ 4 support
2013-11-25 10:55:59 -06:00
Denis Kenzior a8e4073d0e test: Add set-msisdn script 2013-09-12 13:17:39 -05:00
Denis Kenzior df25ccac49 test: Add display-icon script 2013-09-12 13:17:39 -05:00
Marcel Holtmann 1edf7d5b5e build: Build a simpler version of libgdbus-internal 2013-07-18 08:04:22 -07:00
Lucas De Marchi ba9d78d229 build-sys: Use libgdbus-internal.la
With the current approach if we have different CFLAGS for each binary we would
build gdbus several times for no reason.

Instead of prepending $(gdbus_sources) to several _SOURCES variable, use
a convenience library thas is used internally only, thus with a "-internal"
suffix.
2013-07-18 07:54:17 -07:00
Denis Kenzior 2cdccd4e42 core: Add hfp.h
This will serve as a collection point for all HFP related definitions.
2013-04-09 14:33:41 -05:00
Paulo Borges d26dab944c dundee: Start BlueZ 5 support
This patch adds the BlueZ 5 support file for dundee.
2013-03-24 13:18:55 +01:00
Paulo Borges 63f92d60b5 dundee: Rename dundee BlueZ 4 support
The BlueZ 4 support file for dundee has now been renamed to
bluez4.c to make it easier to add a BlueZ 5 support file.
2013-03-24 13:18:54 +01:00
Frédéric Danis 770cb38352 dun_gw: Add BlueZ 5 version
This patch adds initial implementation of the D-Bus Profile1
interface and methods responsible for handling Bluetooth connections.

The DUN GW profile interface is registered as soon as a GPRS capable
modem is registered in oFono.
2013-03-21 10:12:42 -05:00
Frédéric Danis 8a1bd0d657 bluetooth: Rename DUN GW plugin
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based DUN GW plugin for some time, we need to
separate DUN GW plugin which is based on BlueZ 4 from the one based on
BlueZ 5.

The dun_gw.c plugin is renamed to dun_gw_bluez4. This will make it easy
to add a DUN GW plugin for BlueZ 5.
2013-03-21 10:08:41 -05:00
Claudio Takahasi 1095e4a126 core: Add new Bluetooth header
This patch adds the Bluetooth utility funtions and socket type
declarations to a new header src/bluetooth.h, allowing to share it
between core, and plugins.
2013-03-04 16:08:59 -06:00
Denis Kenzior 3e16bc5e88 include: Add skeleton for handsfree-audio 2013-02-21 08:27:32 -06:00
Claudio Takahasi 850c1811fc handsfree-audio: Add Manager registration
Adds the initial implementation of new experimental Handsfree Audio
Manager interface. This patch adds the interface registration and
the declaration of it's methods.
2013-02-20 21:19:27 -06:00
Frédéric Danis e59fed9c96 hfp_ag: Add BlueZ 5 version
This patch adds initial implementation of the D-Bus Profile1
interface and methods responsible for handling Bluetooth connections.

The HFP AG profile interface is registered as soon as a voice capable
modem is registered in oFono.
2013-01-31 16:15:03 -06:00
Frédéric Danis 3e9a836afd bluetooth: Rename HFP AG plugin
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based HFP AG plugin for some time, we need to
separate HFP AG plugin which is based on BlueZ 4 from the one based on
BlueZ 5.

The hfp_ag.c plugin is renamed to hfp_ag_bluez4. This will make it easy
to add an HFP AG plugin for BlueZ 5.
2013-01-30 22:09:52 -06:00
Lucas De Marchi c6f52d7545 build: Use AM_CPPFLAGS instead of INCLUDES
Makefile.am:518: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2013-01-16 13:16:51 -08:00
Claudio Takahasi f95fbc72a1 hfp_hf_bluez5: Add initial skeleton implementation 2013-01-16 13:54:03 -06:00
Claudio Takahasi 9fb87705c2 bluetooth: Add profile register / unregister
Adds utility API to handle BlueZ 5 RegisterProfile and UnregisterProfile
methods.
2013-01-16 13:54:00 -06:00
Claudio Takahasi 2b7d96a223 hfp_hf: Add initial file for external HFP
This patch adds the initial file to support external HFP profile and
BlueZ 5. "hfp_hf_bluez5" plugin will implement an external Bluetooth
profile compatible with BlueZ 5, and "hfp_hf_bluez4" plugin will keep
the compatibility with BlueZ 4.
2013-01-16 13:43:06 -06:00
Claudio Takahasi 0973479c29 bluetooth: Initial files for BlueZ 5
This patch adds the file for Bluetooth(BlueZ 5) oFono plugin.
2013-01-16 13:41:08 -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
Claudio Takahasi 145112dad2 build: Add configure option for BlueZ 5 support
Going forward, BlueZ 5 will be supported by default.  BlueZ 4 support
will have to be explicitly enabled by using '--enable-bluez4'.

As before, the '--disable-bluetooth' configure option will disable all
bluetooth support (BlueZ 4 and BlueZ 5)
2013-01-16 13:34:22 -06:00
Marcel Holtmann 5cf66a7d38 build: Compile support for new D-Bus client helpers 2012-12-19 03:51:22 +01:00
Marcel Holtmann a2042e442b tools: Add simple TTY redirector utility 2012-11-28 10:21:51 +01:00
Marcel Holtmann 55215c3113 unit: Fix SMS unit tests 2012-11-25 21:18:03 +01:00
Marcel Holtmann 67670a659f qmimodem: Add support for UIM service handling 2012-11-25 20:11:29 +01:00
Denis Kenzior d88ae48a85 build: Add stk-test-data.h to stktest sources 2012-10-03 09:11:13 -05:00
Denis Kenzior 485c89c7ac unit: Move display text data to common header 2012-10-03 09:10:42 -05:00
Denis Kenzior 66ba90de6e stktest: Add initial modem emulator logic 2012-10-03 09:10:42 -05:00
Denis Kenzior 7c3f874675 tools: Add basic stktest skeleton 2012-10-03 09:10:42 -05:00