/Zephyr-latest/include/zephyr/bluetooth/services/ |
D | ots.h | 269 #define BT_OTS_OACP_SET_FEAT_CREATE(feat) \ argument 270 WRITE_BIT(feat, BT_OTS_OACP_FEAT_CREATE, 1) 276 #define BT_OTS_OACP_SET_FEAT_DELETE(feat) \ argument 277 WRITE_BIT(feat, BT_OTS_OACP_FEAT_DELETE, 1) 283 #define BT_OTS_OACP_SET_FEAT_CHECKSUM(feat) \ argument 284 WRITE_BIT(feat, BT_OTS_OACP_FEAT_CHECKSUM, 1) 290 #define BT_OTS_OACP_SET_FEAT_EXECUTE(feat) \ argument 291 WRITE_BIT(feat, BT_OTS_OACP_FEAT_EXECUTE, 1) 297 #define BT_OTS_OACP_SET_FEAT_READ(feat) \ argument 298 WRITE_BIT(feat, BT_OTS_OACP_FEAT_READ, 1) [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | heartbeat.c | 28 uint16_t feat; member 74 static void notify_recv(uint8_t hops, uint16_t feat) in notify_recv() argument 80 cb->recv(&sub, hops, feat); in notify_recv() 103 uint16_t feat = 0U; in heartbeat_send() local 106 uint16_t feat; in heartbeat_send() member 131 feat |= BT_MESH_FEAT_RELAY; in heartbeat_send() 135 feat |= BT_MESH_FEAT_PROXY; in heartbeat_send() 139 feat |= BT_MESH_FEAT_FRIEND; in heartbeat_send() 143 feat |= BT_MESH_FEAT_LOW_POWER; in heartbeat_send() 146 hb.feat = sys_cpu_to_be16(feat); in heartbeat_send() [all …]
|
D | access.c | 420 uint16_t feat = 0U; in bt_mesh_comp_data_get_page_0() local 427 feat |= BT_MESH_FEAT_RELAY; in bt_mesh_comp_data_get_page_0() 431 feat |= BT_MESH_FEAT_PROXY; in bt_mesh_comp_data_get_page_0() 435 feat |= BT_MESH_FEAT_FRIEND; in bt_mesh_comp_data_get_page_0() 439 feat |= BT_MESH_FEAT_LOW_POWER; in bt_mesh_comp_data_get_page_0() 446 data_buf_add_le16_offset(buf, feat, &offset); in bt_mesh_comp_data_get_page_0()
|
D | cfg_srv.c | 2252 uint16_t feat; member 2275 net_buf_simple_add_le16(&msg, pub->feat); in hb_pub_send_status() 2324 pub.feat = sys_le16_to_cpu(param->feat); in heartbeat_pub_set()
|
D | cfg_cli.c | 953 pub.feat = net_buf_simple_pull_le16(buf); in hb_pub_status() 2151 net_buf_simple_add_le16(&msg, pub->feat); in bt_mesh_cfg_cli_hb_pub_set() 2268 page->feat = net_buf_simple_pull_le16(buf); in bt_mesh_comp_p0_get()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | gmap_server.c | 45 const uint8_t feat = (uint8_t)gmap_features.ugg_feat; in read_gmap_ugg_feat() local 47 LOG_DBG("feat 0x%02X", feat); in read_gmap_ugg_feat() 49 return bt_gatt_attr_read(conn, attr, buf, len, offset, &feat, sizeof(feat)); in read_gmap_ugg_feat() 62 const uint8_t feat = (uint8_t)gmap_features.ugt_feat; in read_gmap_ugt_feat() local 64 LOG_DBG("feat 0x%02X", feat); in read_gmap_ugt_feat() 66 return bt_gatt_attr_read(conn, attr, buf, len, offset, &feat, sizeof(feat)); in read_gmap_ugt_feat() 80 const uint8_t feat = (uint8_t)gmap_features.bgs_feat; in read_gmap_bgs_feat() local 82 LOG_DBG("feat 0x%02X", feat); in read_gmap_bgs_feat() 84 return bt_gatt_attr_read(conn, attr, buf, len, offset, &feat, sizeof(feat)); in read_gmap_bgs_feat() 97 const uint8_t feat = (uint8_t)gmap_features.bgr_feat; in read_gmap_bgr_feat() local [all …]
|
D | gmap_client.c | 50 struct bt_gmap_feat feat; member 105 gmap_cb->discover(gmap_cli->conn, 0, gmap_cli->role, gmap_cli->feat); in discover_complete() 144 gmap_cli->feat.bgr_feat = net_buf_simple_pull_u8(&buf); in bgr_feat_read_cb() 145 LOG_DBG("bgr_feat 0x%02x", gmap_cli->feat.bgr_feat); in bgr_feat_read_cb() 233 gmap_cli->feat.bgs_feat = net_buf_simple_pull_u8(&buf); in bgs_feat_read_cb() 234 LOG_DBG("bgs_feat 0x%02x", gmap_cli->feat.bgs_feat); in bgs_feat_read_cb() 332 gmap_cli->feat.ugt_feat = net_buf_simple_pull_u8(&buf); in ugt_feat_read_cb() 333 LOG_DBG("ugt_feat 0x%02x", gmap_cli->feat.ugt_feat); in ugt_feat_read_cb() 433 gmap_cli->feat.ugg_feat = net_buf_simple_pull_u8(&buf); in ugg_feat_read_cb() 434 LOG_DBG("ugg_feat 0x%02x", gmap_cli->feat.ugg_feat); in ugg_feat_read_cb()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 142 #define BT_FEAT_TEST(feat, page, octet, bit) (feat[page][octet] & BIT(bit)) argument 144 #define BT_FEAT_BREDR(feat) !BT_FEAT_TEST(feat, 0, 4, 5) argument 145 #define BT_FEAT_LE(feat) BT_FEAT_TEST(feat, 0, 4, 6) argument 146 #define BT_FEAT_EXT_FEATURES(feat) BT_FEAT_TEST(feat, 0, 7, 7) argument 147 #define BT_FEAT_HOST_SSP(feat) BT_FEAT_TEST(feat, 1, 0, 0) argument 148 #define BT_FEAT_SC(feat) BT_FEAT_TEST(feat, 2, 1, 0) argument 150 #define BT_FEAT_LMP_SCO_CAPABLE(feat) BT_FEAT_TEST(feat, 0, 1, 3) argument 151 #define BT_FEAT_LMP_ESCO_CAPABLE(feat) BT_FEAT_TEST(feat, 0, 3, 7) argument 152 #define BT_FEAT_HV2_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 4) argument 153 #define BT_FEAT_HV3_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 5) argument [all …]
|
D | conn.h | 2208 const struct bt_conn_pairing_feat *const feat);
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | board.h | 20 void board_heartbeat(uint8_t hops, uint16_t feat); 34 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
|
D | main.c | 44 uint16_t feat) in heartbeat() argument 46 board_heartbeat(hops, feat); in heartbeat() 143 .feat = 0, in configure()
|
D | microbit.c | 143 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | heartbeat.h | 43 uint16_t feat; member 95 uint16_t feat);
|
D | cfg_cli.h | 489 uint16_t feat; member 1615 uint16_t feat; member
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_heartbeat.c | 58 static void sub_hb_recv_cb(const struct bt_mesh_hb_sub *sub, uint8_t hops, uint16_t feat) in sub_hb_recv_cb() argument 87 ASSERT_EQUAL(feature, feat); in sub_hb_recv_cb() 119 ASSERT_EQUAL(BT_MESH_FEAT_SUPPORTED, pub->feat); in pub_hb_sent_cb() 146 .feat = BT_MESH_FEAT_SUPPORTED in publish_common()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_ambiq.c | 37 #define BT_FEAT_SET_BIT(feat, octet, bit) (feat[octet] |= BIT(bit)) argument 38 #define BT_FEAT_SET_NO_BREDR(feat) BT_FEAT_SET_BIT(feat, 4, 5) argument 39 #define BT_FEAT_SET_LE(feat) BT_FEAT_SET_BIT(feat, 4, 6) argument
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | hci_core.h | 90 #define BT_DEV_FEAT_LE_EXT_ADV(feat) BT_FEAT_LE_EXT_ADV(feat) argument 93 #define BT_DEV_FEAT_LE_EXT_ADV(feat) 1 argument
|
D | hci_core.c | 3906 struct bt_hci_rp_vs_read_supported_features *feat; in hci_vs_init() member 3986 rp.feat = (void *)rsp->data; in hci_vs_init() 3987 memcpy(bt_dev.vs_features, rp.feat->features, in hci_vs_init()
|
D | smp.c | 2193 const struct bt_conn_pairing_feat feat = { in smp_pairing_accept_query() local 2202 return smp_err_get(smp_auth_cb->pairing_accept(conn, &feat)); in smp_pairing_accept_query()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ull_llcp_pdu.c | 118 uint64_t feat; in feature_filter() local 125 feat = sys_get_le64(featuresin); in feature_filter() 126 feat &= LL_FEAT_BIT_MASK; in feature_filter() 127 feat &= LL_FEAT_BIT_MASK_VALID; in feature_filter() 129 *featuresout = feat; in feature_filter()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | mesh.c | 70 uint16_t feat) in heartbeat() argument
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 4167 const struct bt_conn_pairing_feat *const feat) in pairing_accept() argument 4172 feat->io_capability, feat->oob_data_flag, in pairing_accept() 4173 feat->auth_req, feat->max_enc_key_size, in pairing_accept() 4174 feat->init_key_dist, feat->resp_key_dist); in pairing_accept()
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | cfg.c | 123 shell_print(sh, "\tFeatures 0x%04x", comp.feat); in cmd_get_comp() 1765 shell_print(sh, "\tttl 0x%02x feat 0x%04x net_idx 0x%04x", pub.ttl, pub.feat, pub.net_idx); in hb_pub_get() 1780 pub.feat = shell_strtoul(argv[5], 0, &err); in hb_pub_set()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gap.c | 1095 const struct bt_conn_pairing_feat *const feat) argument
|
D | btp_mesh.c | 3341 pub.feat = sys_le16_to_cpu(cp->features); in config_hb_pub_set()
|