Slava Monich
61bbbb0d7a
modem: Implement ofono_modem_get_sim
2017-10-05 11:22:54 -05:00
Denis Kenzior
e6268d1eb7
devinfo: Implement ofono_devinfo_get_modem
2017-10-05 11:08:38 -05:00
Jonas Bonn
a722cef201
modem: set_online is valid for AlwaysOnline modems
...
Calling set_online(TRUE) for an AlwaysOnline modem should succeed; the
modem is, after all, in the requested state when the call returns.
Returning not_implemented is not necessarily wrong, but it's a bit ugly.
2017-04-03 09:23:53 -05:00
John Ernberg
ea0999c626
modem: Use g_slist_free_full
2016-04-22 15:29:08 -05:00
Denis Kenzior
6eeb896981
modem: Fix style
2016-03-31 10:16:23 -05:00
Samrat Guha Niyogi
93f3b200fc
devinfo: Add support of IMEISV
2016-03-31 10:16:23 -05:00
Denis Kenzior
68e4007d7b
modem: Don't move to pre-sim state in case of failure
...
In ofono_modem_reset, if the enable() callback fails, do not
proceed to the pre-sim state
2015-12-15 17:17:00 -06:00
Forest Bond
0e0eb227f2
modem: Support modem property "AlwaysOnline"
...
This can be set by the modem driver to indicate that the device is
always in the online state when it is enabled. This is useful for
modem drivers that handle both CDMA and GSM devices.
2013-04-01 21:41:58 -05:00
Forest Bond
b0ad1ecb8f
modem: Allow setting boolean properties
2013-03-28 09:47:32 -05:00
Denis Kenzior
69820a7136
modem: Implement ofono_modem_find
2013-02-14 08:47:10 -06:00
Denis Kenzior
732bab46b5
modem: Handle RESETTING sim state
2012-11-22 06:57:00 -06:00
Denis Kenzior
e6df03b420
modem: Add support for modem type TEST
2012-11-02 14:03:16 -05:00
Marcel Holtmann
67c6a01d46
modem: Add function for setting new driver type
2012-06-17 00:58:08 -07:00
Lucas De Marchi
e0d6f9f0ce
Do not set signature and reply in GDBus tables
...
Use GDBUS_* macros, so signature and reply fields are not set in each
method/signal.
2012-05-20 02:47:57 -07:00
Lucas De Marchi
b3489f2ee8
Convert GDBus methods to use macro helpers
...
With these macro helpers we can separate in/out arguments and use their
own vector.
2012-05-20 02:47:57 -07:00
Henrique Dante de Almeida
924ee02ff7
Constify GDBus signal tables
...
Constify signal tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusSignalTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Henrique Dante de Almeida
63bbdebdf2
Constify GDBus method tables
...
Constify method tables with the following command:
find . -name '*.[ch]' -exec \
sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
2012-05-20 02:47:56 -07:00
Marcel Holtmann
4ce0034803
modem: Add missing empty line
2012-04-12 12:09:32 +02:00
Denis Kenzior
ae5829e984
modem: Use __ofono_atom_find
...
Also remove defunct comment about registered status
2012-01-18 13:01:16 -06:00
Denis Kenzior
28af056870
modem: Tweak produced path
...
For drivers that contain digits at the end the currently produced
path can be somewhat confusing.
2012-01-07 13:23:32 -06:00
Daniel Wagner
20d33aa924
modem: Add Type property to GetProperties result
2011-11-22 20:38:20 -06:00
Mikel Astiz
b6f99b6200
devinfo: avoid crash if query_model not supported
2011-10-21 13:17:50 -05:00
Marcel Holtmann
7e6afe37bf
core: Update copyright information
2011-10-10 13:39:42 -07:00
Marcel Holtmann
efcfbe9d9d
modem: Add some more debug outputs
2011-07-29 14:30:58 +02:00
Denis Kenzior
c6c01110ec
sim: Support SIM_STATE_LOCKED_OUT
2011-07-19 14:20:09 -05:00
Denis Kenzior
2f2436bc20
modem: Don't allow setting online unless powered
2011-04-28 09:48:48 -05:00
Denis Kenzior
240a01260f
modem: Fix entering offline mode prematurely
...
A contextual change to __ofono_modem_find_atom has caused us to enter
into offline mode prematurely. find_atom was changed to return only the
atoms that were registered, however the modem really has to know whether
the sim atom is created (not registered) in order to know whether to
wait for the SIM to be initialized or not.
2011-04-14 17:02:22 -05:00
Denis Kenzior
ff04d53e32
modem: Tweak online logic if set_online is missing
...
In case set_online is missing, we should set online mode directly. If
we're already online then set our state to Online, otherwise check if we
should get Online.
2011-04-04 23:48:41 -05:00
Denis Kenzior
4ee289a4ab
modem: No need to set get_online on sim reset
...
When STK sends us a SIM Refresh resulting in a SIM reset, we should not
set the online state as the modem should still keep us online anyway.
2011-04-04 23:45:32 -05:00
Denis Kenzior
1b0c1a6416
modem: Fix minor style violations
2011-04-04 23:45:23 -05:00
Jeevaka Badrappan
e933ca4260
modem: modem state decoupled from rf state
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
0bb95c1bd8
modem: restrict operations allowed in emergency
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
aa6e379ee3
modem: add increment/decrement emergency mode api
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
c6cd422f25
modem: add Emergency property
2011-04-04 23:36:49 -05:00
Jeevaka Badrappan
e8d3066781
modem: add ofono_modem_get_emergency_mode api
2011-04-04 23:36:49 -05:00
Denis Kenzior
767d297263
modem: Only find registered atoms
...
Change the semantics of __ofono_modem_find_atom to only return
registered atoms.
2011-03-30 13:30:50 -05:00
Denis Kenzior
3e799ce8b4
devinfo: Register the devinfo atom
2011-03-30 13:30:01 -05:00
Denis Kenzior
774cb72930
modem: Add __ofono_modem_foreach_registered_atom
2011-03-30 13:04:42 -05:00
Denis Kenzior
192c0b62f4
modem: Remove more un-needed code
2011-03-30 13:04:31 -05:00
Mika Liljeberg
3c19134524
core: notify watches of already registered atoms
2011-03-30 12:26:19 -05:00
Olivier Guiter
351c701aac
emulator: add support for +GCAP
2011-03-23 15:00:12 -05:00
Denis Kenzior
ad181b690b
sim: Tweak the behavior of sim_refresh slightly
...
Instead of notifying everyone of sim_inserted condition, we should
simply notify the modem directly. It is the only one interested in this
particular change.
This partly reverts an earlier commit:
9498ad6b5633e350eb529f8efbe08270d95c8003
2011-02-17 15:09:16 -06:00
Andrzej Zaborowski
5815d9547c
modem.c: Handle SIM Resets
...
The assumption so far was that SIM state would only go from
NOT_PRESENT -> INSERTED -> READY -> NOT_PRESENT because there's
no method to unauthenticate from SIM without removing. We need to
be able to switch to INSERTED when SIM is being reset,
reinitialised, etc. because going to NOT_PRESENT and then
immediately INSERTED would be logically wrong.
2011-02-17 15:09:16 -06:00
Frédéric Danis
afe16ba22a
emulator: always create emulators in offline state
...
this allows to fix problem when atom created in online state
are destroyed when modem goes to offline state
2011-02-17 11:25:27 -06:00
Denis Kenzior
4406da382c
devinfo: Handle BT DUN +GMI/+GMM/+GMR commands
2011-02-16 00:23:44 -06:00
Denis Kenzior
3e69defe86
modem: Tweak online & powered watch APIs
2011-02-10 00:34:47 -06:00
Denis Kenzior
458fe585a0
modem: Fix up previous commit
2011-02-10 00:27:01 -06:00
Guillaume Zajac
2b50146a21
modem Add powered watch API
2011-02-10 00:27:01 -06:00
Jeevaka Badrappan
4d6eaf121c
modem: M16 coding style fix
2011-02-05 07:05:32 -08:00
Marcel Holtmann
ed99980cd3
modem: Simplify the modem lockdown modification
2011-01-26 09:51:41 +01:00