Ethernet test for tinydtls-0.5.0

Dependencies:   EthernetInterface mbed-rtos mbed tinydtls

Fork of tinydtls_test_ethernet by Ashley Mills

Committer:
ashleymills
Date:
Wed Oct 09 14:48:52 2013 +0000
Revision:
0:6ae42a2aff75
Child:
1:391ec57807fa
Test program for mbed port of tinydtls

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ashleymills 0:6ae42a2aff75 1 #include "mbed.h"
ashleymills 0:6ae42a2aff75 2 #include "rtos.h"
ashleymills 0:6ae42a2aff75 3 #include "VodafoneUSBModem.h"
ashleymills 0:6ae42a2aff75 4 #include "bsd_socket.h"
ashleymills 0:6ae42a2aff75 5 #include "dtls.h"
ashleymills 0:6ae42a2aff75 6
ashleymills 0:6ae42a2aff75 7 DigitalOut myled(LED1);
ashleymills 0:6ae42a2aff75 8
ashleymills 0:6ae42a2aff75 9 int main() {
ashleymills 0:6ae42a2aff75 10 while(1) {
ashleymills 0:6ae42a2aff75 11 myled = 1;
ashleymills 0:6ae42a2aff75 12 wait(0.2);
ashleymills 0:6ae42a2aff75 13 myled = 0;
ashleymills 0:6ae42a2aff75 14 wait(0.2);
ashleymills 0:6ae42a2aff75 15 }
ashleymills 0:6ae42a2aff75 16 }