Gustavo F. Padovan
a793c18c29
include: add CNAP types to ofono_call structure
2010-12-16 18:40:17 -06:00
Denis Kenzior
8207432648
include: Minor style fixes
2010-12-08 11:26:58 -06:00
Lucas De Marchi
1dcd57136e
radio-settings: add frequency band selection methods
2010-12-08 11:08:56 -06:00
Gustavo F. Padovan
ab53869a8a
modem: add ofono_modem_reset() to modem.h
2010-12-07 12:16:20 -06:00
Denis Kenzior
cf9e07ef32
radio-settings: Update API to use ofono_bool_t
2010-11-29 07:52:35 -06:00
Lucas De Marchi
3f49dd1390
ctm: add public header
2010-11-26 13:08:45 -06:00
Lucas De Marchi
2cc4ce9a11
text-telephony: define new dbus interface
2010-11-24 08:58:42 -06:00
Mika Liljeberg
a4983d99eb
radio settings: add FastDormancy property
2010-10-27 22:26:15 -05:00
Denis Kenzior
bbe6eb6d4e
gprs-context: Replace TYPE_INVALID with TYPE_ANY
2010-10-27 12:39:46 -05:00
Denis Kenzior
51aecde6cc
stk: Remove ofono_stk_terminal_response_sent_notify
...
Not needed for now. We can always put this back in later if need be.
2010-10-27 12:10:17 -05:00
Pekka Pessi
de96428ca2
gprs-context: add IMS connection type
2010-10-27 16:57:57 +02:00
Marcel Holtmann
b3d18d5115
gprs: Add support for setting GPRS context type
2010-10-27 11:34:54 +02:00
Marcel Holtmann
6cb86931e3
gprs: Make GPRS context type a public enum
2010-10-27 11:28:52 +02:00
Denis Kenzior
cfa956596c
modem: Add ofono_modem_is_registered
2010-10-25 16:32:49 -05:00
Denis Kenzior
ba71706b07
voicecall: Document driver methods
2010-10-20 12:50:51 -05:00
Petteri Tikander
d34ddeccaf
sim: add new parameter to file-info utility
2010-10-15 02:15:21 -05:00
Andrzej Zaborowski
404e0838da
API for STK driver to signal executed commands
...
Some modems are able to handle some proactive commands in their
firmware or otherwise, if the command doesn't require input from user.
Nevertheles ofono may need to update internal state or notify the user
where necessary. With this api the driver can notify core that a
command is being executed in the modem or that a command is finished
executing and the TERMINAL RESPONSE has been sent to SIM. It would
also be possible for a driver to handle a command.
2010-10-14 04:17:02 -05:00
Marcel Holtmann
242639737a
audio: Add helper to get modem information from audio settings
2010-10-01 07:28:39 +02:00
Marcel Holtmann
2b3840e95c
audio: Add support for notifying about audio mode
2010-10-01 07:22:45 +02:00
Marcel Holtmann
3fd4af4fc2
audio: Update audio settings API for active notification
2010-10-01 07:14:59 +02:00
Marcel Holtmann
760e1e4c04
core: Add support for audio settings interface
2010-09-29 23:57:39 +09:00
Denis Kenzior
eb5a7329da
dbus: Add org.ofono.Message interface
2010-09-21 21:15:07 -05:00
Denis Kenzior
04634af6fe
common: Implement ofono_uuid_to_str
2010-09-21 08:44:48 -05:00
Denis Kenzior
dbd7639d25
history: Update to the new SHA1 based sms id API
2010-09-21 08:44:48 -05:00
Denis Kenzior
5a336a1cfb
include: Introduce ofono_uuid
2010-09-21 08:44:47 -05:00
Pekka Pessi
4b8f2b037c
ussd.h: +CUSD is documented in 27.007 section 7.15
2010-09-16 13:45:53 -05:00
Jeevaka Badrappan
eb425a281f
ussd: Driver API changes
...
To support 8bit and UCS2 formatted USSDs as well as Send USSD Proactive
Command.
2010-09-14 17:01:49 -05:00
Mika Liljeberg
1e139eb1ce
gprs: add Suspended property
2010-09-10 10:51:53 -05:00
Denis Kenzior
5754eaf7e9
sim: Break out sim file reading into simfs
2010-09-09 08:50:28 -05:00
Kristen Carlson Accardi
95d957b62e
sim: read EFiidf
...
EFiidf can be larger than 256 bytes, so allow callers to read
portions of the EFiidf from a specified offset. Cache EFiidf
files as blocks of 256 bytes so that it's not necessary to
read the entire (potentially large) file.
2010-09-09 08:45:32 -05:00
Denis Kenzior
4292b2dbed
sim: Turn around the order of arguments
...
The void *user argument was first. It should be last instead to be
consistent with the other watch functions.
2010-08-30 14:29:34 -05:00
Denis Kenzior
b73ebe3c83
gprs: Update GPRS related DBus interface names
2010-08-19 14:20:05 -05:00
Denis Kenzior
7e0f28c7b1
sms: Update SmsManager to MessageManager
2010-08-19 14:20:05 -05:00
Denis Kenzior
ad8607994f
modem: Be consistent when naming callback typedefs
2010-08-12 15:46:46 -05:00
Sjur Brændeland
9a24ece0fb
voicecall: Add support for function hangup_all
...
This patch fixes problem for modems that cannot terminate
DIALING/ALERTING calls with CHUP=1X. The main change is that
voicecall driver's hangup function is split into the functions
hangup_all and hangup_active.
Changes:
- In cases where hangup previously was used, hangup_all is used
if implemented otherwise hangup_active is used.
- Call in state DIALING/ALERTING is released with hangup_active if
implemented.
- manager_hangup_all will simply call hangup_all if implemented.
- manager_hangup_all will release calls in state
ALERTING/DIALING/INCOMING using hangup_active otherwise
release_specific.
2010-08-12 11:32:12 -05:00
Sjur Brændeland
dde0a4ccb5
voicecall: Rename hangup to hangup_active
2010-08-12 11:32:12 -05:00
Denis Kenzior
0c0f362ec3
include: Update to proper API naming
...
Should match what is in the documentation
2010-07-30 17:19:56 -05:00
Denis Kenzior
b3237600c4
gprs: Update gprs context struct with IPv6 support
2010-07-19 13:49:35 -05:00
Andrzej Zaborowski
23c5f28569
Add Dbus interface names for STK.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski
30e16fb5ca
Add OFONO_ERROR_TYPE_SIM for negative SIM statuses
...
Expected value of the .error field is status word 1 and status word 2
in bits 8:15 and 0:7 of the field.
2010-07-08 14:27:33 -05:00
Andrzej Zaborowski
cbdb7278ac
stk: Utilities for proactive command/envelope handling.
2010-07-08 14:27:33 -05:00
Denis Kenzior
11cc3ee922
sms: Add driver API for SMS bearer settings
2010-06-25 14:25:46 -05:00
Pasi Miettinen
dee07e4ad7
history: API change for status report notify
2010-06-21 10:52:32 -05:00
Marcel Holtmann
236f3acc0f
Add support for Features property on modem interface
2010-06-09 20:46:10 -07:00
Marcel Holtmann
9a72d2566d
Move data connection manager interface constants into common include
2010-06-09 20:38:50 -07:00
Marcel Holtmann
aa99c4c0dd
Rename CbsManger into CellBroadcast
...
Other D-Bus interfaces use clear descriptions like SupplementaryServices
or NetworkRegistration. So use CellBroadcast for cell broadcast support.
2010-06-09 20:07:11 -07:00
Denis Kenzior
19c10877a5
include: More style issues
2010-06-07 12:57:50 -05:00
Pekka Pessi
8001338da7
Use ofono_bool_t instead of bool in modem API.
2010-05-27 13:01:06 -05:00
Denis Kenzior
e7529bfa70
Fix: minor style issues
2010-05-26 21:03:12 -05:00
Pekka Pessi
4f1506ba25
Add: Online property to modem
...
The online/offline state is changed with the new set_online() modem driver
method.
In order to track atoms, there are modem states as follows:
- OFONO_MODEM_STATE_POWER_OFF
- OFONO_MODEM_STATE_PRE_SIM
- OFONO_MODEM_STATE_OFFLINE
- OFONO_MODEM_STATE_ONLINE
Atoms are added with driver methods pre_sim(), post_sim() and post_online().
Atoms are removed by modem core when the state changes.
2010-05-26 14:24:11 -05:00
Denis Kenzior
bbd6a1d48a
sim: No need for this define
2010-05-19 23:47:41 -05:00
Daniel Wagner
b338033307
Read EF_ICCID property of SIM
...
Tested with phonesim.
2010-05-19 23:41:03 -05:00
Aki Niemi
b8ec7553ef
Add network time support
...
Adding a new notify function in the netreg atom for notifying a
received Network Identification and Timezone (NITZ) indication. This
data is consumed via a nettime plugin, of which there is also an
example.
2010-05-19 10:46:18 +03:00
Denis Kenzior
632dc4c7e9
Fix: No glib types in oFono public API
2010-04-15 16:49:41 -05:00
Denis Kenzior
54552f1c33
Fix: Style issues in stk driver API
2010-04-15 16:49:41 -05:00
Andrzej Zaborowski
aad4d0de78
Add Sim Toolkit atom
...
- Add ofono_stk atom in stk.c
- Move envelope command from sim driver to stk driver
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
ddfe8acf11
Drivers can notify core of SIM insertion / removal
...
Add ofono_sim_inserted_notify function to notify the core of SIM
insertion / removal.
Make every plugin generate a sim inserted event on start. For devices
with removable card, the event should be emitted after the
plugin detects such event. For devices that need to wait for SIM card
initialization, they can emit this event later.
2010-04-15 16:49:40 -05:00
Andrzej Zaborowski
22cbe98146
Extend sim-ready watch with card insert/eject
2010-04-15 16:49:40 -05:00
Denis Kenzior
7972f844c7
Refactor: Simplify the internal GPRS API
...
We no longer expose lac/ci/tech attributes obtained from CGREG
(some modems, like ISI, do not even report them for GPRS separately).
Simplify the internal gprs driver api to only report the registration
status (e.g. home, roaming, searching, not registered, etc)
2010-03-26 23:00:28 -05:00
Denis Kenzior
538cd6a1cb
Refactor: Rename radio setting type names
2010-03-25 10:42:48 -05:00
Denis Kenzior
01a4a93bee
Move netreg interface definitions to dbus.h
2010-03-23 13:35:58 -05:00
Denis Kenzior
a5d54581ad
Move sim manager interface definition to dbus.h
2010-03-22 15:39:13 -05:00
Denis Kenzior
0e09221ea5
Move cbs interface definition to dbus.h
2010-03-22 15:36:04 -05:00
Denis Kenzior
500f291030
Move call volume interface definition to dbus.h
2010-03-22 15:33:56 -05:00
Denis Kenzior
bbfd7db3cc
Move mwi interface definition to dbus.h
2010-03-22 15:31:03 -05:00
Denis Kenzior
6425706c9d
Move radio settings interface definition to dbus.h
2010-03-22 15:29:03 -05:00
Denis Kenzior
5ab70ab5f2
Move sms interface definition to dbus.h
2010-03-22 15:28:08 -05:00
Denis Kenzior
e1e036b5df
Move voicecall interface definitions to dbus.h
2010-03-22 15:27:08 -05:00
Denis Kenzior
d87f285fdf
Add support for modem names
2010-02-12 18:29:41 -06:00
Aki Niemi
8730339f40
Move USSD status enum to header
2010-02-09 22:31:32 +02:00
Aki Niemi
8d4004d182
Add radio settings atom and driver API
...
This interface exposes a read-write property for radio access technology
selection mode.
2010-02-04 23:43:18 +02:00
Marcel Holtmann
e4850f2eeb
Add support for dynamic debug feature
2010-01-26 10:06:53 +01:00
Denis Kenzior
0382f64353
Refactor: Rename & Restructure cphs_support
...
- Rename to cphs_service_table to be more inline with the specification.
- Since the spec allows arbitrary length service tables, use an unsigned
char * return instead of a short.
- Use bit_field function instead of defining an enum
2010-01-12 11:27:31 -06:00
Denis Kenzior
2b231c3f84
Rename: Rename CPHS Phase enums
...
Be more consistent with the 3GPP Phase names
2010-01-12 11:23:21 -06:00
Andrzej Zaborowski
f97d203392
Use CPHS version of mailbox numbers on SIM if 3GPP version not available.
...
Otherwise just try to keep the CPHS version of the files in sync.
2010-01-12 11:12:01 -06:00
Andrzej Zaborowski
637ca18af4
Retrieve CPHS phase (if any) from SIM.
2010-01-12 10:35:51 -06:00
Denis Kenzior
1b5c314f9a
Refactor: Allow persisent modem names
2010-01-06 15:50:25 -06:00
Denis Kenzior
45f2f9315f
Set phase to unknown until we probe it
2010-01-06 14:17:27 -06:00
Denis Kenzior
beb3e032e4
Refactor: Preserve Phase obtained from the SIM
2010-01-06 13:19:47 -06:00
Andrzej Zaborowski
b4c3e1c1cc
Index SIM cache by phase also.
2010-01-06 13:14:20 -06:00
Marcel Holtmann
144080e749
Update copyright information
2010-01-01 17:00:10 -08:00
Andrzej Zaborowski
3547a8d39d
Add SIM download envelope function to SIM driver
2009-12-17 21:45:38 -06:00
Denis Kenzior
8495e047e6
Refactor: use unsigned ints for cids
2009-12-09 21:02:47 -06:00
Denis Kenzior
0b754835f5
Add utility to get the next free call id
2009-12-04 16:52:30 -06:00
Denis Kenzior
8e02b1a67f
Refactor: Remove list_calls from voicecall driver
2009-12-04 16:52:30 -06:00
Denis Kenzior
55572b6e69
Style: Use unsigned int instead of unsigned
2009-12-01 12:42:23 -06:00
Zhenhua Zhang
f3fe75553a
Add mpty field to ofono_call
...
A field 'mpty' is added to ofono_call so that we can know
whether the call belongs to multiparty call or not. According
to 27.007 7.18, it is a defined return value of AT+CLCC.
2009-11-23 09:04:48 +01:00
Denis Kenzior
91dfc2ddb9
Support returning settings from context activation
2009-11-17 18:54:21 -06:00
Martin Xu
26413141be
Add ofono_gprs_context_get_modem
2009-11-17 15:56:31 -06:00
Denis Kenzior
5e8583f1b7
Update some internal documentation
2009-11-13 15:34:20 -06:00
Denis Kenzior
9afdf1a35b
Add SMS history capability
2009-11-05 16:46:43 -06:00
Denis Kenzior
cbc1f998f2
Update the netreg driver to use mcc/mnc
...
Don't use the ofono_network_operator structure anymore
2009-10-29 15:29:12 -05:00
Denis Kenzior
24d8a5722b
Refactor: replace netreg get_operator with mcc/mnc
...
The full operator information is useless as only mcc/mnc are really
required. The internal structures will be changing soon
2009-10-27 19:47:52 -05:00
Denis Kenzior
bc72cca91b
Fix: notify_attached was only used when detached
...
The standard only specifies that the context might have been detached by
the network / mobile equipment. Not attached.
2009-10-26 16:55:03 -05:00
Denis Kenzior
722204ae6c
Fix: Connect up gprs and gprs_context
2009-10-23 17:05:56 -05:00
Denis Kenzior
a3b736afe5
Add implementation of GPRS context atom
2009-10-23 17:05:56 -05:00
Denis Kenzior
08eda615c5
Refactor/Implement basic activate logic
...
Not yet tested
2009-10-23 17:05:55 -05:00
Denis Kenzior
0b45287dbd
Fix: Typos
2009-10-23 17:05:55 -05:00
Denis Kenzior
65f77b2b3a
Add CID range function
2009-10-23 17:05:54 -05:00
Denis Kenzior
bb7945d6aa
Refactor: Split up GPRS into two atoms
...
Split up GPRS into two atoms: GPRS and GPRS Context. GPRS will handle
the areas of GPRS network registration, basic GPRS capability detection
and attach / detach.
GPRS Context will handle setting up / activating / deactivating the
indicidual contexts.
This will allow us to use the generic GPRS atom for most devices while
customizing the GPRS context accordingly.
2009-10-23 17:05:54 -05:00