BA
/
BaBoRo_test2
Backup 1
Diff: mbed-os/tools/test_configs/ESP8266Interface.json
- Revision:
- 0:02dd72d1d465
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os/tools/test_configs/ESP8266Interface.json Tue Apr 24 11:45:18 2018 +0000 @@ -0,0 +1,37 @@ +{ + "config": { + "header-file": { + "help" : "String for including your driver header file", + "value" : "\"ESP8266Interface.h\"" + }, + "object-construction" : { + "value" : "new ESP8266Interface( D1, D0, false )" + }, + "connect-statement" : { + "help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings", + "value" : "((ESP8266Interface *)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" : "\"u-blox AG TCP/UDP test service\\n\"" + }, + "tcp-client-echo-buffer-size" : { + "help" : "Number of bytes to be send to echo server", + "value" : "200" + }, + "ESP8266-TX": { + "value":"D1" + }, + "ESP8266-RX": { + "value":"D0" + } + } +}