CHIPProjectConfig.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. *
  3. * Copyright (c) 2020-2022 Project CHIP Authors
  4. * Copyright (c) 2016-2017 Nest Labs, Inc.
  5. * Copyright (c) 2019-2020 Google LLC.
  6. * All rights reserved.
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. /**
  21. * @file
  22. * Project-specific configuration file for Android builds.
  23. *
  24. */
  25. #ifndef CHIPPROJECTCONFIG_H
  26. #define CHIPPROJECTCONFIG_H
  27. // Enable UDP listening on demand in the CHIPDeviceController
  28. #define CHIP_CONFIG_DEVICE_CONTROLLER_DEMAND_ENABLE_UDP 1
  29. #define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
  30. // Uncomment this for a large Tunnel MTU.
  31. //#define CHIP_CONFIG_TUNNEL_INTERFACE_MTU (9000)
  32. #define CHIP_SYSTEM_CONFIG_PACKETBUFFER_POOL_SIZE 300
  33. #define CHIP_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL 1
  34. #define CHIP_CONFIG_MAX_SOFTWARE_VERSION_LENGTH 128
  35. #endif /* CHIPPROJECTCONFIG_H */