| /* |
| * |
| * Copyright (c) 2021 Project CHIP Authors |
| * Copyright (c) 2018 Nest Labs, Inc. |
| * All rights reserved. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| /** |
| * @file |
| * Platform-specific configuration overrides for the Chip Device Layer |
| * on the PSoC6. |
| */ |
| |
| #pragma once |
| |
| // ==================== Platform Adaptations ==================== |
| |
| #define CHIP_DEVICE_CONFIG_LWIP_WIFI_STATION_IF_NAME "infineon" |
| |
| #define CHIP_DEVICE_CONFIG_LOG_PROVISIONING_HASH 0 |
| #define CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID 0x04B4 |
| #define CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_ID 0xF155 |
| #define CHIP_DEVICE_CONFIG_WIFI_AP_SSID_PREFIX "INF" |
| #define CHIP_DEVICE_CONFIG_WIFI_AP_PASSWORD "AP_PASSWORD" |
| #define CHIP_DEVICE_CONFIG_WIFI_AP_CHANNEL 11 |
| #define CHIP_DEVICE_CONFIG_WIFI_AP_SECURITY CY_WCM_SECURITY_WPA2_AES_PSK |
| #define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 8192 |
| #define CHIP_DEVICE_CONFIG_CHIP_TASK_PRIORITY 1 |
| #define CHIP_DEVICE_CONFIG_DEFAULT_STA_SSID "" |
| #define CHIP_DEVICE_CONFIG_DEFAULT_STA_PASSWORD "" |
| #define CHIP_DEVICE_CONFIG_DEFAULT_STA_SECURITY CY_WCM_SECURITY_WPA2_AES_PSK |
| #define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR 0xF00 |
| #define CHIP_DEVICE_CONFIG_USE_TEST_SERIAL_NUMBER CONFIG_USE_TEST_SERIAL_NUMBER |