Ofono cross compiling for ARM
by Yuvaraj Ragupathi
Hi Guys,
I want to cross compile the ofono for ARM target.
So i executed configure file with following arguments
#./configure --host=arm
--libdir=/usr/lib/madde/linux-i686/sysroots/meego-core-armv7l-madde-sysroot-1.1.2-fs/usr/lib
--prefix=/home/$myname/Desktop/ofono_For_ARM/binaries
--includedir=/usr/lib/madde/linux-i686/sysroots/meego-core-armv7l-madde-sysroot-1.1.2-fs/usr/include
It is giving config related error message
configure: error: signalfd support is required
What it does mean?
To cross compile the ofono for ARM. What are the dependencies are required
Thanks
Addu T.R
11 years
[PATCH v3 00/26] Escape Sequence Dectection implementation
by Guillaume Zajac
Hi,
This set of patches is an update of the previous one.
The main diff are:
- Rework Escape Sequence detection mechanism:
* we don't need a timeout to detect the 3 '+'
GUARD_TIMEOUTS only is enough.
* Be sure g_source timeout is deleted at hdlc_unref().
- GAtIO: add API to drain write buffer when hdlc is suspended
because we can't acces to GAtIO ring buffer externally.
- ppp_net: add API to suspend/resume GIOCHannel read watch
of TUN/TAP interface.
- GAtChat: add API to send <pause> +++ <pause> escape sequence
- gsmdial controls only the time interval between escape sequence
and ATO0/ATHO.
- emulator: rework ATH0 and ATO0 callbacks, add switch on emulator
type to register AT callbacks.
Kind regards,
Guillaume
Guillaume Zajac (26):
gat: add GAtSuspendFunc CB typedef
gatio: add prototype to drain GAtIO read buffer
gatio: add g_at_io_drain_ring_buffer() definition
gathdlc: add g_at_hdlc_set_suspend_function() prototype
gathdlc: add mechansim to detect '+++' escape sequence
gatppp: add g_at_ppp_set_suspend_function() prototype
gatppp: add g_at_ppp_set_suspend_function() definition
gathdlc: add g_at_hdlc_suspend() prototype
gathdlc: add g_at_hdlc_suspend() definition
ppp: add ppp_net_suspend_interface() prototype
ppp_net: add ppp_net_suspend_interface() definition
gatppp: add g_at_ppp_suspend() prototype
gatppp: add g_at_ppp_suspend() definition
emulator: add ppp_suspend() CB and register it
emulator: add dun_ath_cb() and register it
gathdlc: add g_at_hdlc_resume() prototype
gathdlc: add g_at_hdlc_resume() definition
ppp: add ppp_net_resume_interface() prototype
ppp_net: add ppp_net_resume_interface() definition
gatppp: add g_at_ppp_resume() prototype
gatppp: add g_at_ppp_resume() definition.
emulator: add dun_ato_cb() and register it
gsmdial: add new option to test sending escape sequence
gatchat: add g_at_chat_send_escape_sequence() prototype
gatchat: add g_at_chat_send_escape_sequence() definition
gsmdial: implement test sequence +++-ATO0-+++-ATH0
gatchat/gat.h | 1 +
gatchat/gatchat.c | 32 +++++++++++++
gatchat/gatchat.h | 2 +
gatchat/gathdlc.c | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++++
gatchat/gathdlc.h | 6 +++
gatchat/gatio.c | 5 ++
gatchat/gatio.h | 2 +
gatchat/gatppp.c | 34 ++++++++++++++
gatchat/gatppp.h | 4 ++
gatchat/gsmdial.c | 81 ++++++++++++++++++++++++++++++++++
gatchat/ppp.h | 2 +
gatchat/ppp_net.c | 19 ++++++++
src/emulator.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++-
13 files changed, 437 insertions(+), 2 deletions(-)
11 years
[PATCH] isimodem: use a specific call id when answering
by Pekka.Pessi@nokia.com
From: Pekka Pessi <Pekka.Pessi(a)nokia.com>
---
drivers/isimodem/voicecall.c | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 333f9b8..4d4e16b 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -1480,7 +1480,27 @@ static void isi_dial(struct ofono_voicecall *ovc,
static void isi_answer(struct ofono_voicecall *ovc, ofono_voicecall_cb_t cb,
void *data)
{
- isi_call_answer_req(ovc, CALL_ID_ALL, cb, data);
+ struct isi_voicecall *ivc = ofono_voicecall_get_data(ovc);
+ int id;
+
+ for (id = 1; id <= 7; id++) {
+ switch (ivc->calls[id].status) {
+ case CALL_STATUS_COMING:
+ case CALL_STATUS_MT_ALERTING:
+ case CALL_STATUS_WAITING:
+ goto answer;
+ case CALL_STATUS_PROCEEDING:
+ if (ivc->calls[id].mode_info & CALL_MODE_ORIGINATOR)
+ goto answer;
+ break;
+ }
+ }
+
+ CALLBACK_WITH_FAILURE(cb, data);
+ return;
+
+answer:
+ isi_call_answer_req(ovc, id, cb, data);
}
static void isi_hangup_current(struct ofono_voicecall *ovc,
--
1.7.1
11 years
Using ofono in C
by Artem Makhutov
Hello,
I am looking for some examples how to use ofono in C.
I need something lightweight without using thinks like Qt so ofono might
be run on low end devices like wifi routers.
Thanks, Artem
11 years
[PATCH v2 0/6] phonesim: Add call status UI
by Nicolas Bertrand
This patch introduce a new tab "call" in phonesim UI in order to display calls
informationsi (id, number, status, name and direction).
The interface to send CSSU and CSSI notification is now dynamic based on the
type of current calls.
Fix some coding-style violations.
Nicolas Bertrand (6):
callmanager: Add signal on call status change
control: Update UI using call status
hardwaremanipulator: add callmanagement method
phonesim: Connect call status signal
controlbase.ui: Add call mangement tab
control: Update call view
src/callmanager.cpp | 22 +++++++
src/callmanager.h | 3 +
src/control.cpp | 140 ++++++++++++++++++++++++++++++++++++++-----
src/control.h | 6 ++
src/controlbase.ui | 61 +++++++++++++++++++
src/hardwaremanipulator.cpp | 4 +
src/hardwaremanipulator.h | 2 +
src/phonesim.cpp | 2 +
8 files changed, 224 insertions(+), 16 deletions(-)
11 years