File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -73,28 +73,28 @@ struct DeviceBeginCmd {
7373 Command c ;
7474 struct {
7575 char lib_version [MAX_LIB_VERSION_SIZE ];
76- } params ;
76+ };
7777};
7878
7979struct ThingBeginCmd {
8080 Command c ;
8181 struct {
8282 char thing_id [THING_ID_SIZE ];
83- } params ;
83+ };
8484};
8585
8686struct ThingUpdateCmd {
8787 Command c ;
8888 struct {
8989 char thing_id [THING_ID_SIZE ];
90- } params ;
90+ };
9191};
9292
9393struct ThingDetachCmd {
9494 Command c ;
9595 struct {
9696 char thing_id [THING_ID_SIZE ];
97- } params ;
97+ };
9898};
9999
100100struct LastValuesBeginCmd {
@@ -106,14 +106,14 @@ struct LastValuesUpdateCmd {
106106 struct {
107107 uint8_t * last_values ;
108108 size_t length ;
109- } params ;
109+ };
110110};
111111
112112struct OtaBeginUp {
113113 Command c ;
114114 struct {
115115 uint8_t sha [SHA256_SIZE ];
116- } params ;
116+ };
117117};
118118
119119struct OtaProgressCmdUp {
@@ -123,7 +123,7 @@ struct OtaProgressCmdUp {
123123 uint8_t state ;
124124 int32_t state_data ;
125125 uint64_t time ;
126- } params ;
126+ };
127127};
128128
129129struct OtaUpdateCmdDown {
@@ -133,7 +133,7 @@ struct OtaUpdateCmdDown {
133133 char url [URL_SIZE ];
134134 uint8_t initialSha256 [SHA256_SIZE ];
135135 uint8_t finalSha256 [SHA256_SIZE ];
136- } params ;
136+ };
137137};
138138
139139struct TimezoneCommandUp {
@@ -145,7 +145,7 @@ struct TimezoneCommandDown {
145145 struct {
146146 int32_t offset ;
147147 uint32_t until ;
148- } params ;
148+ };
149149};
150150
151151union CommandDown {
You can’t perform that action at this time.
0 commit comments