Select one of the symbols to view example projects that use it.
 
Outline
#define __MAIN_H
#define USE_DHCP
#include "stm32f4xx_hal.h"
#include "stm32469i_eval.h"
#include "stm32469i_eval_io.h"
#include "cmsis_os.h"
#include "stm32469i_eval_lcd.h"
#include "stm32469i_eval_sdram.h"
#include "lcd_log.h"
#define GW_ADDRESS
#define NETMASK_ADDRESS
#define SERVER_PORT
#define SERVER_NAME
#define GET_REQUEST
#define IP_ADDR0
#define IP_ADDR1
#define IP_ADDR2
#define IP_ADDR3
#define GW_ADDR0
#define GW_ADDR1
#define GW_ADDR2
#define GW_ADDR3
#define MASK_ADDR0
#define MASK_ADDR1
#define MASK_ADDR2
#define MASK_ADDR3
#define IP_ADDR0
#define IP_ADDR1
#define IP_ADDR2
#define IP_ADDR3
#define GW_ADDR0
#define GW_ADDR1
#define GW_ADDR2
#define GW_ADDR3
#define MASK_ADDR0
#define MASK_ADDR1
#define MASK_ADDR2
#define MASK_ADDR3
#define MAX_MEM_SIZE
Exported constants
SSL_Client(const void *);
Error_Handler();
Success_Handler();
Files
loading...
CodeScopeSTM32 Libraries and SamplesSSL_ClientInc/main.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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file main.h * @author MCD Application Team * @brief main application header file. ****************************************************************************** * @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. * ****************************************************************************** *//* ... */ #ifndef __MAIN_H #define __MAIN_H #define USE_DHCP #include "stm32f4xx_hal.h" #include "stm32469i_eval.h" #include "stm32469i_eval_io.h" #include "cmsis_os.h" #ifdef USE_LCD #include "stm32469i_eval_lcd.h" #include "stm32469i_eval_sdram.h" #include "lcd_log.h" /* ... */#endif #define GW_ADDRESS "157.168.9.254" #define NETMASK_ADDRESS "255.255.254.0" #define SERVER_PORT "4433" #define SERVER_NAME "10.157.9.150" #define GET_REQUEST "GET / HTTP/1.0\r\n\r\n" 5 defines #ifdef USE_DHCP #define IP_ADDR0 0 #define IP_ADDR1 0 #define IP_ADDR2 0 #define IP_ADDR3 0 #define GW_ADDR0 0 #define GW_ADDR1 0 #define GW_ADDR2 0 #define GW_ADDR3 0 #define MASK_ADDR0 0 #define MASK_ADDR1 0 #define MASK_ADDR2 0 #define MASK_ADDR3 0 12 defines /* ... */#else #define IP_ADDR0 10 #define IP_ADDR1 157 #define IP_ADDR2 9 #define IP_ADDR3 133 #define GW_ADDR0 10 #define GW_ADDR1 157 #define GW_ADDR2 9 #define GW_ADDR3 254 #define MASK_ADDR0 255 #define MASK_ADDR1 255 #define MASK_ADDR2 254 #define MASK_ADDR3 0 12 defines /* ... */#endif /* USE_DHCP */ #ifdef MBEDTLS_MEMORY_BUFFER_ALLOC_C #define MAX_MEM_SIZE 35 * 1024 #endif /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ void SSL_Client(void const *argument); void Error_Handler(void); void Success_Handler(void); Exported constants /* ... */#endif /*__MAIN_H */