1# Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14static_library("udpServer") { 15 sources = [ 16 "udp_server.c", 17 "wifi_softap.c", 18 "wifi_sta_connect.c", 19 ] 20 21 include_dirs = [ 22 "./", 23 "//commonlibrary/utils_lite/include", 24 "//kernel/liteos_m/kal/cmsis", 25 "//base/iothardware/peripheral/interfaces/inner_api", 26 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip", 27 "//third_party/cJSON", 28 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls", 29 "//foundation/communication/wifi_lite/interfaces/wifiservice", 30 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt", 31 "//device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2", 32 ] 33 34 defines = [ "WITH_LWIP" ] 35} 36