diff --git a/CHANGELOG.md b/CHANGELOG.md index 283d1f2..633adee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +## v2 + +### COMPATIBILTY + +Must be built using device OS v4.0.2 or greater. + +### FEATURES + +- Added Modbus RTU client library +- Added configurable Modbus polling for three devices + +### ENHANCEMENTS + +- Updated compile actions to build with the latest device OS releases for 4.x and 5.x +- Included *.def file patterns for cloud compiles to pick up Memfault includes + +### BUGFIXES + +- Fixed an outdated reset pin assignment to an interrupt pin + + ## v1 ### COMPATIBILTY diff --git a/config-schema.json b/config-schema.json index 8b25f26..78dd5fc 100644 --- a/config-schema.json +++ b/config-schema.json @@ -1,6 +1,6 @@ { "$schema": "https://particle.io/draft-07/schema#", - "$id": "https://github.com/particle-iot/monitor-edge/releases/tag/v1", + "$id": "https://github.com/particle-iot/monitor-edge/releases/tag/v2", "type": "object", "title": "Configuration schema for the Monitor Edge firmware from Particle", "$comment": "the $id field doesn't strictly mean that this schema only works with that release of monitor-edge, rather, this means that the schema here was created for that version of monitor-edge, and will work on earlier and later versions until a new schema is required. This means that schema v10 will work with firmware v11, as long as there's no added features in v11 not already mentioned here", @@ -15,6 +15,7 @@ "title": "Modbus RS-485", "description": "Configuration for Modbus RTU with RS-485.", "default": {}, + "minimumFirmwareVersion": 2, "properties": { "baud": { "$id": "#/properties/modbus_rs485/baud", @@ -63,6 +64,7 @@ "title": "Modbus Polling 1", "description": "Configuration for polling a Modbus server ID.", "default": {}, + "minimumFirmwareVersion": 2, "properties": { "enable": { "$id": "#/properties/modbus1/enable", @@ -196,6 +198,7 @@ "title": "Modbus Polling 2", "description": "Configuration for polling a Modbus server ID.", "default": {}, + "minimumFirmwareVersion": 2, "properties": { "enable": { "$id": "#/properties/modbus2/enable", @@ -329,6 +332,7 @@ "title": "Modbus Polling 3", "description": "Configuration for polling a Modbus server ID.", "default": {}, + "minimumFirmwareVersion": 2, "properties": { "enable": { "$id": "#/properties/modbus3/enable", diff --git a/lib/monitor-one/src/tracker_config.h b/lib/monitor-one/src/tracker_config.h index bf104a0..e6628ac 100644 --- a/lib/monitor-one/src/tracker_config.h +++ b/lib/monitor-one/src/tracker_config.h @@ -48,7 +48,7 @@ #endif #ifndef EDGE_PRODUCT_VERSION -#define EDGE_PRODUCT_VERSION (1) +#define EDGE_PRODUCT_VERSION (2) #endif #if ( (SYSTEM_VERSION < SYSTEM_VERSION_ALPHA(5, 0, 0, 1)) && (PLATFORM_ID == PLATFORM_TRACKER) ) diff --git a/project.properties b/project.properties index 0129ef8..9c0949b 100644 --- a/project.properties +++ b/project.properties @@ -1,5 +1,5 @@ name=monitor-edge -version=1.0.0 +version=2.0.0 license=Apache License, Version 2.0 sentence=Particle Monitor One reference application url=https://www.particle.io/particle-tracking-system/