|
ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
1.0
ESP8266ILI9341DisplayProject
|
Network test client This code receives a message and displays iit. More...
#include "user_config.h"#include <stdint.h>#include <stdarg.h>#include <string.h>#include <math.h>#include "display/ili9341.h"#include "network/network.h"#include "server/server.h"Go to the source code of this file.
Macros | |
| #define | SERVER_TIMEOUT 1 |
| #define | MAX_CONNS 5 |
Functions | |
| MEMSPACE void | servertest_message (window *win) |
| Network receive task. More... | |
| MEMSPACE void | servertest_receive (void *arg, char *pdata, unsigned short len) |
| Network receive task. More... | |
| MEMSPACE void | servertest_setup (int port) |
| Setup Server Task. More... | |
Variables | |
| static struct espconn * | TCP_Server |
| uint8_t | network_msg [256] |
| static | received = 0 |
Network test client This code receives a message and displays iit.
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file server.c.
| #define SERVER_TIMEOUT 1 |
Definition at line 44 of file server.c.
Referenced by servertest_setup().
Network receive task.
| [in] | *win | window pointer |
Definition at line 56 of file server.c.
Referenced by user_loop().
| MEMSPACE void servertest_receive | ( | void * | arg, |
| char * | pdata, | ||
| unsigned short | len | ||
| ) |
Network receive task.
| [in] | *arg | network callback arg |
| [in] | *pdata | data buffer |
| [in] | len | buffer length |
Definition at line 81 of file server.c.
Referenced by servertest_setup().
| MEMSPACE void servertest_setup | ( | int | port | ) |
| uint8_t network_msg[256] |
Definition at line 37 of file server.c.
Referenced by servertest_message(), servertest_receive(), and servertest_setup().
|
static |
Definition at line 48 of file server.c.
Referenced by servertest_message(), servertest_receive(), and servertest_setup().
|
static |
Definition at line 36 of file server.c.
Referenced by servertest_receive(), and servertest_setup().
1.8.11