Ethernet test for tinydtls-0.5.0

Dependencies:   EthernetInterface mbed-rtos mbed tinydtls

Fork of tinydtls_test_ethernet by Ashley Mills

Files at this revision

API Documentation at this revision

Comitter:
ashleymills
Date:
Thu Oct 10 22:07:32 2013 +0000
Parent:
1:391ec57807fa
Child:
3:0caeed7fd9f0
Commit message:
init.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
tinydtls.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 10 21:38:25 2013 +0000
+++ b/main.cpp	Thu Oct 10 22:07:32 2013 +0000
@@ -264,8 +264,8 @@
     int sockfd = NULL;
     
     
-    //if(!connectToSocketUDP("109.74.199.96", 5683, &sockfd)) {
-    if(!connectToSocketUDP("192.168.1.99", 4433, &sockfd)) {  
+    if(!connectToSocketUDP("109.74.199.96", 4433, &sockfd)) {
+    //if(!connectToSocketUDP("192.168.1.99", 4433, &sockfd)) {  
        DBG("Error connecting to socket");
        fail(1);
     }
--- a/tinydtls.lib	Thu Oct 10 21:38:25 2013 +0000
+++ b/tinydtls.lib	Thu Oct 10 22:07:32 2013 +0000
@@ -1,1 +1,1 @@
-tinydtls#04990d454f45
+http://mbed.org/users/ashleymills/code/tinydtls/#04990d454f45