瀏覽代碼

Was using wrong protobuf - release

philippe44 2 年之前
父節點
當前提交
7e733f4fa9
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      components/spotify/cspot/protobuf/mercury.pb.c
  2. 3 3
      components/spotify/cspot/protobuf/mercury.pb.h

+ 1 - 1
components/spotify/cspot/protobuf/mercury.pb.c

@@ -6,7 +6,7 @@
 #error Regenerate this file with the current version of nanopb generator.
 #endif
 
-PB_BIND(Header, Header, AUTO)
+PB_BIND(Header, Header, 2)
 
 
 

+ 3 - 3
components/spotify/cspot/protobuf/mercury.pb.h

@@ -12,9 +12,9 @@
 /* Struct definitions */
 typedef struct _Header { 
     bool has_uri;
-    char uri[64]; 
+    char uri[256]; 
     bool has_method;
-    char method[32]; 
+    char method[64]; 
 } Header;
 
 
@@ -43,7 +43,7 @@ extern const pb_msgdesc_t Header_msg;
 #define Header_fields &Header_msg
 
 /* Maximum encoded size of messages (where known) */
-#define Header_size                              98
+#define Header_size                              323
 
 #ifdef __cplusplus
 } /* extern "C" */