Wirepas SDK
waps_buffer_sizes.h
Go to the documentation of this file.
1 /* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef WAPS_BUFFER_SIZES_H_
8 #define WAPS_BUFFER_SIZES_H_
9 
10 #include "waps_frames.h" // For frame min/max length constants
11 #include "crc.h"
12 
14 #define WAPS_TX_BUFFER_SIZE ((2 * WAPS_MAX_FRAME_LENGTH) + 2 * sizeof(crc_t) + 2)
15 #define WAPS_RX_BUFFER_SIZE ((WAPS_MAX_FRAME_LENGTH + sizeof(crc_t) + 2))
16 
17 #endif /* WAPS_BUFFER_SIZES_H_ */
crc.h
waps_frames.h