Rtos API example

Committer:
marcozecchini
Date:
Sat Feb 23 12:13:36 2019 +0000
Revision:
0:9fca2b23d0ba
final commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
marcozecchini 0:9fca2b23d0ba 1 {
marcozecchini 0:9fca2b23d0ba 2 "config": {
marcozecchini 0:9fca2b23d0ba 3 "header-file": {
marcozecchini 0:9fca2b23d0ba 4 "help" : "String for including your driver header file",
marcozecchini 0:9fca2b23d0ba 5 "value" : "\"RTWInterface.h\""
marcozecchini 0:9fca2b23d0ba 6 },
marcozecchini 0:9fca2b23d0ba 7 "object-construction" : {
marcozecchini 0:9fca2b23d0ba 8 "value" : "new RTWInterface()"
marcozecchini 0:9fca2b23d0ba 9 },
marcozecchini 0:9fca2b23d0ba 10 "connect-statement" : {
marcozecchini 0:9fca2b23d0ba 11 "help" : "Must use 'net' variable name, replace WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL with your WiFi settings",
marcozecchini 0:9fca2b23d0ba 12 "value" : "((RTWInterface *)net)->connect(WIFI_SSID, WIFI_PASSWORD, WIFI_SECURITY, WIFI_CHANNEL)"
marcozecchini 0:9fca2b23d0ba 13 },
marcozecchini 0:9fca2b23d0ba 14 "echo-server-addr" : {
marcozecchini 0:9fca2b23d0ba 15 "help" : "IP address of echo server",
marcozecchini 0:9fca2b23d0ba 16 "value" : "\"195.34.89.241\""
marcozecchini 0:9fca2b23d0ba 17 },
marcozecchini 0:9fca2b23d0ba 18 "echo-server-port" : {
marcozecchini 0:9fca2b23d0ba 19 "help" : "Port of echo server",
marcozecchini 0:9fca2b23d0ba 20 "value" : "7"
marcozecchini 0:9fca2b23d0ba 21 },
marcozecchini 0:9fca2b23d0ba 22 "tcp-echo-prefix" : {
marcozecchini 0:9fca2b23d0ba 23 "help" : "Some servers send a prefix before echoed message",
marcozecchini 0:9fca2b23d0ba 24 "value" : "\"Realtek Ameba TCP/UDP test service\\n\""
marcozecchini 0:9fca2b23d0ba 25 }
marcozecchini 0:9fca2b23d0ba 26 }
marcozecchini 0:9fca2b23d0ba 27 }