JongYong Park / Mbed 2 deprecated NUCLEO-F767_LIFI_4CH_os2_v2

Dependencies:   mbed

Revision:
26:26474003e443
Parent:
17:847e9b792c72
Child:
30:75cb79acdcff
diff -r 28f31161a5ca -r 26474003e443 lifiTranceiver.h
--- a/lifiTranceiver.h	Tue Apr 09 11:48:11 2019 +0000
+++ b/lifiTranceiver.h	Tue Apr 09 12:06:34 2019 +0000
@@ -24,16 +24,16 @@
 */
 
 #define USE_MIMO_4CH  1    // feature
-#define LIFI_ACTUAL_MAX_CHANNEL_NUM (1)  // 1 -minumum 4 - full
+#define LIFI_ACTUAL_MAX_CHANNEL_NUM (4)  // 1 -minumum 4 - full
 #define LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX  (LIFI_ACTUAL_MAX_CHANNEL_NUM - 1)
 #define LIFI_PACKET_USE_LENGTH 1
 
 
 ////////////////
 
-#define FRAME_BUFFER_SIZE  (60)
-#define PDU_BUFFER_SIZE  (40)
-#define NUM_TO_STRING_BUFFER_SIZE  (40)
+#define FRAME_BUFFER_SIZE  (120)
+#define PDU_BUFFER_SIZE  (100)
+#define NUM_TO_STRING_BUFFER_SIZE  (100)
 
 // pjr mask out - because sensor is inverted
 //#define INT_REF /* Commen this to use AVCC reference voltage. To be used when the receiver LED generate low levels */
@@ -174,7 +174,7 @@
 #define RX_RX_DEBUG_EDGE  0
 #define RX_DEBUG_BIN  0
 /////////////////////
-#define RX_DEBUG_FRAME  1  // 1
+#define RX_DEBUG_FRAME  0  // 1
 #define RX_DEBUG_MAIN_LOOP  1 //1 
 
 //https://os.mbed.com/forum/bugs-suggestions/topic/28244/?page=1#comment-53612