[PATCH] basic-connect: fix notification code generation

Aleksander Morgado aleksander at aleksander.es
Mon Mar 3 00:26:25 PST 2014


On 01/03/14 08:49, Ben Chan wrote:
> ---
>  data/mbim-service-basic-connect.json | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 

Pushed, thanks.

> diff --git a/data/mbim-service-basic-connect.json b/data/mbim-service-basic-connect.json
> index fb177c5..854b5cc 100644
> --- a/data/mbim-service-basic-connect.json
> +++ b/data/mbim-service-basic-connect.json
> @@ -221,12 +221,12 @@
>                         "format"           : "ref-struct-array" ,
>                         "struct-type"      : "MbimProvider",
>                         "array-size-field" : "ProvidersCount" } ],
> -    "indication" : [ { "name"   : "ProvidersCount",
> -                       "format" : "guint32" },
> -                     { "name"             : "Providers",
> -                       "format"           : "ref-struct-array" ,
> -                       "struct-type"      : "MbimProvider",
> -                       "array-size-field" : "ProvidersCount" } ] },
> +    "notification" : [ { "name"   : "ProvidersCount",
> +                         "format" : "guint32" },
> +                       { "name"             : "Providers",
> +                         "format"           : "ref-struct-array" ,
> +                         "struct-type"      : "MbimProvider",
> +                         "array-size-field" : "ProvidersCount" } ] },
>  
>    // *********************************************************************************
>    { "name"       : "Visible Providers",
> @@ -801,11 +801,11 @@
>                         "format"           : "ref-struct-array" ,
>                         "struct-type"      : "MbimProvider",
>                         "array-size-field" : "ProvidersCount" } ],
> -    "indication" : [ { "name"   : "ProvidersCount",
> -                       "format" : "guint32" },
> -                     { "name"             : "Providers",
> -                       "format"           : "ref-struct-array" ,
> -                       "struct-type"      : "MbimProvider",
> -                       "array-size-field" : "ProvidersCount" } ] }
> +    "notification" : [ { "name"   : "ProvidersCount",
> +                         "format" : "guint32" },
> +                       { "name"             : "Providers",
> +                         "format"           : "ref-struct-array" ,
> +                         "struct-type"      : "MbimProvider",
> +                         "array-size-field" : "ProvidersCount" } ] }
>  
>  ]
> 


-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list