Microchip® Advanced Software Framework

cmd_wl.h File Reference
#include <util/console.h>
#include "netif/wlif.h"

Functions

cmd_state_t cmd_connect (int argc, char *argv[], void *ctx)
 
cmd_state_t cmd_delpass (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_setpass (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_delpass ( int  argc,
char *  argv[],
void *  ctx 
)

Referenced by wl_init_complete_cb().

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, key, and printk().

Referenced by wl_init_complete_cb().

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

Referenced by wl_init_complete_cb().

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