|
| 1 | +# Copyright (c) 2025 Golioth, Inc. |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +menu "Gateway configuration" |
| 5 | + |
| 6 | +config POUCH_GATEWAY_CLOUD |
| 7 | + bool "Send pouches to cloud" |
| 8 | + default y |
| 9 | + help |
| 10 | + Disabling cloud communication allows to test Bluetooth gateway |
| 11 | + functionality without relying on communication with backend. All |
| 12 | + pouches received from Bluetooth nodes are dropped in that case. |
| 13 | + |
| 14 | +config GOLIOTH_COAP_HOST_URI |
| 15 | + string "CoAP server URI" |
| 16 | + default "coaps://coap.golioth.io" |
| 17 | + help |
| 18 | + The URI of the CoAP server. |
| 19 | + |
| 20 | +endmenu |
| 21 | + |
| 22 | +menu "BabbleSim components" |
| 23 | + depends on SOC = "native" |
| 24 | + |
| 25 | +config BSIM_HANDBRAKE |
| 26 | + bool "Handbrake" |
| 27 | + default y if POUCH_GATEWAY_CLOUD |
| 28 | + |
| 29 | +endmenu |
| 30 | + |
| 31 | +menu "BabbleSim peripherals" |
| 32 | + depends on SOC = "native" |
| 33 | + |
| 34 | +config PERIPHERAL_ZEPHYR |
| 35 | + bool "Zephyr" |
| 36 | + help |
| 37 | + Zephyr peripheral sample. |
| 38 | + |
| 39 | +config PERIPHERAL_ZEPHYR_NUM |
| 40 | + int "Number of Zephyr peripherals" |
| 41 | + default 1 |
| 42 | + depends on PERIPHERAL_ZEPHYR |
| 43 | + |
| 44 | +config PERIPHERAL_PERIODIC_UPLINK |
| 45 | + bool "Periodic uplink" |
| 46 | + help |
| 47 | + Periodic uplink sample. |
| 48 | + |
| 49 | +config PERIPHERAL_PERIODIC_UPLINK_NUM |
| 50 | + int "Number of periodic uplink peripherals" |
| 51 | + default 1 |
| 52 | + depends on PERIPHERAL_PERIODIC_UPLINK |
| 53 | + |
| 54 | +config PERIPHERAL_BLE_GATT_EXAMPLE |
| 55 | + bool "BLE GATT example" |
| 56 | + default y |
| 57 | + help |
| 58 | + BLE GATT sample. |
| 59 | + |
| 60 | +config PERIPHERAL_BLE_GATT_EXAMPLE_NUM |
| 61 | + int "Number of BLE GATT example peripherals" |
| 62 | + default 1 |
| 63 | + depends on PERIPHERAL_BLE_GATT_EXAMPLE |
| 64 | + |
| 65 | +endmenu |
| 66 | + |
| 67 | +config PERIPHERAL_MOUNT_CREDS |
| 68 | + bool "Mount credentials under /creds directory" |
| 69 | + help |
| 70 | + Mount credentials located ${BUILD_DIR}/creds under /creds mountpoint in Zephyr. |
| 71 | + |
| 72 | +choice BOOTLOADER |
| 73 | + default BOOTLOADER_MCUBOOT if SOC != "native" |
| 74 | +endchoice |
| 75 | + |
| 76 | +source "share/sysbuild/Kconfig" |
0 commit comments