[PATCH v2 5/5] loc: add definitions for more messages

Aleksander Morgado aleksander at aleksander.es
Sun Feb 11 20:48:41 UTC 2018


On Sun, Feb 11, 2018 at 9:28 PM, Bjørn Mork <bjorn at mork.no> wrote:
> Aleksander Morgado <aleksander at aleksander.es> writes:
>
>>> I was not aware of the rule that TLV < 0x10 should be mandatory.
>>> Maybe we could express the default logic in the code generator?
>>>
>>
>> Not that I've seen that rule in written anywhere... I just got that
>> impression from all the other messages I've encoded myself :)
>>
>> Maybe we could have a warning issued by the generator if it finds some
>> inconsitencies with that rule, but I wouldn't hardcode the logic to be
>> applied automatically... unless we see it in written somewhere! :)
>
> It sure would be nice if Qualcomm published some of their now ancient
> docs under a less restrictive agreement...  Then we could have answered
> both this question and the little endian question.
>
> But I guess we just have to pretend we don't know the answers :-)
>
> Maybe Qualcomm will apply for a patent on little endian?  Or maybe Apple
> already did?  Who knows.  I am sure it is important that we don't
> disclose this company critical information.
>

Wait, is there anywhere in the docs where it said anything about TLVs
< 0x10 being mandatory?  I wasn't really trying to play any game, I
honestly don't recall having read that.

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list