cc3000 driver with expanded buffers.

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Files at this revision

API Documentation at this revision

Comitter:
heroic
Date:
Wed Apr 23 02:04:48 2014 +0000
Parent:
46:ca8c234997c0
Child:
48:d9eb9a596a58
Commit message:
Make buffers bigger.

Changed in this revision

cc3000_common.h Show annotated file Show diff for this revision Revisions of this file
--- a/cc3000_common.h	Sun Nov 10 21:41:44 2013 +0100
+++ b/cc3000_common.h	Wed Apr 23 02:04:48 2014 +0000
@@ -81,7 +81,7 @@
 */
 
 #define CC3000_MINIMAL_RX_SIZE      (118 + 1)
-#define CC3000_MAXIMAL_RX_SIZE      (511 + 1)
+#define CC3000_MAXIMAL_RX_SIZE      (1519 + 1)
 
 /*Defines for minimal and maximal TX buffer size.
   This buffer is used for sending events and data.
@@ -121,7 +121,7 @@
 
     #define CC3000_RX_BUFFER_SIZE   (CC3000_MAXIMAL_RX_SIZE)
     #define CC3000_TX_BUFFER_SIZE   (CC3000_MAXIMAL_TX_SIZE)
-    #define SP_PORTION_SIZE         512
+    #define SP_PORTION_SIZE         1500
 
 //TINY DRIVER: We use smaller rx and tx buffers in order to minimize RAM consumption
 #else