Code sample to be used with Bluemix for education purpose
Dependencies: C12832 EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Diff: K64F.h
- Revision:
- 8:80d49dd91542
- Parent:
- 6:37b6d0d56190
diff -r 63a7aa4deaf8 -r 80d49dd91542 K64F.h --- a/K64F.h Wed Aug 20 13:46:35 2014 +0000 +++ b/K64F.h Wed Oct 01 13:27:35 2014 +0000 @@ -12,6 +12,7 @@ * * Contributors: * Ian Craggs - initial implementation + * Sam Grove - added method to check the status of the Ethernet cable *******************************************************************************/ #if !defined(K64F_H) @@ -32,4 +33,11 @@ #define DEFAULT_TYPE_NAME "iotsample-mbed-k64f" +//#include "lpc_phy.h" +// need a wrapper since K64F and LPC1768 wont have the same name for mii read methods +static uint32_t linkStatus(void) +{ + return (1); +} + #endif \ No newline at end of file