Part One of my Project Course. Implementation of simple I/O and a custom defined protocol over UDP/IP.

Dependencies:   C12832 LM75B mbed EthernetInterface mbed-rtos

Revision:
3:538e17979246
Parent:
2:6bfe732ba6bc
--- a/master.cpp	Mon Mar 19 11:32:54 2018 +0000
+++ b/master.cpp	Fri Mar 23 13:42:13 2018 +0000
@@ -94,6 +94,9 @@
                 client_ip[10] = client_id[0];
                 client_ip[11] = client_id[1];
                 client_ip[12] = client_id[2];
+                
+                client_id[3] = '\0';
+                
                 client.set_address((const char *)client_ip,4000);
 
                 CurrentMasterState = STATE_SEND_UDP_PACKET;