Ethernet+BLE prototype
Dependencies: mbed EthernetInterface mbed-rtos
Diff: main.cpp
- Revision:
- 1:50463ff10d56
- Parent:
- 0:da21a9dd2303
- Child:
- 3:d9445b9e7163
diff -r da21a9dd2303 -r 50463ff10d56 main.cpp --- a/main.cpp Tue Feb 18 11:34:08 2014 +0000 +++ b/main.cpp Thu Feb 20 11:47:42 2014 +0000 @@ -1,7 +1,6 @@ #include "mbed.h" #include "config.h" #include "log.h" -#include "EthernetInterface.h" #include "httpSend.h" int main() { @@ -14,10 +13,11 @@ INFO_LOG ("IP Address is %s \r\n", eth.getIPAddress()); + char UUID[] = "00000000-XXXX-XXXX-X000-XXXXXXxxxxxx"; + for(int i=0;i<10000;i++) { printf("cnt = %d\r\n",i); - - httpSend(); + httpSend(eth,UUID); wait(10); } eth.disconnect();