forked from PuceBaboon/ESP-Now-Gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now almost working sample with protobuf
First value is transfered. Suspect that message is getting capped.
- Loading branch information
1 parent
b578cbb
commit 275b8f5
Showing
11 changed files
with
88 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
|
||
� | ||
messages.prototobalr"S | ||
Report | ||
� | ||
messages.proto"V | ||
Report | ||
nodeId (RnodeId | ||
|
||
deviceName ( R | ||
deviceName) | ||
reading (2.tobalr.ReadingRreading"3 | ||
Reading | ||
name ( Rname | ||
value (RvalueB | ||
sensorType (R | ||
sensorType | ||
value (RvalueB | ||
dk.tobalr.espsensornodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
syntax = "proto2"; | ||
package tobalr; | ||
option java_package = "dk.tobalr.espsensornodes"; | ||
|
||
message Report { | ||
required string deviceName = 1; | ||
repeated Reading reading = 2; | ||
} | ||
|
||
message Reading { | ||
required string name = 3; | ||
required float value = 4; | ||
required int32 nodeId = 1; | ||
optional int32 sensorType = 2; | ||
optional float value = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters