Home
last modified time | relevance | path

Searched refs:oacp (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/subsys/bluetooth/services/ots/
Dots.c87 static bool ots_obj_validate_prop_against_oacp(uint32_t prop, uint32_t oacp) in ots_obj_validate_prop_against_oacp() argument
89 if (BT_OTS_OBJ_GET_PROP_DELETE(prop) > 0 && BT_OTS_OACP_GET_FEAT_DELETE(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
93 if (BT_OTS_OBJ_GET_PROP_EXECUTE(prop) > 0 && BT_OTS_OACP_GET_FEAT_EXECUTE(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
97 if (BT_OTS_OBJ_GET_PROP_READ(prop) > 0 && BT_OTS_OACP_GET_FEAT_READ(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
101 if (BT_OTS_OBJ_GET_PROP_WRITE(prop) > 0 && BT_OTS_OACP_GET_FEAT_WRITE(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
105 if (BT_OTS_OBJ_GET_PROP_APPEND(prop) > 0 && BT_OTS_OACP_GET_FEAT_APPEND(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
109 if (BT_OTS_OBJ_GET_PROP_TRUNCATE(prop) > 0 && BT_OTS_OACP_GET_FEAT_TRUNCATE(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
113 if (BT_OTS_OBJ_GET_PROP_PATCH(prop) > 0 && BT_OTS_OACP_GET_FEAT_PATCH(oacp) == 0) { in ots_obj_validate_prop_against_oacp()
329 if (!ots_obj_validate_prop_against_oacp(created_desc.props, ots->features.oacp)) { in bt_ots_obj_add_internal()
331 created_desc.props, ots->features.oacp); in bt_ots_obj_add_internal()
[all …]
Dots_oacp.c68 if (!BT_OTS_OACP_GET_FEAT_CREATE(ots->features.oacp)) { in oacp_create_proc_validate()
130 if (!BT_OTS_OACP_GET_FEAT_DELETE(ots->features.oacp)) { in oacp_delete_proc_validate()
276 if (!BT_OTS_OACP_GET_FEAT_PATCH(ots->features.oacp)) { in oacp_write_proc_validate()
Dots_client.c478 inst->otc_inst->features.oacp = in read_feature_cb()
484 LOG_DBG("features : oacp 0x%x, olcp 0x%x", inst->otc_inst->features.oacp, in read_feature_cb()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_ots.c291 BT_OTS_OACP_SET_FEAT_READ(ots_init.features.oacp); in ots_init()
292 BT_OTS_OACP_SET_FEAT_WRITE(ots_init.features.oacp); in ots_init()
293 BT_OTS_OACP_SET_FEAT_CREATE(ots_init.features.oacp); in ots_init()
294 BT_OTS_OACP_SET_FEAT_DELETE(ots_init.features.oacp); in ots_init()
295 BT_OTS_OACP_SET_FEAT_CHECKSUM(ots_init.features.oacp); in ots_init()
296 BT_OTS_OACP_SET_FEAT_PATCH(ots_init.features.oacp); in ots_init()
/Zephyr-latest/samples/bluetooth/peripheral_ots/src/
Dmain.c242 BT_OTS_OACP_SET_FEAT_READ(ots_init.features.oacp); in ots_init()
243 BT_OTS_OACP_SET_FEAT_WRITE(ots_init.features.oacp); in ots_init()
244 BT_OTS_OACP_SET_FEAT_CREATE(ots_init.features.oacp); in ots_init()
245 BT_OTS_OACP_SET_FEAT_DELETE(ots_init.features.oacp); in ots_init()
246 BT_OTS_OACP_SET_FEAT_PATCH(ots_init.features.oacp); in ots_init()
/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/
Dbtp_mcp.h187 uint16_t oacp; member
/Zephyr-latest/include/zephyr/bluetooth/services/
Dots.h479 uint32_t oacp; member
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_mcp.c76 uint16_t oacp; member
143 ev.ots_handles.oacp = sys_cpu_to_le16(svc_chrc_handles.ots_handles.oacp); in btp_send_mcp_found_ev()
443 svc_chrc_handles.ots_handles.oacp = mcc_inst->otc.oacp_handle; in mcc_discover_cb()
/Zephyr-latest/subsys/bluetooth/audio/
Dmcs.c1404 BT_OTS_OACP_SET_FEAT_READ(ots_init.features.oacp); in bt_mcs_init()