protocols = [
{name: "LoRa (SF12)", freq: 868, txPower: 14, rxSensitivity: -137, bandwidth: 0.29, color: "#F39C12"},
{name: "LoRa (SF7)", freq: 868, txPower: 14, rxSensitivity: -123, bandwidth: 11, color: "#E67E22"},
{name: "Sigfox", freq: 868, txPower: 14, rxSensitivity: -126, bandwidth: 0.1, color: "#8E44AD"},
{name: "NB-IoT", freq: 800, txPower: 23, rxSensitivity: -141, bandwidth: 200, color: "#1ABC9C"},
{name: "LTE-M", freq: 800, txPower: 23, rxSensitivity: -107, bandwidth: 1000, color: "#E74C3C"},
{name: "Wi-Fi 2.4GHz", freq: 2400, txPower: 20, rxSensitivity: -90, bandwidth: 54000, color: "#3498DB"},
{name: "Wi-Fi 5GHz", freq: 5800, txPower: 20, rxSensitivity: -85, bandwidth: 300000, color: "#2980B9"},
{name: "BLE (1 Mbps)", freq: 2400, txPower: 0, rxSensitivity: -96, bandwidth: 1000, color: "#27AE60"},
{name: "BLE (125 kbps)", freq: 2400, txPower: 0, rxSensitivity: -103, bandwidth: 125, color: "#16A085"},
{name: "Zigbee", freq: 2400, txPower: 0, rxSensitivity: -100, bandwidth: 250, color: "#2ECC71"},
{name: "Z-Wave", freq: 868, txPower: 0, rxSensitivity: -104, bandwidth: 100, color: "#34495E"},
{name: "Thread", freq: 2400, txPower: 0, rxSensitivity: -100, bandwidth: 250, color: "#9B59B6"},
{name: "Custom", freq: 915, txPower: 14, rxSensitivity: -110, bandwidth: 100, color: "#7F8C8D"}
]
viewof selectedProtocol = Inputs.select(protocols, {
label: "Protocol:",
format: p => p.name
})