cleaned version of TFT + Ethernet
Dependents: XPL-App4_cleanup XPL-App5
nihh_utils.h
- Committer:
- richnash
- Date:
- 2018-10-09
- Revision:
- 0:9688737bf8cd
- Child:
- 1:e4a6f3f88b56
File content as of revision 0:9688737bf8cd:
#ifndef nihh_util_h #define nihh_util_h #include "mbed.h" #define PARSE_NOSTRIP 0 #define PARSE_STRIP 1 #define PARAMS_ALLOWBLANKS 1 #define PARAMS_NOBLANKS 0 #define RC_ERROR -1 #define NULL 0 // Public Functions ================= int UTILS_UDPSendString ( char *, char *, int ); // int UTILS_UDPSendByte ( char *, int, int ); // char * UTILS_TrimString ( char *, char * ); // int UTILS_ParseString ( char *, char *[], int, int, int ); // int UTILS_CheckParams ( char *, int, char *[], int ); // // general conversion functions int UTILS_HEXtoDEC ( int, int ); char* UTILS_bit_sprintf ( char*, int, int ); // general string functions char * UTILS_replace_char_in_string (char *, char, char ); char * UTILS_strip_char_in_string (char *, char ); #endif