diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-01-25 14:13:30 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-02-02 17:13:28 +0100 |
commit | 4d79d1f017b6e554e82a9de01ebe939a74b4468d (patch) | |
tree | c76dc4b031c4296fe2107e6bb0f98495e92bb6ed /data/mbim-service-basic-connect.json | |
parent | 916d1ca2220ddb6703522d5bdfe672cd76fa15be (diff) |
mbim-codegen,libmbim-glib: improve general array and variable reading
In the general variable reading part, we no longer need specific methods for
'command' or 'command-done' message types.
Also, when reading arrays, we will specify separately the variable with the
array size and the variable with the actual array contents. Main reason for this
is that it seems they don't have to be one after the other.
The arrays of guint32 will be '0' terminated. This is useful for parameters
where '0' is not an expected value. In general, the size of arrays of guint32
values is given in the output 'size' variable when the array is read.
Diffstat (limited to 'data/mbim-service-basic-connect.json')
-rw-r--r-- | data/mbim-service-basic-connect.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/data/mbim-service-basic-connect.json b/data/mbim-service-basic-connect.json index 649b488..8b5c0ac 100644 --- a/data/mbim-service-basic-connect.json +++ b/data/mbim-service-basic-connect.json @@ -52,6 +52,10 @@ { "name" : "Ready Info", "format" : "guint32", "public-format" : "MbimReadyInfoFlag" }, - { "name" : "Telephone numbers", - "format" : "string-array" } ] } } + { "name" : "Telephone Numbers Count", + "format" : "guint32", + "visibility" : "private" }, + { "name" : "Telephone Numbers", + "format" : "string-array", + "array-size-field" : "Telephone Numbers Count" } ] } } ] |