| 12345678910111213141516171819 |
- #ifndef __SYS_COMMON_H__
- #define __SYS_COMMON_H__
- #include "stdint.h"
- #include "stdbool.h"
- int HAL_Vsnprintf(char *buffer, int n, const char *format, va_list ap);
- int HAL_Sprintf(char *buf, const char *fmt, ...);
- int8_t* SYS_Strcpy(int8_t *dst, const int8_t *src);
- int8_t *SYS_Strstr(const int8_t *haystack, const int8_t *needle);
- int8_t *SYS_Strcat(int8_t *dst, const int8_t *src);
- uint8_t *SYS_Hex2str(uint8_t *hex, int len);
- uint8_t *SYS_Str2hex(uint8_t *src, int len);
- void small_big_transfer32(uint32_t* data);
- void small_big_transfer16(uint16_t *data);
- uint8_t SYS_CheckStrLen(const char* buf, const char* key, uint8_t len);
- #endif /* __SYS_COMMON_H__ */
|