Anonymous
Not applicable
Nov 23, 2015
11:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 23, 2015
11:18 AM
Hi,
It is a little bit confusing that, in the CySmart_Dongle example for BLE KIT, inside CySmt_TransportLayer.h,
/* Both UART RX & TX buffers are set to maximum 5K with assumption that L2CAP MTU will be with-in this limit */
#define (UART_UART_TX_BUFFER_SIZE)
However, UART_UART_TX_BUFFER_SIZE is defined as 550u, and not hexadecimal, which is different with 5K.
So, how big on earth is the maximum of the MAX_PAYLOAD_SIZE?
Thank you!
Labels
- Labels:
-
BLE
1 Reply
Anonymous
Not applicable
Dec 16, 2015
05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2015
05:19 AM
that's a typo in the comment.
it's not 5k. it is 550u.
We set the L2CAp MTU as 512 in the BLE component and including the headers it would be more than 512.
So we set a value 550.
Regards,
Vikas.