| |
| /** |
| * Copyright (c) 2019 Nest Labs, Inc. |
| * All rights reserved. |
| * |
| * THIS FILE IS GENERATED. DO NOT MODIFY. |
| * |
| * SOURCE TEMPLATE: trait.cpp.h |
| * SOURCE PROTO: nest/trait/network/telemetry_network_trait.proto |
| * |
| */ |
| #ifndef _NEST_TRAIT_NETWORK__TELEMETRY_NETWORK_TRAIT_H_ |
| #define _NEST_TRAIT_NETWORK__TELEMETRY_NETWORK_TRAIT_H_ |
| |
| #include <Weave/Profiles/data-management/DataManagement.h> |
| #include <Weave/Support/SerializationUtils.h> |
| |
| |
| |
| namespace Schema { |
| namespace Nest { |
| namespace Trait { |
| namespace Network { |
| namespace TelemetryNetworkTrait { |
| |
| extern const nl::Weave::Profiles::DataManagement::TraitSchemaEngine TraitSchema; |
| |
| enum { |
| kWeaveProfileId = (0x235aU << 16) | 0x601U |
| }; |
| |
| // |
| // Events |
| // |
| struct NetworkDHCPFailureEvent |
| { |
| uint32_t reason; |
| |
| static const nl::SchemaFieldDescriptor FieldSchema; |
| |
| // Statically-known Event Struct Attributes: |
| enum { |
| kWeaveProfileId = (0x235aU << 16) | 0x601U, |
| kEventTypeId = 0x1U |
| }; |
| |
| static const nl::Weave::Profiles::DataManagement::EventSchema Schema; |
| }; |
| |
| struct NetworkDHCPFailureEvent_array { |
| uint32_t num; |
| NetworkDHCPFailureEvent *buf; |
| }; |
| |
| |
| } // namespace TelemetryNetworkTrait |
| } // namespace Network |
| } // namespace Trait |
| } // namespace Nest |
| } // namespace Schema |
| #endif // _NEST_TRAIT_NETWORK__TELEMETRY_NETWORK_TRAIT_H_ |