Add GPIO control through RPC (#1282)

* Add GPIO control through RPC
* Assets: sync protobuf to 0.10
* Assets: update protobuf to fixed v10

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Samuel Yvon
2022-07-05 00:32:06 +09:00
committed by GitHub
co-authored by あく
parent c495677eb5
commit 793501d62d
6 changed files with 444 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
/* Automatically generated nanopb constant definitions */
/* Generated by nanopb-0.4.5 */
#include "gpio.pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
PB_BIND(PB_Gpio_SetPinMode, PB_Gpio_SetPinMode, AUTO)
PB_BIND(PB_Gpio_SetInputPull, PB_Gpio_SetInputPull, AUTO)
PB_BIND(PB_Gpio_GetPinMode, PB_Gpio_GetPinMode, AUTO)
PB_BIND(PB_Gpio_GetPinModeResponse, PB_Gpio_GetPinModeResponse, AUTO)
PB_BIND(PB_Gpio_ReadPin, PB_Gpio_ReadPin, AUTO)
PB_BIND(PB_Gpio_ReadPinResponse, PB_Gpio_ReadPinResponse, AUTO)
PB_BIND(PB_Gpio_WritePin, PB_Gpio_WritePin, AUTO)