From c8bd4ca0bbd2a415ca079ff72bd9766766a0131c Mon Sep 17 00:00:00 2001 From: Moshe Shahar Date: Mon, 24 Aug 2020 10:09:59 +0300 Subject: [PATCH] Fix wrong print of `Endpoint name` and `Device ID` when using production flow For developer flow, `Endpoint name` and `Device ID` are equal --- main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 66bed5d..c887ce6 100644 --- a/main.cpp +++ b/main.cpp @@ -50,8 +50,8 @@ Mutex value_increment_mutex; void print_client_ids(void) { printf("Account ID: %s\n", cloud_client->endpoint_info()->account_id.c_str()); - printf("Endpoint name: %s\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str()); - printf("Device ID: %s\n\n", cloud_client->endpoint_info()->endpoint_name.c_str()); + printf("Endpoint name: %s\n", cloud_client->endpoint_info()->endpoint_name.c_str()); + printf("Device ID: %s\n\n", cloud_client->endpoint_info()->internal_endpoint_name.c_str()); } void value_increment(void)