This commit is contained in:
pvvx 2017-04-10 15:32:02 +03:00
parent 52c964be3f
commit a590693719
37 changed files with 1008 additions and 841 deletions

View file

@ -181,6 +181,7 @@ a lot of data that needs to be copied, this should be set high. */
/* Support Multicast */
#define LWIP_IGMP 1
extern __attribute__ ((long_call)) unsigned int Rand(void);
#define LWIP_RAND() Rand()
/* Support TCP Keepalive */

View file

@ -165,6 +165,7 @@ LOCAL void fATSB(int argc, char *argv[])
//------------------------------------------------------------------------------
// Dump dword register
//------------------------------------------------------------------------------
extern u32 CmdDumpWord(IN u16 argc, IN u8 *argv[]);
LOCAL void fATSD(int argc, char *argv[])
{
/*
@ -179,6 +180,7 @@ LOCAL void fATSD(int argc, char *argv[])
//------------------------------------------------------------------------------
// Write dword register
//------------------------------------------------------------------------------
extern u32 CmdWriteWord(IN u16 argc, IN u8 *argv[]);
LOCAL void fATSW(int argc, char *argv[])
{
CmdWriteWord(argc-1, (unsigned char**)(argv+1));

View file

@ -21,7 +21,7 @@ extern struct netif xnetif[NET_IF_NUM];
//==========================================================
//--- CONSOLE --------------------------
extern rtw_security_t translate_rtw_security(u8 security_type);
// ATPN=<SSID>[,password[,encryption[,auto reconnect[,reconnect pause]]]: WIFI Connect to AP
LOCAL void fATPN(int argc, char *argv[]){
if(argc > 1) {
@ -216,7 +216,7 @@ unsigned char *tab_txt_rtw_secyrity[] = {
"WPA/WPA2 AES",
"Unknown"
};
unsigned int *tab_code_rtw_secyrity[] = {
int *tab_code_rtw_secyrity[] = {
RTW_SECURITY_OPEN,
RTW_SECURITY_WEP_PSK,
RTW_SECURITY_WPA_TKIP_PSK,