Argument Checking and Debug Configuration
Most functions in μC/HTTPs include code to validate arguments that are passed to it. Specifically, μC/TCP-IP checks to see if passed pointers are NULL, if arguments are within valid ranges, etc. The following constants configure additional argument checking.
A fair amount of code in μC/HTTPs has been included to simplify debugging. There are several configuration constants used to aid debugging.
HTTPs_CFG_ARG_CHK_EN
HTTPs_CFG_ARG_CHK_EXT_EN
allows code to be generated to check arguments for functions that can be called by the user and, for functions which are internal but receive arguments from an API that the user can call. HTTPs_CFG_ARG_CHK_EXT_EN
can be set to either DEF_DISABLED
orDEF_ENABLED
.
HTTPs_CFG_DGB_INFO_EN
HTPPs_CFG_DBG_INFO_EN
is used to enable/disable μC/HTTPs debug information: Internal constants assigned to global variables. HTPPs_CFG_DBG_INFO_EN
can be set to either DEF_DISABLED
or DEF_ENA