Simple data buffer splitter and re-assembler.
Diff: SplitterAssembler.h
- Revision:
- 8:bfa5b7b9b886
- Parent:
- 7:6baecc15cb26
diff -r 6baecc15cb26 -r bfa5b7b9b886 SplitterAssembler.h --- a/SplitterAssembler.h Wed Feb 18 19:40:20 2015 +0000 +++ b/SplitterAssembler.h Sat Jul 25 19:15:31 2015 +0000 @@ -26,7 +26,7 @@ #include "mbed.h" // TUNABLES -#define MAX_FRAGMENTS 13 // maximum number of supported fragments... increase as needed... (max payload length = 256/DEF_FRAGMENT_LENGTH ~ 13) +#define MAX_FRAGMENTS 17 // maximum number of supported fragments... increase as needed... (max payload length = 340/DEF_FRAGMENT_LENGTH ~ 17) #define DEF_FRAGMENT_LENGTH 20 // BLE: set to max MTU for BLE UART: defined by BLE_UART_SERVICE_MAX_DATA_LEN in UARTService.h class SplitterAssembler {