LibDriver CH9121
Loading...
Searching...
No Matches
driver_ch9121_net_test.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_CH9121_NET_TEST_H
38#define DRIVER_CH9121_NET_TEST_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#ifndef CH9121_NET_TEST_IP
55 #define CH9121_NET_TEST_IP {192, 168, 1, 230}
56#endif
57
61#ifndef CH9121_NET_TEST_DST_IP
62 #define CH9121_NET_TEST_DST_IP {192, 168, 1, 10}
63#endif
64
68#ifndef CH9121_NET_TEST_MASK
69 #define CH9121_NET_TEST_MASK {255, 255, 255, 0}
70#endif
71
75#ifndef CH9121_NET_TEST_GATEWAY
76 #define CH9121_NET_TEST_GATEWAY {192, 168, 1, 1}
77#endif
78
82#ifndef CH9121_NET_TEST_PORT
83 #define CH9121_NET_TEST_PORT 1000
84#endif
85
89#ifndef CH9121_NET_TEST_DST_PORT
90 #define CH9121_NET_TEST_DST_PORT 2000
91#endif
92
102uint8_t ch9121_net_test(ch9121_mode_t mode, uint32_t timeout);
103
107
108#ifdef __cplusplus
109}
110#endif
111
112#endif
driver ch9121 interface header file
ch9121_mode_t
ch9121 mode enumeration definition
uint8_t ch9121_net_test(ch9121_mode_t mode, uint32_t timeout)
net test