This is a sample application program for GR-PEACH_WlanBP3595AP library. GR-PEACH_WlanBP3595AP library only works with GR-PEACH. This sample works as TCP socket sever, and this program sends a message when a connection is accepted.
Dependencies: EthernetInterface GR-PEACH_WlanBP3595AP mbed-rtos mbed
Fork of GR-PEACH_WlanBP3595AP_sample by
Revision 4:720fdca0822c, committed 2016-11-30
- Comitter:
- tousaki
- Date:
- Wed Nov 30 08:10:00 2016 +0000
- Parent:
- 3:57247fc59b8e
- Commit message:
- Modified comments
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 57247fc59b8e -r 720fdca0822c main.cpp --- a/main.cpp Tue Nov 22 08:57:36 2016 +0000 +++ b/main.cpp Wed Nov 30 08:10:00 2016 +0000 @@ -4,6 +4,17 @@ /* when a connection is accepted. */ /* +Warning! + When exporting and using it, increase the following stack size. + + [EthernetInterface/lwip/lwipopts.h]--------- + #define TCPIP_THREAD_STACKSIZE 1024 + -> + #define TCPIP_THREAD_STACKSIZE 2048 + -------------------------------------------- +*/ + +/* This works with the following library. mbed-rtos : revision 115 */