mirror of
https://github.com/espressif/openthread.git
synced 2026-09-03 15:50:06 +00:00
[tcp] modify cbuf to be able to use all bytes provided by the user (#7634)
This commit is contained in:
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (236)
|
||||
#define OPENTHREAD_API_VERSION (237)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -294,7 +294,7 @@ typedef struct otTcpEndpointInitializeArgs
|
||||
* select a smaller buffer size.
|
||||
*
|
||||
*/
|
||||
#define OT_TCP_RECEIVE_BUFFER_SIZE_FEW_HOPS 2599
|
||||
#define OT_TCP_RECEIVE_BUFFER_SIZE_FEW_HOPS 2598
|
||||
|
||||
/**
|
||||
* @def OT_TCP_RECEIVE_BUFFER_SIZE_MANY_HOPS
|
||||
@@ -306,7 +306,7 @@ typedef struct otTcpEndpointInitializeArgs
|
||||
* so), then it may be advisable to select a large buffer size manually.
|
||||
*
|
||||
*/
|
||||
#define OT_TCP_RECEIVE_BUFFER_SIZE_MANY_HOPS 4158
|
||||
#define OT_TCP_RECEIVE_BUFFER_SIZE_MANY_HOPS 4157
|
||||
|
||||
/**
|
||||
* Initializes a TCP endpoint.
|
||||
|
||||
Reference in New Issue
Block a user