Select one of the symbols to view example projects that use it.
 
Outline
#define __APP_NETXDUO_H__
#include "nx_api.h"
#include "nx_stm32_eth_driver.h"
#include <stdio.h>
#include "main.h"
#include "nxd_dhcp_client.h"
#include "stm32f4xx_nucleo_144.h"
Exported types
Exported constants
Exported macro
Exported functions prototypes
MX_NetXDuo_Init(void *);
#define PAYLOAD_SIZE
#define NX_PACKET_POOL_SIZE
#define DEFAULT_MEMORY_SIZE
#define DEFAULT_PRIORITY
#define WINDOW_SIZE
#define LINK_PRIORITY
#define NULL_ADDRESS
#define DEFAULT_PORT
#define MAX_TCP_CLIENTS
Files
loading...
SourceVuSTM32 Libraries and SamplesNx_TCP_Echo_ServerNetXDuo/App/app_netxduo.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file app_netxduo.h * @author MCD Application Team * @brief NetXDuo applicative header file ****************************************************************************** * @attention * * Copyright (c) 2021 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. * ****************************************************************************** *//* ... */ /* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __APP_NETXDUO_H__ #define __APP_NETXDUO_H__ #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "nx_api.h" /* Private includes ----------------------------------------------------------*/ #include "nx_stm32_eth_driver.h" /* USER CODE BEGIN Includes */ #include <stdio.h> #include "main.h" #include "nxd_dhcp_client.h" #include "stm32f4xx_nucleo_144.h" 6 includes /* USER CODE END Includes */ /* Exported types ------------------------------------------------------------*/ /* USER CODE BEGIN ET */ /* USER CODE END ET */ Exported types /* Exported constants --------------------------------------------------------*/ /* USER CODE BEGIN EC */ /* USER CODE END EC */ Exported constants /* Exported macro ------------------------------------------------------------*/ /* USER CODE BEGIN EM */ #define PRINT_IP_ADDRESS(addr) do { \ printf("STM 32 %s: %lu.%lu.%lu.%lu \n", #addr, \ (addr >> 24) & 0xff, \ (addr >> 16) & 0xff, \ (addr >> 8) & 0xff, \ addr& 0xff);\ ...}while(0)... #define PRINT_DATA(addr, port, data) do { \ printf("[%lu.%lu.%lu.%lu:%u] -> '%s' \n", \ (addr >> 24) & 0xff, \ (addr >> 16) & 0xff, \ (addr >> 8) & 0xff, \ (addr & 0xff), port, data); \ ...} while(0)... /* USER CODE END EM */ Exported macro /* Exported functions prototypes ---------------------------------------------*/ UINT MX_NetXDuo_Init(VOID *memory_ptr); /* USER CODE BEGIN EFP */ /* USER CODE END EFP */ Exported functions prototypes /* Private defines -----------------------------------------------------------*/ /* USER CODE BEGIN PD */ #define PAYLOAD_SIZE 1536 #define NX_PACKET_POOL_SIZE (( PAYLOAD_SIZE + sizeof(NX_PACKET)) * 10) #define DEFAULT_MEMORY_SIZE 1024 #define DEFAULT_PRIORITY 10 #define WINDOW_SIZE 512 #define LINK_PRIORITY 11 #define NULL_ADDRESS 0 #define DEFAULT_PORT 6000 #define MAX_TCP_CLIENTS 1 9 defines/* USER CODE END PD */ /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ #ifdef __cplusplus }extern "C" { ... } #endif/* ... */ #endif /* __APP_NETXDUO_H__ */
Details
Show:
from
Types: Columns: