Commit Graph

2375 Commits

Author SHA1 Message Date
Aleksander Morgado
7f0afa078b build: fix distcheck
Need to pass the full path of the input files to the glib-mkenums call. This is
because we use an explicit list given in a $(VARIABLE) instead of the built-in
automake variables (e.g. $<)
2012-03-16 14:53:17 +01:00
Aleksander Morgado
0c6dad40a0 build: get path of `glib-mkenums' from pkg-config 2012-03-16 14:53:17 +01:00
Aleksander Morgado
3e511f90c7 build: don't distribute generated sources 2012-03-16 14:53:17 +01:00
Aleksander Morgado
7d9d003324 build: rename the binary from modem-manager' to ModemManager' 2012-03-16 14:53:17 +01:00
Aleksander Morgado
12786d21cf core: remove uses of `MMModemStateReason'
Use `MMModemStateChangeReason' instead.
2012-03-16 14:53:17 +01:00
Aleksander Morgado
8b78e037a2 modem-helpers: temporarily disable facility-related helpers 2012-03-16 14:53:17 +01:00
Aleksander Morgado
6887a6850c marshallers: cleanup unneeded ones 2012-03-16 14:53:17 +01:00
Aleksander Morgado
c55b5d097e marshallers: integrate them into the daemon compilation 2012-03-16 14:53:16 +01:00
Aleksander Morgado
5c73e8d200 build: remove obsolete files
This will very likely create lots of conflicts until the branch gets merged
into master, but anyway...
2012-03-16 14:53:16 +01:00
Aleksander Morgado
17ef077797 sms: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
333779bda9 iface-modem-messaging: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
e2a5ab250e iface-modem-location: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
1d1936e1ce iface-modem-3gpp-ussd: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
b4bed06f98 bearer: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
454e3ab361 sim: include policy authorization checks 2012-03-16 14:53:16 +01:00
Aleksander Morgado
da0aa7af2a iface-modem-cdma: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
71a3de4486 iface-modem-3gpp: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
6a655f5daf iface-modem-simple: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
2240747715 iface-modem: include policy authorization checks 2012-03-16 14:53:15 +01:00
Aleksander Morgado
d5deb2bb14 manager: use new simplified authentication setup 2012-03-16 14:53:15 +01:00
Aleksander Morgado
3e5b42569b base-modem: use new simplified authentication setup 2012-03-16 14:53:15 +01:00
Aleksander Morgado
089a983850 auth: refactor and simplify authentication related setup
We get rid of the MMAuthRequests; and we leave up to the caller and user of the
MMAuthProvider the handling of request cancellations through the provided
GCancellable.

Also made GIO-async-friendly methods.
2012-03-16 14:53:15 +01:00
Aleksander Morgado
7316f4645b iface-modem-3gpp-ussd: fix copyrights 2012-03-16 14:53:14 +01:00
Aleksander Morgado
e992d5cbd1 charsets: fix compilation with -Werror=maybe-uninitialized 2012-03-16 14:28:15 +01:00
Aleksander Morgado
7a892b74cb build: don't build the MMCallbackInfo, we're now fully GIO-Async instead 2012-03-16 14:28:15 +01:00
Aleksander Morgado
680e292914 build: fix header dependencies
We shouldn't depend on any header file from the previous implementation.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
4de848de39 tests,sms: print traces if enabled during compilation 2012-03-16 14:28:15 +01:00
Aleksander Morgado
2522acf899 tests,sms: refactor SMS part related tests
Now using the MMSmsPart setup.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
5bee67c032 core: use GDBusMethodInvocation in the auth API 2012-03-16 14:28:15 +01:00
Aleksander Morgado
5f167fd199 Revert "core: avoid using DBusGMethodInvocation in auth API"
This reverts commit 013fd179f458d87bba9fd7657ffe1bd90169f231.

We will start using GDBus-only based code from now on.
2012-03-16 14:28:15 +01:00
Aleksander Morgado
080d046e64 iface-modem: load allowed/preferred modes during modem enabling 2012-03-16 14:28:15 +01:00
Aleksander Morgado
1359c0a928 modem-helpers: updated the string to access technology converter
We can now return a mask of flags specifying more than one access technology,
and therefore the order is not really important any more, unless for special
cases like looking for substrings of valid expected strings (e.g "HSPA" and
"HSPA+").

Also, add "LTE" in the list of expected strings.
2012-03-16 14:28:14 +01:00
Aleksander Morgado
4315208cfa iface-modem-cdma: include in the API the mask of all CDMA access technologies 2012-03-16 14:28:14 +01:00
Aleksander Morgado
049d4434f9 iface-modem-3gpp: include in the API the mask of all 3GPP access technologies 2012-03-16 14:28:14 +01:00
Aleksander Morgado
f6b6688cce broadband-modem: new method to convert from UTF-8 to the charset in the modem 2012-03-16 14:28:13 +01:00
Aleksander Morgado
3028126bd2 charsets: new UTF-8 to given charset converter
UCS-2 strings are always hex-converted.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
a0583a4687 broadband-modem: expose the current charset to UTF-8 converter
So that subclasses can also use it.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
3595b33648 iface-modem: load current bands during modem enabling 2012-03-16 14:28:13 +01:00
Aleksander Morgado
09d2f062c7 api,dbus: rename AllowedBands' to just Bands'
ModemManager will load:
  1) The list of supported bands. Note that this doesn't mean that any possible
     combination of bands is supported, as modems may support only specific
     combinations, but at least gives a rough idea of what the modem is capable
     of handling.

  2) The list of CURRENT bands. There is no such "Allowed" bands, as we do with
     modes, modems will have a specific set of bands being currently used, which
     will be reported in the `Bands' property.

If the modem allows modifying the list of bands to use, this can be done with
the `SetBands()' method. If the modem doesn't support using a specific
combination of bands, this method will report an error.
2012-03-16 14:28:13 +01:00
Aleksander Morgado
c8f525ee47 api,header: added new Iridium capability 2012-03-15 14:15:07 +01:00
Aleksander Morgado
f72f68b311 broadband-modem: allow no whitespaces before CPIN? reply value 2012-03-15 14:15:06 +01:00
Aleksander Morgado
2a12322a80 modem-helpers: allow leading zeroes in CREG/CGREG responses 2012-03-15 14:15:06 +01:00
Aleksander Morgado
f0d516e556 broadband-modem: implement default enabling of SMS indications 2012-03-15 14:15:06 +01:00
Aleksander Morgado
3dd5ec64cc iface-modem-messaging: need to enable/disable SMS indications 2012-03-15 14:15:06 +01:00
Aleksander Morgado
7fdd08c02e api,dbus: new `IpTimeout' property in the Bearer interface
This IpTimeout property will be read by NetworkManager, and used as the time to
wait for pppd to establish the IP configuration (20s by default).
2012-03-15 14:15:06 +01:00
Aleksander Morgado
dc1df5bf2f iface-modem-simple: SIM-PIN2 locking does not prevent from connecting 2012-03-15 14:15:06 +01:00
Aleksander Morgado
c89fd703bb sim: allow subclasses to specify they can't load property values 2012-03-15 14:15:06 +01:00
Nathan Williams
3c41ce5d8b api,dbus: new `Command' method in the API to send arbitrary AT commands
BUG=chromium-os:25348
TEST="mmcli -m 0 --command='E0'"
Change-Id: I320587560fde5780f9d5a4998e32364d36a71ed7
2012-03-15 14:15:06 +01:00
Aleksander Morgado
54c2daf937 plugin-base: filters for product ID/string also require vendor ID/string checks 2012-03-15 14:15:06 +01:00
Aleksander Morgado
1f3e67775c core: new private boxed types for string and uint16 pairs 2012-03-15 14:15:05 +01:00