All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: ofono@ofono.org
Subject: Re: Bug/Oversight in gatchat/gatresult.c with negative numbers
Date: Fri, 06 Aug 2021 15:49:24 +0100	[thread overview]
Message-ID: <d9bb5080-c501-84e6-3d68-eead1020c830@dynamicdevices.co.uk> (raw)
In-Reply-To: <8b36e889-4803-870f-884e-da4a41ee70a5@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]


On 06/08/2021 15:44, Denis Kenzior wrote:
> Hi Alex,
>
>>
>> OK - they say it's fine and you say it's not. I don't have the time 
>> to be the middle-man here.
>>
>
> I'm fairly certain your vendor's firmware is not following the 
> relevant standards, but it sounds like they don't want to fix it. What 
> can I do? :)

Yeah I think you are right and I am getting really irritated with them 
giving me the run-around tbh.

>
>> Although I'd like to, clearly I won't be able to contribute this 
>> Quectel support upstream.
>>
>
> Why does it even matter?  I told you very early on that it would be 
> acceptable to add a new g_at_result_* method that handles negative 
> integers.
>
> Regards,
> -Denis

Yeah ok - what name do you suggest?

Also there's a bigger problem here I think, which is that if I parse 
negative values and try to pass them back via e.g. netmon interface then 
Ofono is treating anything negative in there as an error.

And the DBUS implementation is unsigned for values based on the thinking 
that AT responses are non-negative.

So actually there are a number of invasive changes that seem to need to 
be made to support negative numbers?

Alex


  reply	other threads:[~2021-08-06 14:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-20 16:11 Bug/Oversight in gatchat/gatresult.c with negative numbers Alex J Lennon
2021-07-27 14:38 ` Denis Kenzior
2021-07-27 15:02   ` Alex J Lennon
2021-08-03  9:48   ` Alex J Lennon
2021-08-03 14:28     ` Denis Kenzior
2021-08-03 14:45       ` Alex J Lennon
2021-08-06  9:31       ` Alex J Lennon
2021-08-06 14:06       ` Alex J Lennon
2021-08-06 14:20         ` Denis Kenzior
2021-08-06 14:28           ` Alex J Lennon
2021-08-06 14:44             ` Denis Kenzior
2021-08-06 14:49               ` Alex J Lennon [this message]
2021-08-06 15:02                 ` Denis Kenzior
2021-08-09  6:40                   ` Martin =?unknown-8bit?q?Hundeb=C3=B8ll?=

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=d9bb5080-c501-84e6-3d68-eead1020c830@dynamicdevices.co.uk \
    --to=ajlennon@dynamicdevices.co.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.