This repository has been archived on 2022-10-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
04_zumbach/07_m1284p_WIZNET_telnets_basic/Application/telnet/telnet.h
2019-01-18 13:55:22 +04:00

30 lines
576 B
C

/*
* telnet.h
*
* Created on: 30 íîÿá. 2018 ã.
* 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_ */