Lab2_web / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of webserverBlinky by RealTimeCompLab2

Files at this revision

API Documentation at this revision

Comitter:
nixnax
Date:
Tue Aug 08 19:57:06 2017 +0000
Parent:
120:bef89e4c906e
Child:
122:963abcbff21e
Commit message:
Reduced TCP_MAX_SIZE to get Nucleo-L053R8 board working.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Aug 08 18:36:38 2017 +0000
+++ b/main.cpp	Tue Aug 08 19:57:06 2017 +0000
@@ -121,7 +121,7 @@
     struct {
         int len; // number of bytes in buffer
         int crc; // PPP CRC (frame check)
-#define TCP_max_size 3300
+#define TCP_max_size 3000
         char buf[TCP_max_size]; // send and receive buffer large enough for unstuffed (decoded) hdlc frames
     } pkt; // ppp buffer objects
     struct {