Add [07_m1284p_WIZNET_telnets_basic] prj
This commit is contained in:
29
07_m1284p_WIZNET_telnets_basic/Application/telnet/telnet.h
Normal file
29
07_m1284p_WIZNET_telnets_basic/Application/telnet/telnet.h
Normal 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_ */
|
||||
Reference in New Issue
Block a user