Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lifiTranceiver.h
- 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