Lines Matching refs:sub_params
414 struct bt_gatt_subscribe_params *sub_params = NULL; in micp_discover_func() local
419 sub_params = &mic_ctlr->mute_sub_params; in micp_discover_func()
420 sub_params->disc_params = &mic_ctlr->mute_sub_disc_params; in micp_discover_func()
423 if (sub_params != NULL) { in micp_discover_func()
426 sub_params->ccc_handle = BT_GATT_AUTO_DISCOVER_CCC_HANDLE; in micp_discover_func()
427 sub_params->end_handle = mic_ctlr->end_handle; in micp_discover_func()
428 sub_params->value = BT_GATT_CCC_NOTIFY; in micp_discover_func()
429 sub_params->value_handle = chrc->value_handle; in micp_discover_func()
430 sub_params->notify = mute_notify_handler; in micp_discover_func()
431 atomic_set_bit(sub_params->flags, BT_GATT_SUBSCRIBE_FLAG_VOLATILE); in micp_discover_func()
433 err = bt_gatt_subscribe(conn, sub_params); in micp_discover_func()