new file: commands/__init__.py
renamed: cert-request.proto -> commands/cert-request.proto
new file: commands/cert_request_pb2.py
new file: commands/configure-device.proto
new file: commands/configure_device_pb2.py
new file: commands/send-pairing-info.proto
new file: commands/send_pairing_info_pb2.py
new file: commands/update-capabilities.proto
new file: commands/update_capabilities_pb2.py
modified: end-device.py
diff --git a/commands/update-capabilities.proto b/commands/update-capabilities.proto
new file mode 100644
index 0000000..f636564
--- /dev/null
+++ b/commands/update-capabilities.proto
@@ -0,0 +1,21 @@
+message UpdateCapabilitiesCommandMessage {
+ message Name {
+ repeated bytes components = 8;
+ }
+
+ message CapabilitiesParameter {
+ required string parameterType = 228; // should be a protobuf type
+ optional string parameterDesc = 229; // what is this parameter for? (recommended)
+ }
+
+ message Capability {
+ required Name commandPrefix = 230; // the name (after device prefix) of command
+ repeated string keywords = 231; // other devices can search for one or more keywords
+ // e.g. 'cec', 'motion', 'thermostat'
+ repeated CapabilitiesParameter parameterDesc = 232; // list of parameter descriptions
+ optional bool needsSignature=233;
+ required String deviceSerial=234;
+ }
+
+ repeated Capability capabilities = 235;
+}