Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A1
param_config.h
00001 // This section includes the parameters that the users might want to modify or set 00002 00003 #define DEVICE_IP "192.168.1.11" 00004 #define PC_IP "192.168.1.45" 00005 00006 #define RECEIVE_PORT 100 00007 #define DESTINATION_PORT 7878 00008 00009 #define UDP_SEND_PACKET_SIZE 350 00010 #define UDP_RECEIVE_PACKET_SIZE 350 00011 00012 #define SERIAL_BAUD 115200 00013 00014 00015 //////////////////////////////////////////////////////// 00016 00017 #define HTTP_STATUS_LINE "HTTP/1.0 200 OK" 00018 #define HTTP_HEADER_FIELDS "Content-Type: text/html; charset=utf-8" 00019 #define HTTP_MESSAGE_BODY "" \ 00020 "<html>" "\r\n" \ 00021 " <body style=\"display:flex;text-align:center\">" "\r\n" \ 00022 " <div style=\"margin:auto\">" "\r\n" \ 00023 " <h1>Hello World</h1>" "\r\n" \ 00024 " <p>It works !</p>" "\r\n" \ 00025 " </div>" "\r\n" \ 00026 " </body>" "\r\n" \ 00027 "</html>" 00028 00029 #define HTTP_RESPONSE HTTP_STATUS_LINE "\r\n" \ 00030 HTTP_HEADER_FIELDS "\r\n" \ 00031 "\r\n" \ 00032 HTTP_MESSAGE_BODY "\r\n" 00033 00034 00035 // Check IP packages compatibility 00036 #if !FEATURE_LWIP 00037 #error [NOT_SUPPORTED] LWIP not supported for this target 00038 #endif
Generated on Mon Jul 18 2022 10:13:52 by
1.7.2