Had to fork with a different name, because of some incompatibility issues.
Diff: DeviceClient.cpp
- Revision:
- 12:ac091f717e40
- Parent:
- 10:665cfb0da4c5
- Child:
- 18:ce12e2072cbb
--- a/DeviceClient.cpp Thu Feb 21 17:34:16 2019 -0400 +++ b/DeviceClient.cpp Thu Mar 28 23:27:19 2019 +0000 @@ -20,7 +20,7 @@ #include "DeviceClient.h" // need a wrapper since K64F and LPC1768 wont have the same name for mii read methods -#if defined(TARGET_UBLOX_C027) || defined(TARGET_K64F) +#if defined(TARGET_UBLOX_C027) || defined(TARGET_K64F) || defined(TARGET_DISCO_F746NG) static uint32_t linkStatus(void) { @@ -34,6 +34,7 @@ return (lpc_mii_read_data() & 1); } #endif + using namespace IoTF; CommandHandler handler = NULL;