 |
NetBurner 3.1
|
27 #ifndef _NB_FACTORY_H_ 28 #define _NB_FACTORY_H_ 37 #define NB_FACTORY_DEFAULTS_VERSION (DWORD)( 0x01110000 ) 38 #define NB_FACTORY_DEFAULTS_VERSION_STRING "01.00" 43 #define NB_FACTORY_MODULE_BASE_NAME "MOD5441X" 44 #elif defined NANO54415 45 #define NB_FACTORY_MODULE_BASE_NAME "NANO54415" 47 #define NB_FACTORY_MODULE_BASE_NAME "SB800EX" 48 #elif defined MODM7AE70 49 #define NB_FACTORY_MODULE_BASE_NAME "MODM7AE70" 51 #error Module not supported 54 #define NB_FACTORY_BASE_DESC "SSH User Key Example" 57 #define NB_FACTORY_FEATURE_NAME "" 58 #define NB_FACTORY_FEATURE_DESC "Upload SSH Key Example" 60 #define NB_FACTORY_INCLUDE_SSH ( 1 ) 61 #define SSH_KEY_SIZE_MAX_PEM ( ( 4 * 1024 ) - 1 ) 63 #define NB_FACTORY_INACTIVITY_TIMEOUT_SSH_DEFAULT ( 180 ) 64 #define NB_FACTORY_NEW_CONNECTION_TIMEOUT_SSH_DEFAULT ( 360 ) 66 #define NB_FACTORY_SSH_PERMANENT_KEY_DESC_DEFAULT "NetBurner Library Default " 67 #define NB_FACTORY_SSH_INCLUDED_KEY_DESC_DEFAULT "Application Default " 68 #define NB_FACTORY_SSH_INSTALLED_KEY_DESC_DEFAULT "User Installed " 70 #define NB_FACTORY_SSH_FILE_NAME_KEY_RSA "rsa.key" 71 #define NB_FACTORY_SSH_FILE_NAME_KEY_DSA "dsa.key" 74 #define NB_FACTORY_DHCP_TIMEOUT_IN_TICKS ( 10 * TICKS_PER_SECOND ) 83 #define NB_FACTORY_FILE_SIZE_MAXIMUM ( 4 * 1024 ) 94 #define NB_FACTORY_FLASH_32MB_128KB_SECTORS (1) 96 #define NB_FACTORY_FS_FLASHBASE (0xC0000000) 99 #elif defined NANO54415 101 #define NB_FACTORY_FLASH_SPI_8MB_4KB_SECTORS (1) 106 #elif defined SB800EX 108 #define NB_FACTORY_FLASH_SPI_8MB_4KB_SECTORS ( 1 ) 113 #elif defined MODM7AE70 115 #define NB_FACTORY_FLASH_2MB_8KB_SECTORS (1) 117 #define NB_FACTORY_FS_FLASHBASE (0x00400000) 121 #error Module not supported 125 #define debug_iprintf(...)\ 127 if ( bShowDebug == TRUE ) \ 129 iprintf( __VA_ARGS__ ); \