This is a simple mbed client example demonstrating, registration of a device with mbed Device Connector and reading and writing values as well as deregistering on different Network Interfaces including Ethernet, WiFi, 6LoWPAN ND and Thread respectively.

Dependencies:   lwip

Fork of mbed-os-example-client by mbed-os-examples

Revision:
19:91eb6f58fd77
Parent:
0:7d5ec759888b
Child:
21:b88cdeb5b302
--- a/simpleclient.h	Wed Sep 21 07:30:08 2016 +0100
+++ b/simpleclient.h	Thu Sep 29 16:15:08 2016 +0100
@@ -91,7 +91,6 @@
                           void *handler=NULL) {
 	// Randomizing listening port for Certificate mode connectivity
     _server_address = server_address;
-	srand(time(NULL));
 	uint16_t port = rand() % 65535 + 12345;
 
     // create mDS interface object, this is the base object everything else attaches to