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