Lines Matching refs:sub_params
435 struct bt_gatt_subscribe_params *sub_params = NULL; in vcs_discover_func() local
468 sub_params = &vol_ctlr->state_sub_params; in vcs_discover_func()
469 sub_params->disc_params = &vol_ctlr->state_sub_disc_params; in vcs_discover_func()
476 sub_params = &vol_ctlr->vol_flag_sub_params; in vcs_discover_func()
477 sub_params->disc_params = &vol_ctlr->vol_flag_sub_disc_params; in vcs_discover_func()
480 if (sub_params != NULL) { in vcs_discover_func()
481 sub_params->value = BT_GATT_CCC_NOTIFY; in vcs_discover_func()
482 sub_params->value_handle = chrc->value_handle; in vcs_discover_func()
483 sub_params->ccc_handle = BT_GATT_AUTO_DISCOVER_CCC_HANDLE; in vcs_discover_func()
484 sub_params->end_handle = vol_ctlr->end_handle; in vcs_discover_func()
485 sub_params->notify = vcp_vol_ctlr_notify_handler; in vcs_discover_func()
486 atomic_set_bit(sub_params->flags, BT_GATT_SUBSCRIBE_FLAG_VOLATILE); in vcs_discover_func()
488 err = bt_gatt_subscribe(conn, sub_params); in vcs_discover_func()