📄 net_err.c
字号:
/*
*********************************************************************************************************
* uC/TCP-IP
* The Embedded TCP/IP Suite
*
* (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyright laws.
* Knowledge of the source code may not be used to write a similar
* product. This file may only be used in accordance with a license
* and should not be redistributed in any way.
*********************************************************************************************************
*/
/*
*********************************************************************************************************
*
* NETWORK ERROR CODE MANAGEMENT
*
* Filename : net_err.c
* Version : V1.86
* Programmer(s) : ITJ
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* INCLUDE FILES
*********************************************************************************************************
*/
#define NET_ERR_MODULE
#include <net.h>
/*$PAGE*/
/*
*********************************************************************************************************
* LOCAL DEFINES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* ERROR CODE STRING DEFINES
*********************************************************************************************************
*/
#define NET_ERR_STR_NONE ""
/*$PAGE*/
/*
*********************************************************************************************************
* LOCAL CONSTANTS
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL DATA TYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL TABLES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL GLOBAL VARIABLES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL FUNCTION PROTOTYPES
*********************************************************************************************************
*/
/*
*********************************************************************************************************
* LOCAL CONFIGURATION ERRORS
*********************************************************************************************************
*/
/*$PAGE*/
/*
*********************************************************************************************************
* NetErr_GetStr()
*
* Description : Get error code string for a specific network error code value.
*
* Argument(s) : err_code Desired error code to return corresponding error code string.
*
* Return(s) : Error code's error code string, if error code found.
*
* NET_ERR_STR_NONE, otherwise.
*
* Caller(s) : Application.
*
* Note(s) : (1) #### NOT yet implemented.
*********************************************************************************************************
*/
#if (NET_DBG_CFG_TEST_EN == DEF_ENABLED)
CPU_CHAR *NetErr_GetStr (NET_ERR err_code)
{
(void)&err_code; /* Prevent compiler warning. */
return (NET_ERR_STR_NONE);
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -