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.
Fork of stm-spirit1-rf-driver by
Diff: libs/Contiki_STM32_Library/spirit1-config.h
- Revision:
- 5:c9c5bc673c64
- Parent:
- 0:4fb29d9ee571
- Child:
- 18:d6f789f6f4c9
--- a/libs/Contiki_STM32_Library/spirit1-config.h Tue Oct 18 07:06:12 2016 +0200 +++ b/libs/Contiki_STM32_Library/spirit1-config.h Tue Oct 18 11:45:43 2016 +0200 @@ -39,7 +39,7 @@ /*---------------------------------------------------------------------------*/ #define CCA_THRESHOLD -98.0 /* dBm */ #define XTAL_FREQUENCY 50000000 /* Hz */ -#define SPIRIT_MAX_FIFO_LEN 600 +#define SPIRIT_MAX_FIFO_LEN (96) // betzw - WAS: 600 /*---------------------------------------------------------------------------*/ /** @@ -48,7 +48,7 @@ * The SPIRIT1 supports with its packet handler a length of 65,535 bytes, * and in direct mode (without packet handler) there is no limit of data. */ -#define MAX_PACKET_LEN SPIRIT_MAX_FIFO_LEN +#define MAX_PACKET_LEN (255) // betzw - WAS: SPIRIT_MAX_FIFO_LEN, but LEN_WIDTH is set to 7 so the variable payload length is from 0 to 255 bytes /*---------------------------------------------------------------------------*/ /** * Spirit1 IC version
