this is using the mbed os version 5-13-1

Dependencies:   mbed-http

Branch:
PassingRegression
Revision:
120:779b74689747
Parent:
119:8d939a902333
Child:
121:ac4f59839e4f
--- a/source/main-https.cpp	Mon May 27 12:34:58 2019 +0000
+++ b/source/main-https.cpp	Mon May 27 17:00:43 2019 +0000
@@ -168,11 +168,13 @@
     dbg_printf(LOG, "%s", printStr);
     dbg_printf(LOG, "Waiting for %d seconds... [press key to abort]\n", numSecs);
     char fmtstr[20];
+    int len;
     for(int i=0;i<numSecs;i++){
         dbg_printf(LOG, "%d", i);
         dbg_printf(LOG, "\n");
         sprintf(fmtstr, "BLE: loop # %d\n", i);
-        peripheral->sendBLEUartData(fmtstr);
+        len = strlen(fmtstr)+1;
+        peripheral->sendBLEUartData((const uint8_t *)fmtstr, len);
         wait(0.5);
         //eventQueue_atcmd.dispatch(500);        // Dispatch time - 500msec
         if(device->readable()){