1 /*-----------------------------------------------------------------------------
3 * Purpose: DV Config header
4 *----------------------------------------------------------------------------
5 * Copyright(c) KEIL - An ARM Company
6 *----------------------------------------------------------------------------*/
11 #include "RTE_Components.h"
13 //-------- <<< Use Configuration Wizard in Context Menu >>> --------------------
15 // <h> Common Test Settings
16 // <o> Print Output Format <0=> Plain Text <1=> XML
17 // <i> Set the test results output format to plain text or XML
18 #ifndef PRINT_XML_REPORT
19 #define PRINT_XML_REPORT 0
21 // <o> Buffer size for assertions results
22 // <i> Set the buffer size for assertions results buffer
23 #define BUFFER_ASSERTIONS 128
25 // <i> Enable/disable buffer sizes (bytes)
27 #define BUFFER_ELEM_1_32 0
29 #define BUFFER_ELEM_512 1
31 #define BUFFER_ELEM_1024 0
33 #define BUFFER_ELEM_4096 0
35 #define BUFFER_ELEM_32768 0
37 // <o> Buffer size for baudrate test
38 // <i> Set the buffer sizes (bytes)
39 #define BUFFER_SIZE_BR 512
40 // <o> Buffer pattern <0=> 0x55, 0xAA <1=> 0x12, 0x34, 0x56, 0x78
41 // <i> Set the buffer pattern
42 #define BUFFER_PATTERN_INDEX 0
43 #if (BUFFER_PATTERN_INDEX == 0)
44 #define BUFFER_PATTERN {0x55, 0xAA}
49 // <o> Driver_SPI# <0-255>
50 // <i> Choose the Driver_SPI# instance to be tested
53 // <i> Set the SPI bus speed (kHz)
54 // <i> Value zero is ignored
55 // <o> SPI bus speed 1
57 // <o> SPI bus speed 2
59 // <o> SPI bus speed 3
61 // <o> SPI bus speed 4
62 #define SPI_BR_4 10000
63 // <o> SPI bus speed 5
64 #define SPI_BR_5 25000
65 // <o> SPI bus speed 6
66 #define SPI_BR_6 50000
68 // <o> Percentual trigger for bus speed test
69 // <i> Set the minimum margin between measured and expected bus speeds (%)
70 #define MIN_BUS_SPEED 5
72 // <i> Set the SPI data bits
73 #define SPI_DATA_BITS 8
74 // <o> Transfer timeout
75 // <i> Set the transfer timeout (us)
76 #define SPI_TRANSFER_TIMEOUT 1000000
78 // <i> Enable/disable test cases
79 // <q> SPI_GetCapabilities
80 #define SPI_GETCAPABILITIES_EN 1
81 // <q> SPI_Initialization
82 #define SPI_INITIALIZATION_EN 1
83 // <q> SPI_PowerControl
84 #define SPI_POWERCONTROL_EN 1
85 // <q> SPI_Config_PolarityPhase
86 #define SPI_CONFIG_POLARITYPHASE_EN 1
87 // <q> SPI_Config_DataBits
88 #define SPI_CONFIG_DATABITS_EN 1
89 // <q> SPI_Config_BitOrder
90 #define SPI_CONFIG_BITORDER_EN 1
91 // <q> SPI_Config_SSMode
92 #define SPI_CONFIG_SSMODE_EN 1
93 // <q> SPI_Config_BusSpeed
94 #define SPI_CONFIG_BUSSPEED_EN 1
95 // <q> SPI_Config_CommonParams
96 #define SPI_CONFIG_COMMONPARAMS_EN 1
100 #define SPI_RECEIVE_EN 1
101 // <q> SPI_Loopback_CheckBusSpeed
102 #define SPI_LOOPBACK_CHECKBUSSPEED_EN 1
103 // <q> SPI_Loopback_Transfer
104 #define SPI_LOOPBACK_TRANSFER_EN 1
105 // <q> SPI_CheckInvalidInit
106 #define SPI_CHECKINVALIDINIT_EN 1
111 // <o> Driver_USART# <0-255>
112 // <i> Choose the Driver_USART# instance to be tested
114 // <h> USART baudrates
115 // <i> Set the USART baudrates (bps)
116 // <i> Value zero is ignored
117 // <o> USART baudrate 1
118 #define USART_BR_1 9600
119 // <o> USART baudrate 2
120 #define USART_BR_2 19200
121 // <o> USART baudrate 3
122 #define USART_BR_3 38400
123 // <o> USART baudrate 4
124 #define USART_BR_4 57600
125 // <o> USART baudrate 5
126 #define USART_BR_5 115200
127 // <o> USART baudrate 6
128 #define USART_BR_6 921600
130 // <o> Percentual tolerance for baudrate test
131 // <i> Set the tolerance between measured and expected baudrates (%)
132 #define TOLERANCE_BR 5
133 // <o> USART data bits
134 // <i> Set the USART data bits
135 #define USART_DATA_BITS 8
136 // <o> Transfer timeout
137 // <i> Set the transfer timeout (us)
138 #define USART_TRANSFER_TIMEOUT 1000000
140 // <i> Enable/disable test cases
141 // <q> USART_GetCapabilities
142 #define USART_GETCAPABILITIES_EN 1
143 // <q> USART_Initialization
144 #define USART_INITIALIZATION_EN 1
145 // <q> USART_PowerControl
146 #define USART_POWERCONTROL_EN 1
147 // <q> USART_Config_PolarityPhase
148 #define USART_CONFIG_POLARITYPHASE_EN 1
149 // <q> USART_Config_DataBits
150 #define USART_CONFIG_DATABITS_EN 1
151 // <q> USART_Config_StopBits
152 #define USART_CONFIG_STOPBITS_EN 1
153 // <q> USART_Config_Parity
154 #define USART_CONFIG_PARITY_EN 1
155 // <q> USART_Config_Baudrate
156 #define USART_CONFIG_BAUDRATE_EN 1
157 // <q> USART_Config_CommonParams
158 #define USART_CONFIG_COMMONPARAMS_EN 1
160 #define USART_SEND_EN 1
161 // <q> USART_Loopback_CheckBaudrate
162 #define USART_LOOPBACK_CHECKBAUDRATE_EN 1
163 // <q> USART_Loopback_Transfer
164 #define USART_LOOPBACK_TRANSFER_EN 1
165 // <q> USART_CheckInvalidInit
166 #define USART_CHECKINVALIDINIT_EN 1
171 // <o> Driver_ETH_MAC# <0-255>
172 // <i> Choose the Driver_ETH_MAC# instance to be tested
175 // <i> Set the Ethernet link timeout (us)
176 #define ETH_LINK_TIMEOUT 3000000
177 // <o> Transfer timeout
178 // <i> Set the transfer timeout (us)
179 #define ETH_TRANSFER_TIMEOUT 1000000
180 // <o> Time duration for PTP Control Time
181 // <i> Set time duration for Control Time tests (ms)
182 #define ETH_PTP_TIME_REF 1000
183 // <o> Tolerance for PTP Control Time
184 // <i> Set tolerance for Control Time tests (ns)
185 #define ETH_PTP_TOLERANCE 0
187 // <i> Enable/disable test cases
188 // <q> ETH_MAC_GetCapabilities
189 #define ETH_MAC_GETCAPABILITIES_EN 1
190 // <q> ETH_MAC_Initialization
191 #define ETH_MAC_INITIALIZATION_EN 1
192 // <q> ETH_MAC_PowerControl
193 #define ETH_MAC_POWERCONTROL_EN 1
194 // <q> ETH_MAC_SetBusSpeed
195 #define ETH_MAC_SETBUSSPEED_EN 1
196 // <q> ETH_MAC_Config_Mode
197 #define ETH_MAC_CONFIG_MODE_EN 1
198 // <q> ETH_MAC_Config_CommonParams
199 #define ETH_MAC_CONFIG_COMMONPARAMS_EN 1
200 // <q> ETH_MAC_PTP_ControlTimer
201 #define ETH_MAC_PTP_CONTROLTIMER_EN 1
202 // <q> ETH_PHY_Initialization
203 #define ETH_PHY_INITIALIZATION_EN 1
204 // <q> ETH_PHY_PowerControl
205 #define ETH_PHY_POWERCONTROL_EN 1
206 // <q> ETH_PHY_Config
207 #define ETH_PHY_CONFIG_EN 1
208 // <q> ETH_Loopback_Transfer
209 #define ETH_LOOPBACK_TRANSFER_EN 1
210 // <q> ETH_Loopback_PTP
211 #define ETH_LOOPBACK_PTP_EN 1
212 // <q> ETH_PHY_CheckInvalidInit
213 #define ETH_PHY_CHECKINVALIDINIT_EN 1
214 // <q> ETH_MAC_CheckInvalidInit
215 #define ETH_MAC_CHECKINVALIDINIT_EN 1
220 // <o> Driver_I2C# <0-255>
221 // <i> Choose the Driver_I2C# instance to be tested
224 // <i> Enable/disable test cases
225 // <q> I2C_GetCapabilities
226 #define I2C_GETCAPABILITIES_EN 1
227 // <q> I2C_Initialization
228 #define I2C_INITIALIZATION_EN 1
229 // <q> I2C_PowerControl
230 #define I2C_POWERCONTROL_EN 1
231 // <q> I2C_SetBusSpeed
232 #define I2C_SETBUSSPEED_EN 1
233 // <q> I2C_SetOwnAddress
234 #define I2C_SETOWNADDRESS_EN 1
236 #define I2C_BUSCLEAR_EN 1
237 // <q> I2C_AbortTransfer
238 #define I2C_ABORTTRANSFER_EN 1
239 // <q> I2C_CheckInvalidInit
240 #define I2C_CHECKINVALIDINIT_EN 1
245 // <o> Driver_MCI# <0-255>
246 // <i> Choose the Driver_MCI# instance to be tested
249 // <i> Enable/disable test cases
250 // <q> MCI_GetCapabilities
251 #define MCI_GETCAPABILITIES_EN 1
252 // <q> MCI_Initialization
253 #define MCI_INITIALIZATION_EN 1
254 // <q> MCI_PowerControl
255 #define MCI_POWERCONTROL_EN 1
256 // <q> MCI_SetBusSpeedMode
257 #define MCI_SETBUSSPEEDMODE_EN 1
258 // <q> MCI_Config_DataWidth
259 #define MCI_CONFIG_DATAWIDTH_EN 1
260 // <q> MCI_Config_CmdLineMode
261 #define MCI_CONFIG_CMDLINEMODE_EN 1
262 // <q> MCI_Config_DriverStrength
263 #define MCI_CONFIG_DRIVERSTRENGTH_EN 1
264 // <q> MCI_CheckInvalidInit
265 #define MCI_CHECKINVALIDINIT_EN 1
270 // <o> Driver_USBD# <0-255>
271 // <i> Choose the Driver_USBD# instance to be tested
274 // <i> Enable/disable test cases
275 // <q> USBD_GetCapabilities
276 #define USBD_GETCAPABILITIES_EN 1
277 // <q> USBD_Initialization
278 #define USBD_INITIALIZATION_EN 1
279 // <q> USBD_PowerControl
280 #define USBD_POWERCONTROL_EN 1
281 // <q> USBD_CheckInvalidInit
282 #define USBD_CHECKINVALIDINIT_EN 1
287 // <o> Driver_USBH# <0-255>
288 // <i> Choose the Driver_USBH# instance to be tested
291 // <i> Enable/disable test cases
292 // <q> USBH_GetCapabilities
293 #define USBH_GETCAPABILITIES_EN 1
294 // <q> USBH_Initialization
295 #define USBH_INITIALIZATION_EN 1
296 // <q> USBH_PowerControl
297 #define USBH_POWERCONTROL_EN 1
298 // <q> USBH_CheckInvalidInit
299 #define USBH_CHECKINVALIDINIT_EN 1
304 // <o> Driver_CAN# <0-255>
305 // <i> Choose the Driver_USBD# instance to be tested
308 // <i> Set the CAN bitrates (kbit/s)
309 // <i> Value zero is ignored
317 #define CAN_BR_4 1000
323 // <o> Ratio data/arbitration bitrate
324 // <i> Set the ratio between data and arbitration bitrate for CAN FD
325 #define CAN_DATA_ARB_RATIO 8
326 // <o> Percentual trigger for bitrate test
327 // <i> Set the minimum margin between measured and expected birates (%)
328 #define MIN_BITRATE 10
329 // <o> Transfer timeout
330 // <i> Set the transfer timeout (us)
331 #define CAN_TRANSFER_TIMEOUT 1000000
333 // <i> Enable/disable test cases
334 // <q> CAN_GetCapabilities
335 #define CAN_GETCAPABILITIES_EN 1
336 // <q> CAN_Initialization
337 #define CAN_INITIALIZATION_EN 1
338 // <q> CAN_PowerControl
339 #define CAN_POWERCONTROL_EN 1
340 // <q> CAN_Loopback_CheckBitrate
341 #define CAN_LOOPBACK_CHECK_BR_EN 1
342 // <q> CAN_Loopback_CheckBitrateFD
343 #define CAN_LOOPBACK_CHECK_BR_FD_EN 1
344 // <q> CAN_Loopback_Transfer
345 #define CAN_LOOPBACK_TRANSFER_EN 1
346 // <q> CAN_Loopback_TransferFD
347 #define CAN_LOOPBACK_TRANSFER_FD_EN 1
348 // <q> CAN_CheckInvalidInit
349 #define CAN_CHECKINVALIDINIT_EN 1
354 // <o> Driver_WiFi# <0-255>
355 // <i> Choose the Driver_WiFi# instance to be tested
358 // <i> Configuration of valid settings for driver functionality testing
360 // <i> Settings relevant for Station
362 #define WIFI_STA_SSID "SSID of network to connect"
364 #define WIFI_STA_PASS "Password of network to connect"
366 // <0=> Open <1=> WEP <2=> WPA <3=> WPA2
367 #define WIFI_STA_SECURITY 3
369 // <i> Value 0 means Autodetect
370 #define WIFI_STA_CH 0
372 #define WIFI_STA_WPS_PIN "12345678"
375 // <i> Settings relevant for Access Point
377 #define WIFI_AP_SSID "SSID of created network"
379 #define WIFI_AP_PASS "Password of created network"
381 // <0=> Open <1=> WEP <2=> WPA <3=> WPA2
382 #define WIFI_AP_SECURITY 3
384 // <i> Value 0 means Autoselect
387 #define WIFI_AP_WPS_PIN "12345678"
390 // <s.15>SockServer IP
391 // <i>Static IPv4 Address of SockServer (used for testing socket operation) in text representation
392 #define WIFI_SOCKET_SERVER_IP "192.168.1.10"
393 // <o0.0>API Test Mode <0=>non-strict <1=>BSD strict
394 // <i>Test mode for Socket API tests
395 #define WIFI_SOCKET_TEST_MODE 1
399 // <i> Enable/disable test cases
401 #define WIFI_CONTROL_EN 1
402 // <q> WIFI_GetVersion
403 #define WIFI_GETVERSION_EN 1
404 // <q> WIFI_GetCapabilities
405 #define WIFI_GETCAPABILITIES_EN 1
406 // <q> WIFI_Initialization/Uninitilization
407 #define WIFI_INIT_UNINIT_EN 1
408 // <q> WIFI_PowerControl
409 #define WIFI_POWERCONTROL_EN 1
410 // <q> WIFI_GetModuleInfo
411 #define WIFI_GETMODULEINFO_EN 1
414 #define WIFI_MANAGEMENT_EN 1
415 // <e> WIFI_SetOption/GetOption
416 #define WIFI_SETGETOPTION_EN 1
417 // <o0> ARM_WIFI_BSSID <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
418 // <i> Default test value is set in defines WIFI_BSSID_STA/WIFI_BSSID_AP (1E-30-6C-A2-45-5E)
419 #define WIFI_SETGETOPTION_BSSID_EN 3
420 // <o0> ARM_WIFI_TX_POWER <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
421 // <i> Default test value is set in defines WIFI_TX_POWER_STA/WIFI_TX_POWER_AP (16)
422 #define WIFI_SETGETOPTION_TX_POWER_EN 3
423 // <o0> ARM_WIFI_LP_TIMER <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
424 // <i> Default test value is set in defines WIFI_LP_TIMER_STA (10)
425 #define WIFI_SETGETOPTION_LP_TIMER_EN 3
426 // <o0> ARM_WIFI_DTIM <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
427 // <i> Default test value is set in defines WIFI_DTIM_STA/WIFI_DTIM_AP (3)
428 #define WIFI_SETGETOPTION_DTIM_EN 3
429 // <o0> ARM_WIFI_BEACON <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
430 // <i> Default test value is set in defines WIFI_BEACON_AP (2000)
431 #define WIFI_SETGETOPTION_BEACON_EN 3
432 // <o0> ARM_WIFI_MAC <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
433 // <i> Default test value is set in defines WIFI_MAC_STA/WIFI_MAC_AP (1E-30-6C-A2-45-5E)
434 #define WIFI_SETGETOPTION_MAC_EN 3
435 // <o0> ARM_WIFI_IP <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
436 // <i> Default test value is set in defines WIFI_IP_STA/WIFI_IP_AP (192.168.0.100)
437 #define WIFI_SETGETOPTION_IP_EN 3
438 // <o0> ARM_WIFI_IP_SUBNET_MASK <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
439 // <i> Default test value is set in defines WIFI_IP_SUBNET_MASK_STA/WIFI_IP_SUBNET_MASK_AP (255.255.255.0)
440 #define WIFI_SETGETOPTION_IP_SUBNET_MASK_EN 3
441 // <o0> ARM_WIFI_IP_GATEWAY <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
442 // <i> Default test value is set in defines WIFI_IP_GATEWAY_STA/WIFI_IP_GATEWAY_AP (192.168.0.254)
443 #define WIFI_SETGETOPTION_IP_GATEWAY_EN 3
444 // <o0> ARM_WIFI_IP_DNS1 <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
445 // <i> Default test value is set in defines WIFI_IP_DNS1_STA/WIFI_IP_DNS1_AP (8.8.8.8)
446 #define WIFI_SETGETOPTION_IP_DNS1_EN 3
447 // <o0> ARM_WIFI_IP_DNS2 <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
448 // <i> Default test value is set in defines WIFI_IP_DNS2_STA/WIFI_IP_DNS2_AP (8.8.4.4)
449 #define WIFI_SETGETOPTION_IP_DNS2_EN 3
450 // <o0> ARM_WIFI_IP_DHCP <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
451 #define WIFI_SETGETOPTION_IP_DHCP_EN 3
452 // <o0> ARM_WIFI_IP_DHCP_POOL_BEGIN <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
453 // <i> Default test value is set in defines WIFI_IP_DHCP_POOL_BEGIN_AP (192.168.0.100)
454 #define WIFI_SETGETOPTION_IP_DHCP_POOL_BEGIN_EN 3
455 // <o0> ARM_WIFI_IP_DHCP_POOL_END <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
456 // <i> Default test value is set in defines WIFI_IP_DHCP_POOL_END_AP (192.168.0.200)
457 #define WIFI_SETGETOPTION_IP_DHCP_POOL_END_EN 3
458 // <o0> ARM_WIFI_IP_DHCP_LEASE_TIME <0=>Disabled <1=>Set <2=>Get <3=>Set/Get
459 // <i> Default test value is set in defines WIFI_IP_DHCP_LEASE_TIME_AP (3600)
460 #define WIFI_SETGETOPTION_IP_DHCP_LEASE_TIME_EN 3
463 #define WIFI_SCAN_EN 1
464 #define WIFI_SCAN_MAX_NUM 10
465 // <q> WIFI_Activate/Deactivate
466 #define WIFI_ACT_DEACT_EN 1
467 // <q> WIFI_IsConnected
468 #define WIFI_ISCONNECTED_EN 1
469 // <q> WIFI_GetNetInfo
470 #define WIFI_GETNETINFO_EN 1
472 // <e> Management (requires user interaction)
473 #define WIFI_MANAGEMENT_USER_EN 0
474 // <q> WIFI_Activate_AP
475 // <i> For this test please connect a WiFi client (for example mobile phone) to AP
476 // <i> and check if connection has succeeded
477 #define WIFI_ACT_AP 1
478 #define WIFI_AP_CLIENT_CON_TIMEOUT 120000
480 #define WIFI_WPS_USER_EN 1
481 // <q> WIFI_Activate_Station_WPS_PBC
482 // <i> For this test please start WPS Push-button method on WiFi AP (router) manually
483 #define WIFI_ACT_STA_WPS_PBC 1
484 // <q> WIFI_Activate_Station_WPS_PIN
485 // <i> For this test please configure WPS PIN method on WiFi AP (router) manually
486 #define WIFI_ACT_STA_WPS_PIN 1
487 // <q> WIFI_Activate_AP_WPS_PBC
488 // <i> For this test please connect a WiFi client (for example mobile phone) to AP with WPS Push-button method
489 // <i> and check if connection has succeeded
490 #define WIFI_ACT_AP_WPS_PBC 1
491 // <q> WIFI_Activate_AP_WPS_PIN
492 // <i> For this test please connect a WiFi client (for example mobile phone) to AP with WPS PIN method
493 // <i> and check if connection has succeeded
494 #define WIFI_ACT_AP_WPS_PIN 1
497 // <e> Socket API (requires SockServer)
498 #define WIFI_SOCKET_EN 1
499 // <i> Enable/disable test cases
500 #define WIFI_SOCKET_MAX_NUM 4
501 // <q> WIFI_SocketCreate
502 #define WIFI_SOCKETCREATE_EN 1
503 // <q> WIFI_SocketBind
504 #define WIFI_SOCKETBIND_EN 1
505 // <q> WIFI_SocketListen
506 #define WIFI_SOCKETLISTEN_EN 1
507 // <q> WIFI_SocketAccept
508 #define WIFI_SOCKETACCEPT_EN 1
509 // <q> WIFI_SocketConnect
510 #define WIFI_SOCKETCONNECT_EN 1
511 // <q> WIFI_SocketRecv
512 #define WIFI_SOCKETRECV_EN 1
513 // <q> WIFI_SocketRecvFrom
514 #define WIFI_SOCKETRECVFROM_EN 1
515 // <q> WIFI_SocketSend
516 #define WIFI_SOCKETSEND_EN 1
517 // <q> WIFI_SocketSendTo
518 #define WIFI_SOCKETSENDTO_EN 1
519 // <q> WIFI_SocketGetSockName
520 #define WIFI_SOCKETGETSOCKNAME_EN 1
521 // <q> WIFI_SocketGetPeerName
522 #define WIFI_SOCKETGETPEERNAME_EN 1
523 // <q> WIFI_SocketGetOpt
524 #define WIFI_SOCKETGETOPT_EN 1
525 // <q> WIFI_SocketSetOpt
526 #define WIFI_SOCKETSETOPT_EN 1
527 // <q> WIFI_SocketClose
528 #define WIFI_SOCKETCLOSE_EN 1
529 // <q> WIFI_SocketGetHostByName
530 #define WIFI_SOCKETGETHOSTBYNAME_EN 1
532 #define WIFI_PING_EN 1
534 // <e> Socket Operation (requires SockServer)
535 // <i> Enable/disable test cases
536 #define WIFI_SOCKET_OP_EN 1
537 // <q> WIFI_Transfer_Fixed
538 // <i> Sends and receives in fixed size blocks
539 #define WIFI_TRANSFER_FIXED_EN 1
540 // <q> WIFI_Transfer_Incremental
541 // <i> Sends and receives in ascending size blocks
542 #define WIFI_TRANSFER_INCREMENTAL_EN 1
543 // <q> WIFI_Send_Fragmented
544 // <i> Sends several smaller blocks, receives one large block
545 #define WIFI_SEND_FRAGMENTED_EN 1
546 // <q> WIFI_Recv_Fragmented
547 // <i> Sends one large block, receives several smaller blocks
548 #define WIFI_RECV_FRAGMENTED_EN 1
549 // <q> WIFI_Test_Speed
550 // <i> Transmits data and measures transfer speed
551 #define WIFI_TEST_SPEED_EN 1
552 // <q> WIFI_Concurrent_Socket
553 // <i> Transmits data in two sockets simultaneously
554 #define WIFI_CONCURRENT_SOCKET_EN 1
559 // Configuration settings of test values for Set/GetOptions
561 #define WIFI_BSSID_STA "1E-30-6C-A2-45-5E"
562 #define WIFI_BSSID_AP "1E-30-6C-A2-45-5E"
563 // Radio transmitting power in dBm
564 #define WIFI_TX_POWER_STA 16
565 #define WIFI_TX_POWER_AP 16
566 // Low-power deep-sleep time value in seconds
567 #define WIFI_LP_TIMER_STA 10
568 // Delivery Traffic Indication Message interval value in beacons
569 #define WIFI_DTIM_STA 3
570 #define WIFI_DTIM_AP 3
571 // Beacon interval value in milliseconds
572 #define WIFI_BEACON_AP 2000
573 // Ethernet MAC Address in text representation
574 #define WIFI_MAC_STA "1E-30-6C-A2-45-5E"
575 #define WIFI_MAC_AP "1E-30-6C-A2-45-5E"
576 // Static IPv4 Address in text representation
577 #define WIFI_IP_STA "192.168.0.100"
578 #define WIFI_IP_AP "192.168.0.100"
579 // Local Subnet mask in text representation
580 #define WIFI_IP_SUBNET_MASK_STA "255.255.255.0"
581 #define WIFI_IP_SUBNET_MASK_AP "255.255.255.0"
582 // IP Address of Default Gateway in text representation
583 #define WIFI_IP_GATEWAY_STA "192.168.0.254"
584 #define WIFI_IP_GATEWAY_AP "192.168.0.254"
585 // IP Address of Primary DNS Server in text representation
586 #define WIFI_IP_DNS1_STA "8.8.8.8"
587 #define WIFI_IP_DNS1_AP "8.8.8.8"
588 // IP Address of Secondary DNS Server in text representation
589 #define WIFI_IP_DNS2_STA "8.8.4.4"
590 #define WIFI_IP_DNS2_AP "8.8.4.4"
591 // IP Address of DHCP server pool beginning in text representation
592 #define WIFI_IP_DHCP_POOL_BEGIN_AP "192.168.0.100"
593 // IP Address of DHCP server pool end in text representation
594 #define WIFI_IP_DHCP_POOL_END_AP "192.168.0.200"
595 // DHCP lease time value in seconds
596 #define WIFI_IP_DHCP_LEASE_TIME_AP 3600
598 // Timeout configuration that can be used for adjusting tests to limitations of the WiFi Module (in ms)
599 #define WIFI_SOCKET_TIMEOUT 2000
600 #define WIFI_SOCKET_TIMEOUT_LONG 35000
602 //------------------------------------------------------------------------------
604 // Device specific local loopback settings
605 #define SPI_LOCAL_LOOPBACK()
606 #define USART_LOCAL_LOOPBACK()
608 #endif /* __DV_CONFIG_H */