Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion TESTS/pelion-e2e-python-test-library.lib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/ARMmbed/pelion-e2e-python-test-library/#4a3a533f8b2115e11ec412974e0d45b008ccc095
https://github.com/ARMmbed/pelion-e2e-python-test-library/#39e118e03dc89f1800922f3a91d219b25c45cb1a
15 changes: 9 additions & 6 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,15 @@ int main(void)
return -1;
}

#ifdef MBED_CLOUD_CLIENT_SUPPORT_UPDATE
cloud_client = new MbedCloudClient(client_registered, client_unregistered, client_error, NULL, update_progress);
#else
cloud_client = new MbedCloudClient(client_registered, client_unregistered, client_error);
#endif // MBED_CLOUD_CLIENT_SUPPORT_UPDATE

// Initialize client
cloud_client->init();

printf("Create resources\n");
M2MObjectList m2m_obj_list;

Expand Down Expand Up @@ -252,12 +261,6 @@ int main(void)

printf("Register Pelion Device Management Client\n\n");

#ifdef MBED_CLOUD_CLIENT_SUPPORT_UPDATE
cloud_client = new MbedCloudClient(client_registered, client_unregistered, client_error, NULL, update_progress);
#else
cloud_client = new MbedCloudClient(client_registered, client_unregistered, client_error);
#endif // MBED_CLOUD_CLIENT_SUPPORT_UPDATE

cloud_client->on_registration_updated(client_registration_updated);

cloud_client->add_objects(m2m_obj_list);
Expand Down
2 changes: 1 addition & 1 deletion mbed-cloud-client.lib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/ARMmbed/mbed-cloud-client/#7b583acf30ca142c1949149c90bba420cd467b63
https://github.com/ARMmbed/mbed-cloud-client/#e03c516af9c9137b56d9c2620a293c79f1f867f8