Select one of the symbols to view example projects that use it.
 
Outline
#define __APP_ETHERNET_H
#include "lwip/netif.h"
#define USE_DHCP
#define IP_ADDR0
#define IP_ADDR1
#define IP_ADDR2
#define IP_ADDR3
#define NETMASK_ADDR0
#define NETMASK_ADDR1
#define NETMASK_ADDR2
#define NETMASK_ADDR3
#define GW_ADDR0
#define GW_ADDR1
#define GW_ADDR2
#define GW_ADDR3
#define VNC_IDLE
#define VNC_INIT
#define VNC_LINK_UP
#define VNC_WAIT_FOR_ADDRESS
#define VNC_ADDRESS_ASSIGNED
#define VNC_ERROR
#define VNC_LINK_DOWN
#define VNC_PROCESS
#define VNC_START
#define VNC_CONN_ESTABLISHED
VNC_SERVER_Start();
VNC_SERVER_Stop();
VNC_GetState();
VNC_SetState(uint8_t);
VNC_SetLockState(uint8_t);
VNC_GetLockState();
Files
loading...
SourceVuSTM32 Libraries and SamplesSTemWinModules/vnc_server/vnc_app.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file LwIP/LwIP_HTTP_Server_Netconn_RTOS/Inc/app_ethernet.h * @author MCD Application Team * @brief Header for app_ethernet.c module ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __APP_ETHERNET_H #define __APP_ETHERNET_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "lwip/netif.h" #define USE_DHCP /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* DHCP process states */ /*Static IP ADDRESS*/ #define IP_ADDR0 192 #define IP_ADDR1 168 #define IP_ADDR2 0 #define IP_ADDR3 10 /*NETMASK*/ #define NETMASK_ADDR0 255 #define NETMASK_ADDR1 255 #define NETMASK_ADDR2 255 #define NETMASK_ADDR3 0 /*Gateway Address*/ #define GW_ADDR0 192 #define GW_ADDR1 168 #define GW_ADDR2 0 #define GW_ADDR3 1 #define VNC_IDLE (uint8_t) 0 #define VNC_INIT (uint8_t) 9 #define VNC_LINK_UP (uint8_t) 1 #define VNC_WAIT_FOR_ADDRESS (uint8_t) 2 #define VNC_ADDRESS_ASSIGNED (uint8_t) 3 #define VNC_ERROR (uint8_t) 4 #define VNC_LINK_DOWN (uint8_t) 5 #define VNC_PROCESS (uint8_t) 6 #define VNC_START (uint8_t) 7 #define VNC_CONN_ESTABLISHED (uint8_t) 8 23 defines /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void VNC_SERVER_Start(void); void VNC_SERVER_Stop (void); uint8_t VNC_GetState(void); void VNC_SetState(uint8_t state); void VNC_SetLockState(uint8_t LockState); uint8_t VNC_GetLockState(void); #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /* __APP_ETHERNET_H */
Details