Lines Matching +full:tx +full:- +full:pwr +full:- +full:min
2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
35 switch (data->type) { in data_cb()
38 len = MIN(data->data_len, NAME_LEN - 1); in data_cb()
39 memcpy(name, data->data, len); in data_cb()
66 if (info->rssi < -70) { in scan_recv()
74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
76 printk("[DEVICE]: %s, AD evt type %u, Tx Pwr: %i, RSSI %i, name: %s " in scan_recv()
79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
80 (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) != 0, in scan_recv()
81 (info->adv_props & BT_GAP_ADV_PROP_SCANNABLE) != 0, in scan_recv()
82 (info->adv_props & BT_GAP_ADV_PROP_DIRECTED) != 0, in scan_recv()
83 (info->adv_props & BT_GAP_ADV_PROP_SCAN_RESPONSE) != 0, in scan_recv()
84 (info->adv_props & BT_GAP_ADV_PROP_EXT_ADV) != 0, in scan_recv()
85 phy2str(info->primary_phy), phy2str(info->secondary_phy), in scan_recv()
86 info->interval, info->interval * 5 / 4, info->sid); in scan_recv()
89 if (info->adv_props & BT_GAP_ADV_PROP_CONNECTABLE) { in scan_recv()
102 err = bt_conn_le_create(info->addr, BT_CONN_LE_CREATE_CONN, in scan_recv()
110 /* If info->interval it is a periodic advertiser, mark for sync */ in scan_recv()
111 if (!per_adv_found && info->interval) { in scan_recv()
118 interval_us = BT_GAP_PER_ADV_INTERVAL_TO_US(info->interval); in scan_recv()
129 per_sid = info->sid; in scan_recv()
130 bt_addr_le_copy(&per_addr, info->addr); in scan_recv()
208 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
213 info->interval, info->interval * 5 / 4, phy2str(info->phy)); in sync_cb()
223 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
236 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb()
237 bin2hex(buf->data, buf->len, data_str, sizeof(data_str)); in recv_cb()
241 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
242 info->rssi, info->cte_type, buf->len, data_str); in recv_cb()