pelion-example-common-DISCO_F413ZH

Revision:
11:0bddeb20bafc
Parent:
10:f3ec71d2ec83
Child:
13:433fcff306ad
--- a/main.cpp	Sun Dec 16 12:30:37 2018 +0000
+++ b/main.cpp	Sun Dec 16 13:29:40 2018 +0000
@@ -66,7 +66,7 @@
  * @param newValue Updated value for the resource
  */
 void led_put_callback(MbedCloudClientResource *resource, m2m::String newValue) {
-    printf("PUT received, new value: %s\n", newValue.c_str());
+    printf("PUT received. New value: %s\n", newValue.c_str());
     led = atoi(newValue.c_str());
 }
 
@@ -78,7 +78,7 @@
  * @param size Size of the body
  */
 void led_post_callback(MbedCloudClientResource *resource, const uint8_t *buffer, uint16_t size) {
-    printf("POST received. Going to blink LED pattern: %s\n", res_led->get_value().c_str());
+    printf("POST received. Payload: %s\n", res_led->get_value().c_str());
     led = atoi(res_led->get_value().c_str());
 }
 
@@ -207,7 +207,7 @@
     res_voltage->methods(M2MMethod::GET);
     res_voltage->observable(true);
 
-    printf("Initialized Pelion Client. Registering...\n");
+    printf("Initialized Pelion Device Management Client. Registering...\n");
 
     // Callback that fires when registering is complete
     client.on_registered(&registered);