-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathuser_config.h
More file actions
36 lines (25 loc) · 793 Bytes
/
user_config.h
File metadata and controls
36 lines (25 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* $Id: user_config.h,v 1.1 2016/11/03 00:47:20 anoncvs Exp $
*
* Configuration for local set-up (ie:- Access-point ID & PWD).
*/
#define DEBUG 0
#define MQTT_HOST "mqtt.hostname.com" /* !! Change Me !! */
#define MQTT_PORT 1883
#define MQTT_BUF_SIZE 1024
#define MQTT_KEEPALIVE 120 /* In seconds. */
#define MQTT_CLIENT_ID "Puce_%08X"
#define MQTT_USER "Puce_USER"
#define MQTT_PASS "Puce_PASS"
#define STA_SSID "XXX_XXX" /* !! Change Me !! */
#define STA_PASS "XXX_XXX" /* !! Change Me !! */
#define STA_TYPE AUTH_WPA2_PSK
#define MQTT_RECONNECT_TIMEOUT 5 /* In Seconds. */
#define CLIENT_SSL_ENABLE
#define DEFAULT_SECURITY 0
#define QUEUE_BUFFER_SIZE 1024
#define RTC_BUFF_SIZE 256
#define ALM2_SLEEP_MINS 2
// I2C GPIO Defines.
#define I2C_SDA 2
#define I2C_SCL 14