esplogger.ino 772 Bytes
Newer Older
1
2
3
4
5
/*-----------------------------------------------------------------------------
 *  Author: Nelso G. Jost (nelsojost@gmail.com)
 *  License: GPLv2
 *  Purpose: Entry point for the Arduino Toolchain.
 *---------------------------------------------------------------------------*/
6
#include <Arduino.h>
7
#include "repl.h"
8
9
#include "repl_gpio.h"
#include "repl_sdcard.h"
10
#include "wifi.h"
11
12
13
14
15

void REPL_WIFISCAN(String command);

REPL_COMMAND commands[] =\
{
16
17
18
19
20
21
22
    ALLCMD_REPL_GPIO,
    ALLCMD_REPL_SDCARD,

    {"wifiscan", REPL_WIFISCAN, "wifiscan",
     "List all availables SSID in range for connection."},

    {NULL}
23
24
};
REPL repl(commands);
25
26
27
28


void setup()
{
29
30
    Serial.begin(9600);
    repl.run();
31
32
33
34
}

void loop()
{
35
36
37
38

}


39
void REPL_WIFISCAN(REPL * repl)
40
41
42
43
44
45
{
    wifiscan();
}



46