Skip to content

Commit

Permalink
remove TCP flags
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnajh committed Dec 21, 2023
1 parent 0b30617 commit 1030412
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions src/system/SystemConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,26 +358,6 @@
#define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 15
#endif /* CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE */

/**
* @def CHIP_CONFIG_TCP_SUPPORT_CLIENT
*
* @brief
* Indicates whether the current node supports TCP Client
*/
#ifndef CHIP_CONFIG_TCP_SUPPORT_CLIENT
#define CHIP_CONFIG_TCP_SUPPORT_CLIENT 0
#endif /* CHIP_CONFIG_TCP_SUPPORT_CLIENT */

/**
* @def CHIP_CONFIG_TCP_SUPPORT_SERVER
*
* @brief
* Indicates whether the current node supports TCP Server
*/
#ifndef CHIP_CONFIG_TCP_SUPPORT_SERVER
#define CHIP_CONFIG_TCP_SUPPORT_SERVER 0
#endif /* CHIP_CONFIG_TCP_SUPPORT_SERVER */

/**
* @def CHIP_SYSTEM_CONFIG_PACKETBUFFER_LWIP_PBUF_RAM
*
Expand Down
2 changes: 1 addition & 1 deletion src/transport/SecureMessageCodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace SecureMessageCodec {
* @return A CHIP_ERROR value consistent with the result of the encryption operation
*/
CHIP_ERROR Encrypt(const CryptoContext & context, CryptoContext::ConstNonceView nonce, PayloadHeader & payloadHeader,
PacketHeader & packetHeader, System::PacketBufferHandle & msgBuf, size_t inputMaxLength);
PacketHeader & packetHeader, System::PacketBufferHandle & msgBuf, size_t inputMaxLength = kMaxAppMessageLen);

/**
* @brief
Expand Down

0 comments on commit 1030412

Please sign in to comment.