From 1a779643b15444c4bdc8dca5e83cf76efaa69578 Mon Sep 17 00:00:00 2001 From: Iain Anderson Date: Wed, 26 May 2021 14:44:39 +0100 Subject: [PATCH] fix: use new port assignments (#65) fix: standardise service name (#66) Signed-off-by: Iain Anderson --- res/configuration.toml | 6 +++--- src/c/device_grove.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/res/configuration.toml b/res/configuration.toml index 87d28b4..e7fb27d 100644 --- a/res/configuration.toml +++ b/res/configuration.toml @@ -1,7 +1,7 @@ [Service] Host = "edgex-device-grove" ServerBindAddr = '0.0.0.0' - Port = 49992 + Port = 59992 ConnectRetries = 3 HealthCheck = "" StartupMsg = "device Grove PI started" @@ -12,11 +12,11 @@ [Clients] [Clients.Data] Host = "edgex-core-data" - Port = 48080 + Port = 59880 [Clients.Metadata] Host = "edgex-core-metadata" - Port = 48081 + Port = 59881 [Device] DataTransform = true diff --git a/src/c/device_grove.h b/src/c/device_grove.h index 921baca..27e95df 100644 --- a/src/c/device_grove.h +++ b/src/c/device_grove.h @@ -35,7 +35,7 @@ extern "C" { #define GROVE_ROTARY_MAX_ANGLE 300 #define GROVE_ADC_REF 5 -#define GROVE_SVC "Device-Grove" +#define GROVE_SVC "device-grove" typedef enum {