| /** |
| * @file max_macro.h |
| * @brief ƽ̨¼¶Ä£¿é¼ä¹«¹²ÉÏÏ޺궨Ò壬Óû§¿ÉÐÞ¸ÄÉÏÏÞÖµ£¬·²ÊDz»»á±»Ð޸ĵĺ꣬²»×¼ÔÚ´ËÍ·ÎļþÖж¨Òå |
| *ËùÓпçÄ£¿éµÄ²ßÂԺ꣬ÈçÏûÏ¢³¤¶È¡¢NV³¤¶ÈµÈ£»SMS¡¢PB³¤¶È£»¶¨Ê±Æ÷ʱ³¤£»³¢ÊÔ´ÎÊý£»Ñ»·ÉÏÏÞ£» |
| * Copyright (C) 2017 Sanechips Technology Co., Ltd. |
| * @author |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| * |
| */ |
| #ifndef __MAX_MACRO_H__ |
| #define __MAX_MACRO_H__ |
| |
| /** |
| * @brief ½ø³Ì¼äÏûÏ¢·¢Ë͵ÄÏûÏ¢ÄÚÈݳ¤¶ÈÉÏÏÞ |
| */ |
| #define MSG_DATA_MAX_LEN 3500 |
| |
| /** |
| * @brief ºË¼äÏûÏ¢·¢Ë͵ÄÏûÏ¢ÄÚÈݳ¤¶ÈÉÏÏÞ |
| */ |
| #define SOC_MSG_MAX_LEN (MSG_DATA_MAX_LEN-16) |
| |
| /** |
| * @brief ºË¼äͨµÀ»º´æ´óС |
| */ |
| #define AT_CHAN_MAX_BUF_LEN 8*1024 |
| |
| /** |
| * @brief NVÅäÖÃÎļþÃû³¤¶ÈÉÏÏÞ |
| */ |
| #define NV_MAX_FILE_LEN 256 |
| |
| /** |
| * @brief NVÏîÃû³Æ³¤¶ÈÉÏÏÞ |
| */ |
| #define NV_MAX_KEY_LEN 1024 |
| |
| /** |
| * @brief NVÖµ³¤¶ÈÉÏÏÞ |
| */ |
| #define NV_MAX_VAL_LEN 1024 |
| |
| /** |
| * @brief NVÏîºÍNVÖµ³¤¶ÈÉÏÏÞ |
| */ |
| #define NV_MAX_ITEM_LEN (NV_MAX_KEY_LEN + NV_MAX_VAL_LEN) |
| |
| /** |
| * @brief Ó¦ÓòãÃæ´íÎóÂë¸ú×Ù¸öÊýÉÏÏÞ£¬½öÓÃÓÚÎÊÌⶨλ. |
| *Õâ¸ö´óСÊÜÏÞÓÚNV_MAX_VAL_LENµÄ´óС |
| */ |
| #define ERR_TRACK_MAX_NUM (NV_MAX_VAL_LEN-16)/(2 * 8) |
| |
| /** |
| * @brief µ¥ÌõATÃüÁî×î´ó³¤¶È |
| */ |
| #define AT_CMD_MAX 2048 |
| |
| /** |
| * @brief Íø¿ÚÃû³¤¶ÈÉÏÏÞ |
| */ |
| #define NETIF_NAME_LEN 20 |
| |
| /** |
| * @brief PCÖ÷»úÃû³¤¶ÈÉÏÏÞ |
| */ |
| #define HOSTNAME_LEN 150 |
| |
| /** |
| * @brief ÍøÂçIPµØÖ·³¤¶ÈÉÏÏÞ |
| */ |
| #define SOFTAP_IP_MAX_LEN 32 |
| |
| |
| /** |
| * @brief ×Ö·û´®³¤¶È |
| */ |
| #define SOFTAP_STR_LEN_16 16 |
| |
| |
| //////ÒÔÏÂÊÇPBµç»°±¾µÄºê¶¨Ò壬ÇëÕÅ·ÒǣͷÕûÀí |
| |
| |
| //////ÒÔÏÂÊÇSMSµÄºê¶¨Ò壬ÇëÕÅ·ÒǣͷÕûÀí |
| |
| #define ZSMS_PDU_SIZE 400 |
| |
| |
| |
| |
| #endif |