Lines Matching full:features

69 /* OACP features supported by Kconfig */
84 /* OLCP features supported by Kconfig */
128 return bt_gatt_attr_read(conn, attr, buf, len, offset, &ots->features, in ots_feature_read()
129 sizeof(ots->features)); in ots_feature_read()
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()
470 __ASSERT(ots_init->cb->obj_created || !BT_OTS_OACP_GET_FEAT_CREATE(ots_init->features.oacp), in bt_ots_init()
472 __ASSERT(ots_init->cb->obj_deleted || !BT_OTS_OACP_GET_FEAT_DELETE(ots_init->features.oacp), in bt_ots_init()
476 !BT_OTS_OACP_GET_FEAT_CHECKSUM(ots_init->features.oacp), in bt_ots_init()
479 __ASSERT(ots_init->cb->obj_read || !BT_OTS_OACP_GET_FEAT_READ(ots_init->features.oacp), in bt_ots_init()
481 __ASSERT(ots_init->cb->obj_write || !BT_OTS_OACP_GET_FEAT_WRITE(ots_init->features.oacp), in bt_ots_init()
487 /* Check OACP supported features against Kconfig. */ in bt_ots_init()
488 if (ots_init->features.oacp & (~((uint32_t) OACP_FEAT))) { in bt_ots_init()
492 __ASSERT(!BT_OTS_OACP_GET_FEAT_CREATE(ots_init->features.oacp) || in bt_ots_init()
493 BT_OTS_OACP_GET_FEAT_WRITE(ots_init->features.oacp), in bt_ots_init()
496 ots->features.oacp = ots_init->features.oacp; in bt_ots_init()
497 LOG_DBG("OACP features: 0x%04X", ots->features.oacp); in bt_ots_init()
499 /* Check OLCP supported features against Kconfig. */ in bt_ots_init()
500 if (ots_init->features.olcp & (~((uint32_t) OLCP_FEAT))) { in bt_ots_init()
503 ots->features.olcp = ots_init->features.olcp; in bt_ots_init()
504 LOG_DBG("OLCP features: 0x%04X", ots->features.olcp); in bt_ots_init()