From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v3 2/7] netmon: handle OFONO_NETMON_INFO_{RSCP|ECN0|RSRQ|RSRP} in D-Bus
Date: Wed, 30 Nov 2016 09:31:45 -0600 [thread overview]
Message-ID: <583EF0E1.6010304@gmail.com> (raw)
In-Reply-To: <1480509105-17934-3-git-send-email-djalal@endocode.com>
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
Hi Djalal,
On 11/30/2016 06:31 AM, Djalal Harouni wrote:
> Handle the previously added types in D-Bus.
>
> Documentation for these values is in next patch.
> ---
> src/netmon.c | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
Tweaked the commit description and ...
> diff --git a/src/netmon.c b/src/netmon.c
> index eb18b9c..2a8c524 100644
> --- a/src/netmon.c
> +++ b/src/netmon.c
> @@ -180,6 +180,34 @@ void ofono_netmon_serving_cell_notify(struct ofono_netmon *netmon,
> intval, uint8_t, DBUS_TYPE_BYTE);
> break;
>
> + case OFONO_NETMON_INFO_RSCP:
> + intval = va_arg(arglist, int);
> +
> + CELL_INFO_DICT_APPEND(&dict, "ReceivedSignalCodePower",
> + intval, uint8_t, DBUS_TYPE_BYTE);
> + break;
> +
> + case OFONO_NETMON_INFO_ECN0:
> + intval = va_arg(arglist, int);
> +
> + CELL_INFO_DICT_APPEND(&dict, "ReceivedEnergyRatio",
> + intval, uint8_t, DBUS_TYPE_BYTE);
> + break;
> +
> + case OFONO_NETMON_INFO_RSRQ:
> + intval = va_arg(arglist, int);
> +
> + CELL_INFO_DICT_APPEND(&dict, "ReferenceSignalReceivedQuality",
> + intval, uint8_t, DBUS_TYPE_BYTE);
> + break;
> +
> + case OFONO_NETMON_INFO_RSRP:
> + intval = va_arg(arglist, int);
> +
> + CELL_INFO_DICT_APPEND(&dict, "ReferenceSignalReceivedPower",
> + intval, uint8_t, DBUS_TYPE_BYTE);
> + break;
> +
The above 2 CELL_INFO_DICT_APPEND lines were > 80 characters. So I
amended the patch to fix that.
> case OFONO_NETMON_INFO_INVALID:
> break;
> }
>
Applied, thanks!
Regards,
-Denis
next prev parent reply other threads:[~2016-11-30 15:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 12:31 [PATCH v3 0/7] ubloxmodem add netmon interface Djalal Harouni
2016-11-30 12:31 ` [PATCH v3 1/7] netmon: add OFONO_NETMON_INFO_{RSCP|ECN0|RSRQ|RSRP} Djalal Harouni
2016-11-30 15:27 ` Denis Kenzior
2016-11-30 12:31 ` [PATCH v3 2/7] netmon: handle OFONO_NETMON_INFO_{RSCP|ECN0|RSRQ|RSRP} in D-Bus Djalal Harouni
2016-11-30 15:31 ` Denis Kenzior [this message]
2016-11-30 12:31 ` [PATCH v3 3/7] doc: documentation for OFONO_NETMON_INFO_{RSCP|ECN0|RSRQ|RSRP} Djalal Harouni
2016-11-30 15:28 ` Denis Kenzior
2016-11-30 12:31 ` [PATCH v3 4/7] ubloxmodem: add the netmon driver Djalal Harouni
2016-11-30 15:55 ` Denis Kenzior
2016-12-01 13:39 ` [PATCH v4 " Djalal Harouni
2016-12-01 13:51 ` [PATCH v3 " Djalal Harouni
2016-12-01 17:18 ` Denis Kenzior
2016-12-05 14:28 ` Djalal Harouni
2016-12-01 13:59 ` [PATCH v5 " Djalal Harouni
2016-12-01 17:29 ` Denis Kenzior
2016-12-05 14:29 ` Djalal Harouni
2016-11-30 12:31 ` [PATCH v3 5/7] ubloxmodem: register and initialize " Djalal Harouni
2016-11-30 12:31 ` [PATCH v3 6/7] build: build the ublox " Djalal Harouni
2016-11-30 12:31 ` [PATCH v3 7/7] test: support OFONO_NETMON_INFO_{RXLEV|RSCP|ECN0|RSRQ|RSRP} Djalal Harouni
2016-11-30 15:56 ` Denis Kenzior
2016-12-01 13:52 ` Djalal Harouni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=583EF0E1.6010304@gmail.com \
--to=denkenz@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox