JongYong Park / Mbed 2 deprecated NUCLEO-F767_LIFI_4CH_os2_v2

Dependencies:   mbed

Revision:
17:847e9b792c72
Parent:
16:c551ee1092f5
Child:
21:82b5759f5047
Child:
26:26474003e443
--- a/lifiTranceiver.h	Mon Apr 08 09:37:14 2019 +0900
+++ b/lifiTranceiver.h	Mon Apr 08 01:14:04 2019 +0000
@@ -23,6 +23,13 @@
 0x03 : ETX end of frame
 */
 
+#define USE_MIMO_4CH  1    // feature
+#define LIFI_ACTUAL_MAX_CHANNEL_NUM (1)  // 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)
@@ -139,9 +146,7 @@
 #define LIFI_CHANNEL_4  (3)
 #define LIFI_CHANNEL_ALL (4)
 /////////////////
-#define USE_MIMO_4CH  1    // feature
-#define LIFI_ACTUAL_MAX_CHANNEL_NUM (1)  // 1 -minumum 4 - full
-#define LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX  (LIFI_ACTUAL_MAX_CHANNEL_NUM - 1)
+
 
 #define LIFI_DEMO_TX_PERIOD_SEC  (2) // 1 sec
 //#define LIFI_DEMO_TX_PERIOD_SEC  (LIFI_RX_SYMBOL_PERIOD_SEC*2*8*(PDU_BUFFER_SIZE/LIFI_ACTUAL_MAX_CHANNEL_NUM+6) + 1) // 1 sec
@@ -151,7 +156,7 @@
 //#define LIFI_DEMO_TX_PERIOD_SEC  (0) // no wait
 
 
-#define LIFI_PACKET_USE_LENGTH 0
+
 
 
 //#define DEBUG_ANALOG