Home
last modified time | relevance | path

Searched refs:feat (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/services/
Dots.h269 #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/
Dheartbeat.c28 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 …]
Daccess.c420 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()
Dcfg_srv.c2252 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()
Dcfg_cli.c953 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/
Dgmap_server.c45 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 …]
Dgmap_client.c50 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/
Dhci_types.h142 #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 …]
Dconn.h2208 const struct bt_conn_pairing_feat *const feat);
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dboard.h20 void board_heartbeat(uint8_t hops, uint16_t feat);
34 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
Dmain.c44 uint16_t feat) in heartbeat() argument
46 board_heartbeat(hops, feat); in heartbeat()
143 .feat = 0, in configure()
Dmicrobit.c143 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dheartbeat.h43 uint16_t feat; member
95 uint16_t feat);
Dcfg_cli.h489 uint16_t feat; member
1615 uint16_t feat; member
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_heartbeat.c58 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/
Dhci_ambiq.c37 #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/
Dhci_core.h90 #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
Dhci_core.c3906 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()
Dsmp.c2193 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/
Dull_llcp_pdu.c118 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/
Dmesh.c70 uint16_t feat) in heartbeat() argument
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c4167 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/
Dcfg.c123 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/
Dbtp_gap.c1095 const struct bt_conn_pairing_feat *const feat) argument
Dbtp_mesh.c3341 pub.feat = sys_le16_to_cpu(cp->features); in config_hb_pub_set()