[PATCH] Added UIM read record function
c.lobrano at gmail.com
Wed Oct 11 07:39:19 UTC 2017
Replying to my own question, since might be useful to somebody else.
I found a nice definition of CRSM code 192 "GET RESPONSE" here:
"<STATUS> and <GET RESPONSE> commands return data, which gives
information about the currently selected elementary data field. This
information includes the type of file and its size.
The last sentence in particular was revealing, so the correspondent QMI
query is UIM_GET_FILE_ATTRIBUTES that provides file type and file size (and
lot of other information) together with the same reply CRSM returns in the
fields "sw1", "sw2" and "raw-data".
On 6 October 2017 at 10:55, Carlo Lobrano <c.lobrano at gmail.com> wrote:
> Great, thanks!
> Sorry if I use this thread, but I'm trying to replace any AT+CRSM call
> with a QMI one, and I saw that there are QMI READ TRANSPARENT and this QMI
> READ RECORD for AT+CRSM codes 176 and 178 (read binary and read record),
> but what about +CRSM codes 192 (get response) and 242 (STATUS)? I could not
> find any similarity in QMI protocol so far
> On 6 October 2017 at 10:34, Aleksander Morgado <aleksander at aleksander.es>
>> On Tue, Oct 3, 2017 at 4:24 PM, Carlo Lobrano <c.lobrano at gmail.com>
>> > Hi,
>> > this PR adds UIM read record function
>> > https://github.com/linux-mobile-broadband/libqmi/pull/1
>> Pushed to git master, thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the libqmi-devel