Customized SNICInterface

Fork of NySNICInterface by Ryo Iizuka

Revision:
36:f33fcf5975ab
Parent:
33:33f1bc919486
Child:
39:a1233ca02edf
--- a/SNIC/SNIC_Core.h	Tue Jun 10 10:19:48 2014 +0000
+++ b/SNIC/SNIC_Core.h	Thu Jun 19 10:15:47 2014 +0000
@@ -21,7 +21,7 @@
 
 #include "SNIC_UartCommandManager.h"
 
-#define UART_REQUEST_PAYLOAD_MAX 1024
+#define UART_REQUEST_PAYLOAD_MAX 2048
 
 #define MEMPOOL_BLOCK_SIZE  2048
 #define MEMPOOL_PAYLOAD_NUM 1
@@ -65,6 +65,7 @@
 typedef struct
 {
     unsigned int  size;
+    unsigned int  demand_size;
     unsigned char buf[MEMPOOL_BLOCK_SIZE];
 }tagMEMPOOL_BLOCK_T;
 
@@ -376,7 +377,7 @@
     /** UDP Information */
     tagUDP_RECVINFO_T   mUdpRecvInfo[MAX_SOCKET_ID+1];
 
-/** Constructor
+    /** Constructor
      */
     C_SNIC_Core();