| syntax = "proto3"; |
| |
| import 'pw_protobuf_protos/common.proto'; |
| |
| package chip.rpc; |
| |
| message LockingState { |
| bool locked = 1; |
| } |
| |
| service Locking { |
| // Set will return OK if all supported fields are successfully applied, any |
| // unsupported fields will be ignored. |
| // Get can be used to determine which fields are supported. |
| rpc Set(LockingState) returns (pw.protobuf.Empty){} |
| |
| // Get will populate all of the supported locking state fields with the |
| // current values. This can be used to discover the devices supported |
| // locking features. |
| rpc Get(pw.protobuf.Empty) returns (LockingState){} |
| } |