Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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-Core-3.5.0/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.c415 uint16_t feat = 0U; in bt_mesh_comp_data_get_page_0() local
422 feat |= BT_MESH_FEAT_RELAY; in bt_mesh_comp_data_get_page_0()
426 feat |= BT_MESH_FEAT_PROXY; in bt_mesh_comp_data_get_page_0()
430 feat |= BT_MESH_FEAT_FRIEND; in bt_mesh_comp_data_get_page_0()
434 feat |= BT_MESH_FEAT_LOW_POWER; in bt_mesh_comp_data_get_page_0()
441 data_buf_add_le16_offset(buf, feat, &offset); in bt_mesh_comp_data_get_page_0()
Dcfg_srv.c2253 uint16_t feat; member
2273 net_buf_simple_add_le16(&msg, pub->feat); in hb_pub_send_status()
2321 pub.feat = sys_le16_to_cpu(param->feat); in heartbeat_pub_set()
Dcfg_cli.c953 pub.feat = net_buf_simple_pull_u8(buf); in hb_pub_status()
2149 net_buf_simple_add_le16(&msg, pub->feat); in bt_mesh_cfg_cli_hb_pub_set()
2266 page->feat = net_buf_simple_pull_le16(buf); in bt_mesh_comp_p0_get()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dhci_types.h130 #define BT_FEAT_TEST(feat, page, octet, bit) (feat[page][octet] & BIT(bit)) argument
132 #define BT_FEAT_BREDR(feat) !BT_FEAT_TEST(feat, 0, 4, 5) argument
133 #define BT_FEAT_LE(feat) BT_FEAT_TEST(feat, 0, 4, 6) argument
134 #define BT_FEAT_EXT_FEATURES(feat) BT_FEAT_TEST(feat, 0, 7, 7) argument
135 #define BT_FEAT_HOST_SSP(feat) BT_FEAT_TEST(feat, 1, 0, 0) argument
136 #define BT_FEAT_SC(feat) BT_FEAT_TEST(feat, 2, 1, 0) argument
138 #define BT_FEAT_LMP_ESCO_CAPABLE(feat) BT_FEAT_TEST(feat, 0, 3, 7) argument
139 #define BT_FEAT_HV2_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 4) argument
140 #define BT_FEAT_HV3_PKT(feat) BT_FEAT_TEST(feat, 0, 1, 5) argument
141 #define BT_FEAT_EV4_PKT(feat) BT_FEAT_TEST(feat, 0, 4, 0) argument
[all …]
Dconn.h1294 const struct bt_conn_pairing_feat *const feat);
/Zephyr-Core-3.5.0/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.c144 void board_heartbeat(uint8_t hops, uint16_t feat) in board_heartbeat() argument
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/subsys/bluetooth/host/
Dhci_core.h68 #define BT_DEV_FEAT_LE_EXT_ADV(feat) BT_FEAT_LE_EXT_ADV(feat) argument
71 #define BT_DEV_FEAT_LE_EXT_ADV(feat) 1 argument
Dhci_core.c3542 struct bt_hci_rp_vs_read_supported_features *feat; in hci_vs_init() member
3622 rp.feat = (void *)rsp->data; in hci_vs_init()
3623 memcpy(bt_dev.vs_features, rp.feat->features, in hci_vs_init()
Dsmp.c2115 const struct bt_conn_pairing_feat feat = { in smp_pairing_accept_query() local
2124 return smp_err_get(smp_auth_cb->pairing_accept(conn, &feat)); in smp_pairing_accept_query()
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_llcp_pdu.c112 uint64_t feat; in feature_filter() local
119 feat = sys_get_le64(featuresin); in feature_filter()
120 feat &= LL_FEAT_BIT_MASK; in feature_filter()
121 feat &= LL_FEAT_BIT_MASK_VALID; in feature_filter()
123 *featuresout = feat; in feature_filter()
/Zephyr-Core-3.5.0/subsys/bluetooth/shell/
Dbt.c3525 struct bt_conn *conn, const struct bt_conn_pairing_feat *const feat) in pairing_accept() argument
3530 feat->io_capability, feat->oob_data_flag, in pairing_accept()
3531 feat->auth_req, feat->max_enc_key_size, in pairing_accept()
3532 feat->init_key_dist, feat->resp_key_dist); in pairing_accept()
/Zephyr-Core-3.5.0/samples/boards/reel_board/mesh_badge/src/
Dmesh.c70 uint16_t feat) in heartbeat() argument
/Zephyr-Core-3.5.0/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-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_gap.c1030 const struct bt_conn_pairing_feat *const feat) argument
Dbtp_mesh.c3082 pub.feat = sys_le16_to_cpu(cp->features); in config_hb_pub_set()