Microchip® Advanced Software Framework

cmd_wl.c File Reference
#include <util/top_defs.h>
#include <ctype.h>
#include <wl/cmd_wl.h>
#include <wl/wl_cm.h>
#include <util/console.h>
#include <util/util.h>
#include <net/lwip_setup.h>
#include "lwip/netif.h"

Functions

cmd_state_t cmd_connect (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_power (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_psconf (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_scan (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_set_ip (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_setkey (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_status (int argc, char *argv[], void *ctx)
 

cmd_state_t cmd_connect ( int  argc,
char *  argv[],
void *  ctx 
)
cmd_state_t cmd_power ( int  argc,
char *  argv[],
void *  ctx 
)

References CMD_DONE, and printk().

Referenced by wl_init_complete_cb().

cmd_state_t cmd_psconf ( int  argc,
char *  argv[],
void *  ctx 
)

References CMD_DONE, and printk().

Referenced by wl_init_complete_cb().

cmd_state_t cmd_scan ( int  argc,
char *  argv[],
void *  ctx 
)

A pointer to a struct of type "struct net_cfg" should be passed as the ctx pointer in the callbacks below. The struct must have a single instance per netif.

References CMD_DONE, and print_network_list().

Referenced by wl_init_complete_cb().

cmd_state_t cmd_set_ip ( int  argc,
char *  argv[],
void *  ctx 
)
cmd_state_t cmd_setkey ( int  argc,
char *  argv[],
void *  ctx 
)

References ascii_to_key(), CMD_DONE, and printk().

Referenced by wl_init_complete_cb().

cmd_state_t cmd_status ( int  argc,
char *  argv[],
void *  ctx 
)