TELNET TO UART using STM32F103C8 generic board and ENC28J60. It is a very initial version with just for test program. Uses UIPEthernet Library courtesy of Zoltan hudak and Norbert Truchsess. Thanks
Dependencies: UIPEthernet mbed-STM32F103C8T6 mbed Adafruit_GFX
Fork of WebSwitch_ENC28J60 by
Diff: main.cpp
- Revision:
- 2:76f339a1ba9b
- Parent:
- 1:3d9c83af7246
- Child:
- 3:0133517ba02d
--- a/main.cpp Mon Sep 15 13:35:22 2014 +0000 +++ b/main.cpp Sat Sep 27 09:18:53 2014 +0000 @@ -118,7 +118,7 @@ { char content_length[5] = {}; - header += "\r\nContent-Type: text\r\n"; + header += "\r\nContent-Type: text/html\r\n"; header += "Content-Length: "; sprintf(content_length, "%d", content.length()); header += string(content_length) + "\r\n";