[PATCH 5/5] doc: Document the new DialMemory method of the voicecallmanager-api

2018-02-12 Thread philippedeswert
From: Philippe De Swert The new DialMemory method call needs to be documented so it is clear how to use it. --- doc/voicecallmanager-api.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/voicecallmanager-api.txt b/doc/voicecallmanager-api.txt

[PATCH 4/5] hfpmodem: Add memory dialling support

2018-02-12 Thread philippedeswert
From: Philippe De Swert Handle the request to dial from a memory index and send the correct ATD> sequence to make it happen. --- drivers/hfpmodem/voicecall.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/hfpmodem/voicecall.c

[PATCH 2/5] voicecall: Add support for dialing number at a given memory location

2018-02-12 Thread philippedeswert
From: Philippe De Swert Add a new function to be able to dial numbers from memory/favourites. --- include/voicecall.h | 4 1 file changed, 4 insertions(+) diff --git a/include/voicecall.h b/include/voicecall.h index 6871a6b5..5b3da6a6 100644 ---

[PATCH 1/5] voicecall: Rename callbacks/functions related to dialing the last called number

2018-02-12 Thread philippedeswert
From: Philippe De Swert Calling from memory index is very similar in functionality to dialing the last called number. So we rename the functions so we can reuse them, to deal with memory index calling. Function names now also reflect this is for hfp. ---

[PATCH 0/5] Add Bluetooth HFP memory index dialing V3

2018-02-12 Thread philippedeswert
From: Philippe De Swert Hi, Finally got some time to redo the patches from last time after all the comments. So I renamed the functions to reflect clearly what they are for and avoid functionality duplication, used an unsigned int as suggested for the memory index,

[PATCH 3/5] voicecall: Add functionality to manager to dial from a memory location.

2018-02-12 Thread philippedeswert
From: Philippe De Swert Implement functionality to allow to dial favourites/quick contacts over bluetooth. --- src/voicecall.c | 60 +++-- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git

[PATCH 1/8] ublox-serial: add new plugin for u-blox

2019-02-15 Thread philippedeswert
From: Philippe De Swert Add support for ublox modems that are used over the serial port. (tested on SARA-R410M and R412M) --- plugins/ublox-serial.c | 393 + plugins/udevng.c | 1 + 2 files changed, 394 insertions(+) create mode 100644

[PATCH 3/8] gprs.h: Add ofono_gprs_get_netreg function

2019-02-15 Thread philippedeswert
From: Tommi Rekosuo Add function to get registration technology. --- include/gprs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gprs.h b/include/gprs.h index 988d6102..eaf9f2de 100644 --- a/include/gprs.h +++ b/include/gprs.h @@ -62,6 +62,7 @@ void

[PATCH 5/8] atmodem/gprs.c: Add CEREG support

2019-02-15 Thread philippedeswert
From: Tommi Rekosuo For NB-IoT modems we need to use AT+CEREG instead of AT+CGREG when in LTE network and detecting network registration in initial boot. Enable +CEREG URC and use that also to detect registration state. --- drivers/atmodem/gprs.c | 60 +++---

[PATCH 4/8] gprs.c: Add ofono_gprs_get_netreg function

2019-02-15 Thread philippedeswert
From: Tommi Rekosuo Add function to get registration technology. --- src/gprs.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gprs.c b/src/gprs.c index 3dce001b..f1146d06 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -3392,3 +3392,8 @@ void *ofono_gprs_get_data(struct ofono_gprs

[PATCH 0/8] [RFC] Support for serial u-blox NB-IoT modems

2019-02-15 Thread philippedeswert
From: Philippe De Swert Hi, Lately we have been trying to get a u-blox SARA-R410 and R412 to work with ofono. We inspired ourselves on the existing u-blox driver and ran into some weird issues (mostly issues with roaming sims). So it would be nice to get some feedback on what we might have

[PATCH 8/8] Fix gprs_netreg_update behaviour if PPP connection active

2019-02-15 Thread philippedeswert
From: Tommi Rekosuo If a PPP connection is active, the modem can't detach before the PPP connection has been disabled. This can happen if RoamingAllowed is changed when connection is active. This leaves connman in undefined state as the context 'Active' state is not propagated properly and

[PATCH 7/8] common: Add new NB-IoT technologies

2019-02-15 Thread philippedeswert
From: Philippe De Swert Add lte-cat-m1 and lte-cat-nb1 technology identifiers. --- src/common.c | 4 src/common.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/common.c b/src/common.c index ea7842cc..4dcbc835 100644 --- a/src/common.c +++ b/src/common.c @@ -697,6 +697,10 @@

[PATCH 2/8] Makefile.am : include new u-blox serial modem driver

2019-02-15 Thread philippedeswert
From: Philippe De Swert Make sure the new u-blox serial modem driver gets built. --- Makefile.am | 4 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index 6aa8f8fe..df7827d4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -596,6 +596,10 @@ builtin_sources +=

[PATCH 6/8] gprs-context : Force use of atd99

2019-02-15 Thread philippedeswert
From: Philippe De Swert QUIRCK: For some reason I really need to force the use of the atd99 command here. --- drivers/atmodem/gprs-context.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/atmodem/gprs-context.c b/drivers/atmodem/gprs-context.c index