Add [07_m1284p_WIZNET_telnets_basic] prj

This commit is contained in:
maxxir_w
2019-01-18 13:55:22 +04:00
parent 2c2de7b85a
commit 5710a9e18c
18 changed files with 7794 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/*
* telnet.h
*
* Created on: 30 <20><><EFBFBD><EFBFBD>. 2018 <20>.
* Author: maxx
*/
#ifndef TELNET_H_
#define TELNET_H_
#include "stdint.h"
#include "../../globals.h"
#define TELNET_PORT 23
#define TELNET_AUTH_PORT 24
int32_t telnet_srv(uint8_t sn, uint8_t* buf, uint16_t port);
int32_t telnet_auth_srv(uint8_t sn, uint8_t* buf, uint16_t port);
/*Telnet test debug message printout enable */
#define _TELNET_DEBUG_
/* TELNET_BUF_SIZE define for TELNET example */
#ifndef TELNET_BUF_SIZE
#define TELNET_BUF_SIZE 64
#endif
#endif /* TELNET_H_ */