To log analog sensor data on local IOT Phant server using Ethernet for the purpose of monitoring.

Dependents:   mbedEthernet

Fork of WIZnet_Library by WIZnet

Revision:
1:8138a268fbd2
Parent:
0:b72d22e10709
--- a/WIZnetInterface/WIZnetInterface.h	Thu May 08 03:57:58 2014 +0000
+++ b/WIZnetInterface/WIZnetInterface.h	Fri May 09 01:17:51 2014 +0000
@@ -17,7 +17,6 @@
  */
 
 #pragma once
-
 #include "wiznet.h"
 
  /** Interface using Wiznet chip to connect to an IP-based network
@@ -42,7 +41,7 @@
   * Initialize the interface and configure it to use DHCP (no connection at this point).
   * \return 0 on success, a negative number on failure
   */
-  int init(); //With DHCP
+  int init(uint8_t * mac); //With DHCP
 
   /** Initialize the interface with a static IP address.
   * Initialize the interface and configure it with the following static configuration (no connection at this point).
@@ -51,7 +50,7 @@
   * \param gateway the gateway to use
   * \return 0 on success, a negative number on failure
   */
-  int init(const char* ip, const char* mask, const char* gateway);
+  int init(uint8_t * mac, const char* ip, const char* mask, const char* gateway);
 
   /** Connect
   * Bring the interface up, start DHCP if needed.