File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change
1
+ .pio
2
+ .vscode
Original file line number Diff line number Diff line change
1
+ // --------------------------------------------------------------------------------------------
2
+ // UPDATE CONFIGURATION TO MATCH YOUR ENVIRONMENT
3
+ // --------------------------------------------------------------------------------------------
4
+ //#define OPENEEW_ACTIVATION_ENDPOINT "https://openeew-devicemgmt.mybluemix.net/activation?ver=1"
5
+ #define OPENEEW_ACTIVATION_ENDPOINT "https://device-mgmt.openeew.com/activation?ver=1"
6
+ // VERSION uses convention semver.org
7
+ // 1.3.9 < 1.4.0 < 1.4.1-alpha1 < 1.4.1-alpha2 < 1.4.1
8
+ #define OPENEEW_FIRMWARE_VERSION "1.4.0"
9
+
10
+ // Run this firmware with a MQTT Broker on a local subnet
11
+ // One way of settin up https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messaging-broker-on-ubuntu-18-04
12
+ // Comment this Define to send data to local Cloud
13
+ //#define MQTT_LOCALBROKER "192.168.1.101"
14
+
15
+
1
16
#define OPENEEW_SAMPLE_RATE_125 false
2
17
#define OPENEEW_SAMPLE_RATE_31_25 true
3
18
Original file line number Diff line number Diff line change 15
15
#include " semver.h" // from https://github.com/h2non/semver.c
16
16
#include < cppQueue.h>
17
17
18
- // --------------------------------------------------------------------------------------------
19
- // UPDATE CONFIGURATION TO MATCH YOUR ENVIRONMENT
20
- // --------------------------------------------------------------------------------------------
21
- // #define OPENEEW_ACTIVATION_ENDPOINT "https://openeew-devicemgmt.mybluemix.net/activation?ver=1"
22
- #define OPENEEW_ACTIVATION_ENDPOINT " https://device-mgmt.openeew.com/activation?ver=1"
23
- #define OPENEEW_FIRMWARE_VERSION " 1.4.0"
24
18
25
- // Run this firmware with a MQTT Broker on a local subnet
26
- // Comment this Define to send data to the Cloud
27
- // #define MQTT_LOCALBROKER "192.168.1.101"
28
19
29
20
// Watson IoT connection details
30
21
static char MQTT_HOST[48 ]; // ORGID.messaging.internetofthings.ibmcloud.com
You can’t perform that action at this time.
0 commit comments