IoT Example
Dependencies: C12832 LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Revision 10:6b9104576512, committed 2014-10-10
- Comitter:
- sam_grove
- Date:
- Fri Oct 10 08:00:26 2014 +0000
- Parent:
- 9:44c5e1716e64
- Child:
- 11:9e3dfda31369
- Child:
- 12:f4e15547acf8
- Commit message:
- Add K64F link status implementation
Changed in this revision
--- a/EthernetInterface.lib Tue Sep 30 15:52:18 2014 +0000 +++ b/EthernetInterface.lib Fri Oct 10 08:00:26 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/EthernetInterface/#5887ae6c0c2c +http://developer.mbed.org/users/sam_grove/code/EthernetInterface/#0898fe16900d
--- a/K64F.h Tue Sep 30 15:52:18 2014 +0000 +++ b/K64F.h Fri Oct 10 08:00:26 2014 +0000 @@ -33,11 +33,11 @@ #define DEFAULT_TYPE_NAME "iotsample-mbed-k64f" -//#include "lpc_phy.h" +#include "k64f_emac_config.h" // need a wrapper since K64F and LPC1768 wont have the same name for mii read methods static uint32_t linkStatus(void) { - return (1); + return phy_link_status(); } #endif \ No newline at end of file
--- a/main.cpp Tue Sep 30 15:52:18 2014 +0000 +++ b/main.cpp Fri Oct 10 08:00:26 2014 +0000 @@ -368,7 +368,7 @@ getMac(ipstack.getEth(), id, sizeof(id)); #endif } - + attemptConnect(&client, &ipstack); if (!quickstartMode)