Skip to content

Commit e2121ca

Browse files
author
Nicolasdejean
committed
fix
1 parent 0fc94e7 commit e2121ca

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/api/appData.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ package api;
55
message AppData {
66
optional bool light = 1;
77
optional bool activation_limit = 2;
8-
optional bool switch = 3;
8+
optional bool switch_state = 3;
99
optional float deactivation_limit = 4;
1010
}

src/appData.pb.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.3.7 at Fri Dec 9 16:53:37 2016. */
2+
/* Generated by nanopb-0.3.7 at Fri Dec 9 17:11:33 2016. */
33

44
#include "appData.pb.h"
55

@@ -13,8 +13,8 @@
1313
const pb_field_t api_AppData_fields[5] = {
1414
PB_FIELD( 1, BOOL , OPTIONAL, STATIC , FIRST, api_AppData, light, light, 0),
1515
PB_FIELD( 2, BOOL , OPTIONAL, STATIC , OTHER, api_AppData, activation_limit, light, 0),
16-
PB_FIELD( 3, BOOL , OPTIONAL, STATIC , OTHER, api_AppData, switch, activation_limit, 0),
17-
PB_FIELD( 4, FLOAT , OPTIONAL, STATIC , OTHER, api_AppData, deactivation_limit, switch, 0),
16+
PB_FIELD( 3, BOOL , OPTIONAL, STATIC , OTHER, api_AppData, switch_state, activation_limit, 0),
17+
PB_FIELD( 4, FLOAT , OPTIONAL, STATIC , OTHER, api_AppData, deactivation_limit, switch_state, 0),
1818
PB_LAST_FIELD
1919
};
2020

src/appData.pb.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.3.7 at Fri Dec 9 16:53:37 2016. */
2+
/* Generated by nanopb-0.3.7 at Fri Dec 9 17:11:33 2016. */
33

44
#ifndef PB_API_APPDATA_PB_H_INCLUDED
55
#define PB_API_APPDATA_PB_H_INCLUDED
@@ -20,8 +20,8 @@ typedef struct _api_AppData {
2020
bool light;
2121
bool has_activation_limit;
2222
bool activation_limit;
23-
bool has_switch;
24-
bool switch;
23+
bool has_switch_state;
24+
bool switch_state;
2525
bool has_deactivation_limit;
2626
float deactivation_limit;
2727
/* @@protoc_insertion_point(struct:api_AppData) */
@@ -36,7 +36,7 @@ typedef struct _api_AppData {
3636
/* Field tags (for use in manual encoding/decoding) */
3737
#define api_AppData_light_tag 1
3838
#define api_AppData_activation_limit_tag 2
39-
#define api_AppData_switch_tag 3
39+
#define api_AppData_switch_state_tag 3
4040
#define api_AppData_deactivation_limit_tag 4
4141

4242
/* Struct field encoding specification for nanopb */

src/deviceData.pb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb constant definitions */
2-
/* Generated by nanopb-0.3.7 at Fri Dec 9 16:53:37 2016. */
2+
/* Generated by nanopb-0.3.7 at Fri Dec 9 17:11:33 2016. */
33

44
#include "deviceData.pb.h"
55

src/deviceData.pb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Automatically generated nanopb header */
2-
/* Generated by nanopb-0.3.7 at Fri Dec 9 16:53:37 2016. */
2+
/* Generated by nanopb-0.3.7 at Fri Dec 9 17:11:33 2016. */
33

44
#ifndef PB_API_DEVICEDATA_PB_H_INCLUDED
55
#define PB_API_DEVICEDATA_PB_H_INCLUDED

0 commit comments

Comments
 (0)