# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. # pkg.name: net/nimble/host pkg.description: Host side of the nimble Bluetooth Smart stack. pkg.author: "Apache Mynewt " pkg.homepage: "http://mynewt.apache.org/" pkg.keywords: - ble - bluetooth pkg.deps: - sys/log - sys/stats - libs/os - libs/util - libs/mbedtls - net/nimble # Tinycrypt is only required when secure connections (NIMBPLE_OPT_SM_SC) # is enabled. It always gets built as a dependency, but not is not # included by the linker unless SC is enabled. XXX: We should not build # this library if it is not required. - libs/tinycrypt pkg.req_apis: - ble_transport - console pkg.features: - BLE_HOST # Satisfy capability dependencies for the self-contained test executable. pkg.deps.SELFTEST: - libs/console/stub - net/nimble/transport/ram pkg.cflags.SELFTEST: - "-DPHONY_HCI_ACKS=1" - "-DNIMBLE_OPT_SM=1" - "-DNIMBLE_OPT_SM_SC=1" pkg.cflags.TEST: -DBLE_HS_DEBUG