Contiki 3.x
z1-coap-config-defaults.h
Go to the documentation of this file.
1 /**
2  * @file
3  * Definitions of the default configurations to use.
4  */
5 
6 #ifndef Z1_COAP_DEFAULTS_H
7 #define Z1_COAP_DEFAULTS_H
8 
9 #include "settings.pb.h"
10 #include <stdbool.h>
11 
12 /**
13  * Default configuration to use when no configuration is curently defined.
14  */
15 SensorConfig SENSOR_DEFAULT_CONFIG = {
16  .interval = 1200,
17  .has_avrID = false,
18  .avrID = 0x00,
19  .has_powerID = false,
20  .powerID = 0x00,
21  .hasADC1 = false,
22  .hasADC2 = false,
23  .hasRain = false,
24  .routingMode = SensorConfig_RoutingMode_MESH
25 };
26 
27 #endif // ifndef Z1_COAP_DEFAULTS_H
SensorConfig SENSOR_DEFAULT_CONFIG
Default configuration to use when no configuration is curently defined.