source: arduino-1-6-7/trunk/fuentes/arduino-ide-amd64/hardware/arduino/avr/firmwares/wifishield/wifiHD/src/cmd_wl.h @ 4837

Last change on this file since 4837 was 4837, checked in by daduve, 2 years ago

Adding new version

File size: 3.0 KB
Line 
1/* This header file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */
2
3/*! \page License
4 * Copyright (C) 2009, H&D Wireless AB All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *
9 * 1. Redistributions of source code must retain the above copyright notice,
10 * this list of conditions and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the above copyright notice,
13 * this list of conditions and the following disclaimer in the documentation
14 * and/or other materials provided with the distribution.
15 *
16 * 3. The name of H&D Wireless AB may not be used to endorse or promote products derived
17 * from this software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY H&D WIRELESS AB ``AS IS'' AND ANY EXPRESS OR IMPLIED
20 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY AND
22 * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
23 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
30#ifndef CMD_CM_H
31#define CMD_CM_H
32
33#include <console.h>
34#include "netif/wlif.h"
35
36/*! A pointer to a struct of type "struct net_cfg" should be passed as
37 *  the ctx pointer in the callbacks below. The struct must have a
38 *  single instance per netif.
39 */
40#define _DNS_CMD_
41
42cmd_state_t cmd_scan(int argc, char* argv[], void* ctx);
43cmd_state_t cmd_connect(int argc, char* argv[], void* ctx);
44cmd_state_t cmd_set_ip(int argc, char* argv[], void* ctx);
45cmd_state_t cmd_setkey(int argc, char* argv[], void* ctx);
46cmd_state_t cmd_status(int argc, char* argv[], void* ctx);
47cmd_state_t cmd_power(int argc, char* argv[], void* ctx);
48cmd_state_t cmd_psconf(int argc, char* argv[], void* ctx);
49cmd_state_t cmd_setpass(int argc, char* argv[], void* ctx);
50cmd_state_t cmd_delpass(int argc, char* argv[], void* ctx);
51cmd_state_t cmd_debug(int argc, char* argv[], void* ctx);
52cmd_state_t cmd_debug_toggle(int argc, char* argv[], void* ctx);
53cmd_state_t cmd_statSpi(int argc, char* argv[], void* ctx);
54cmd_state_t cmd_resetStatSpi(int argc, char* argv[], void* ctx);
55cmd_state_t cmd_gethostbyname(int argc, char* argv[], void* ctx);
56cmd_state_t cmd_setDnsServer(int argc, char* argv[], void* ctx);
57cmd_state_t cmd_startSrv(int argc, char* argv[], void* ctx);
58cmd_state_t cmd_startCli(int argc, char* argv[], void* ctx);
59cmd_state_t cmd_dumpBuf(int argc, char* argv[], void* ctx);
60cmd_state_t cmd_sendUdpData(int argc, char* argv[], void* ctx);
61#ifdef WFE_6_12
62cmd_state_t cmd_ibss(int argc, char* argv[], void* ctx);
63#endif
64
65
66#endif
Note: See TracBrowser for help on using the repository browser.