This example uses the mbed libraries to check Ethernet TCP Echo Server Example.
Dependencies: EthernetInterface mbed-rtos mbed
FRDM_K64F EThernet Usage
Usage¶
- Connect an Ethernet cable between your PC and your mbed device
- Put the ip range between 192.168.0.1 to 192.168.0.254.
- an ip for the mbed device
- an ip for the ethernet interface
- Download the program
- Reset the mbed device
- use a telnet program like Putty or Docklight Scripting
- Connect to the ip address of your mbed device and port 5000
- Send a string in less than one and a half second
- Check your telnet terminal, you must see something like 'My Master!'
- Check your serial terminal, you must see the ip address and the 'waiting new connection' message