project met UDP IP

Dependencies:   EthernetInterface LM75B mbed-rtos mbed

Fork of communication by Jelle Raes

Revision:
4:4848f847d2ce
Parent:
3:9c600fb19ed2
--- a/master.h	Wed Mar 14 14:39:08 2018 +0000
+++ b/master.h	Fri Mar 23 13:43:04 2018 +0000
@@ -2,11 +2,22 @@
 #define MASTER_H
 class master{
     public:
-    master();
+    master();//Empty constuctor
+    
+    /*starts up the loop for the master which opens de connection after a
+     *a request has been send and closes the connection again after an
+     *acknowledge has been received
+     */
     void startMaster(const char* ip);
     
     private:
+    /*Function that allows the user to type a command after which it is placed
+     *inside a char array.
+     */
     void typeRequest(char* buffer);
+    
+    /*Function that allows the user to type the desired target IP
+     */
     void typeIp(char* buffer);
 };
 #endif
\ No newline at end of file