
Contains example code to connect the mbed LPC1768 or FRDM-K64F devices to the IBM Internet of Things Cloud service via ethernet.
Dependencies: C12832 MQTT LM75B MMA7660
Dependents: MFT_IoT_demo_USB400 IBM_RFID
Revision 15:09458079f4bb, committed 2015-07-27
- Comitter:
- jsutton
- Date:
- Mon Jul 27 09:03:30 2015 +0000
- Parent:
- 14:1f961d19f3cf
- Child:
- 16:2420bfbf5f1c
- Commit message:
- Fixing comment
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 24 15:40:33 2015 +0000 +++ b/main.cpp Mon Jul 27 09:03:30 2015 +0000 @@ -86,16 +86,16 @@ extern "C" void $Super$$mbed_mac_address(char *s); extern "C" void $Sub$$mbed_mac_address(char *s) { - char otherMac[6] = ""; - $Super$$mbed_mac_address(otherMac); + char originalMAC[6] = ""; + $Super$$mbed_mac_address(originalMAC); char mac[6]; mac[0] = 0x00; mac[1] = 0x08; mac[2] = 0xdc; - mac[3] = otherMac[3]; - mac[4] = otherMac[4]; - mac[5] = otherMac[5]; + mac[3] = originalMAC[3]; + mac[4] = originalMAC[4]; + mac[5] = originalMAC[5]; memcpy(s, mac, 6); } */