Merge pull request #5291 from SenRamakri/sen_RealtekWiFiConfig

Add RealTek WiFi test configuration
pull/5437/merge
Jimmy Brisson 2017-11-06 10:26:12 -06:00 committed by GitHub
commit 863b3fdcc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,27 @@
{
"config": {
"header-file": {
"help" : "String for including your driver header file",
"value" : "\"RTWInterface.h\""
},
"object-construction" : {
"value" : "new RTWInterface()"
},
"connect-statement" : {
"help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
"value" : "((RTWInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
},
"echo-server-addr" : {
"help" : "IP address of echo server",
"value" : "\"195.34.89.241\""
},
"echo-server-port" : {
"help" : "Port of echo server",
"value" : "7"
},
"tcp-echo-prefix" : {
"help" : "Some servers send a prefix before echoed message",
"value" : "\"Realtek Ameba TCP/UDP test service\\n\""
}
}
}

View File

@ -1,5 +1,6 @@
{
"ETHERNET" : "EthernetInterface.json",
"ODIN_WIFI" : "OdinInterface.json",
"ODIN_ETHERNET" : "Odin_EthernetInterface.json"
"ODIN_ETHERNET" : "Odin_EthernetInterface.json",
"REALTEK_WIFI" : "RealtekInterface.json"
}

View File

@ -6,5 +6,9 @@
"K64F": {
"default_test_configuration": "ETHERNET",
"test_configurations": ["ETHERNET"]
},
"REALTEK_RTL8195AM": {
"default_test_configuration": "REALTEK_WIFI",
"test_configurations": ["REALTEK_WIFI"]
}
}