Re: Developing a SIM800 plugin - further questions

2018-06-21 Thread Denis Kenzior
Hi Arsenijs, On 06/21/2018 06:37 PM, Pičugins Arsenijs wrote: I'm now working on a SIM800 plugin, specifically, for a UART-connected SIM800 and a Raspberry Pi Zero. There are minor adjustments that we need to make, so we've copied the SIM900 plugin to make sure that we can make adjustments in a

Developing a SIM800 plugin - further questions

2018-06-21 Thread Pičugins Arsenijs
I'm now working on a SIM800 plugin, specifically, for a UART-connected SIM800 and a Raspberry Pi Zero. There are minor adjustments that we need to make, so we've copied the SIM900 plugin to make sure that we can make adjustments in a clean way (and also compare it to a known-working SIM900 setup).

[PATCH 11/12] voicecall: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- src/voicecall.c | 144 1 file changed, 73 insertions(+), 71 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index e4f6a4c..a5de038 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -177,10 +177,10 @@ static const char

[PATCH 12/12] common: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- src/common.c | 20 ++-- src/common.h | 33 + 2 files changed, 11 insertions(+), 42 deletions(-) diff --git a/src/common.c b/src/common.c index 3ccaf7c..06b3521 100644 --- a/src/common.c +++ b/src/common.c @@ -740,26 +740,26 @@ const char

[PATCH 08/12] cdma-voicecall: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- src/cdma-voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdma-voicecall.c b/src/cdma-voicecall.c index fd38dd8..90cad10 100644 --- a/src/cdma-voicecall.c +++ b/src/cdma-voicecall.c @@ -251,7 +251,7 @@ static void manager_dial_callback(const struct

[PATCH 09/12] emulator: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- src/emulator.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/emulator.c b/src/emulator.c index ccb26dc..bda8f35 100644 --- a/src/emulator.c +++ b/src/emulator.c @@ -404,9 +404,9 @@ static gboolean notify_ccwa(void *user_data)

[PATCH 10/12] stk: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- src/stk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stk.c b/src/stk.c index 9cdf2b1..eb27555 100644 --- a/src/stk.c +++ b/src/stk.c @@ -1732,7 +1732,7 @@ static void call_setup_connected(struct ofono_call *call, void *data) static struct ofono_error

[PATCH 06/12] rilmodem: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- drivers/rilmodem/voicecall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rilmodem/voicecall.c b/drivers/rilmodem/voicecall.c index b7180b9..585f216 100644 --- a/drivers/rilmodem/voicecall.c +++ b/drivers/rilmodem/voicecall.c @@ -288,7 +288,7 @@ no_calls:

[PATCH 03/12] hfpmodem: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- drivers/hfpmodem/voicecall.c | 92 +++- 1 file changed, 48 insertions(+), 44 deletions(-) diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index 6ffe9d5..1ab2aa2 100644 --- a/drivers/hfpmodem/voicecall.c +++

[PATCH 01/12] include: Expose voicecall related enums to plugins

2018-06-21 Thread Slava Monich
--- include/types.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/include/types.h b/include/types.h index 2c64b20..a562bfe 100644 --- a/include/types.h +++ b/include/types.h @@ -49,6 +49,37 @@ enum ofono_clir_option { OFONO_CLIR_OPTION_SUPPRESSION,

[PATCH 04/12] huaweimodem: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- drivers/huaweimodem/voicecall.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/huaweimodem/voicecall.c b/drivers/huaweimodem/voicecall.c index f55568d..36a16a1 100644 --- a/drivers/huaweimodem/voicecall.c +++ b/drivers/huaweimodem/voicecall.c

[PATCH 07/12] stemodem: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- drivers/stemodem/voicecall.c | 77 +++- 1 file changed, 40 insertions(+), 37 deletions(-) diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c index 356ab7c..eb4431c 100644 --- a/drivers/stemodem/voicecall.c +++

[PATCH 05/12] ifxmodem: Use new voicecall enums

2018-06-21 Thread Slava Monich
--- drivers/ifxmodem/voicecall.c | 59 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/drivers/ifxmodem/voicecall.c b/drivers/ifxmodem/voicecall.c index 45b5ca4..9055b2d 100644 --- a/drivers/ifxmodem/voicecall.c +++