Lines Matching full:info
58 static void scan_recv(const struct bt_le_scan_recv_info *info, in scan_recv() argument
66 if (info->rssi < -70) { in scan_recv()
74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); 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()
204 struct bt_le_per_adv_sync_synced_info *info) in sync_cb() argument
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()
219 const struct bt_le_per_adv_sync_term_info *info) in term_cb() argument
223 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
230 const struct bt_le_per_adv_sync_recv_info *info, in recv_cb() argument
236 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); 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()