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