Skip to content

Commit

Permalink
Fix wrong print of Endpoint name and Device ID when using product…
Browse files Browse the repository at this point in the history
…ion flow

For developer flow, `Endpoint name` and `Device ID` are equal
  • Loading branch information
Moshe Shahar committed Aug 24, 2020
1 parent f005b13 commit c8bd4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c8bd4ca

Please sign in to comment.