Lines Matching refs:sub_params
1577 struct bt_gatt_subscribe_params *sub_params = NULL; in discover_func() local
1583 sub_params = ¤t_inst->call_state_sub_params; in discover_func()
1584 sub_params->value_handle = chrc->value_handle; in discover_func()
1585 sub_params->disc_params = ¤t_inst->call_state_sub_disc_params; in discover_func()
1589 sub_params = ¤t_inst->name_sub_params; in discover_func()
1590 sub_params->value_handle = chrc->value_handle; in discover_func()
1591 sub_params->disc_params = ¤t_inst->name_sub_disc_params; in discover_func()
1601 sub_params = ¤t_inst->technology_sub_params; in discover_func()
1602 sub_params->value_handle = chrc->value_handle; in discover_func()
1603 sub_params->disc_params = ¤t_inst->technology_sub_disc_params; in discover_func()
1613 sub_params = ¤t_inst->signal_strength_sub_params; in discover_func()
1614 sub_params->value_handle = chrc->value_handle; in discover_func()
1615 sub_params->disc_params = ¤t_inst->signal_strength_sub_disc_params; in discover_func()
1627 sub_params = ¤t_inst->current_calls_sub_params; in discover_func()
1628 sub_params->value_handle = chrc->value_handle; in discover_func()
1629 sub_params->disc_params = ¤t_inst->current_calls_sub_disc_params; in discover_func()
1639 sub_params = ¤t_inst->in_target_uri_sub_params; in discover_func()
1640 sub_params->value_handle = chrc->value_handle; in discover_func()
1641 sub_params->disc_params = ¤t_inst->in_target_uri_sub_disc_params; in discover_func()
1646 sub_params = ¤t_inst->status_flags_sub_params; in discover_func()
1647 sub_params->value_handle = chrc->value_handle; in discover_func()
1648 sub_params->disc_params = ¤t_inst->status_sub_disc_params; in discover_func()
1653 sub_params = ¤t_inst->call_cp_sub_params; in discover_func()
1654 sub_params->value_handle = chrc->value_handle; in discover_func()
1655 sub_params->disc_params = ¤t_inst->call_cp_sub_disc_params; in discover_func()
1665 sub_params = ¤t_inst->termination_sub_params; in discover_func()
1666 sub_params->value_handle = chrc->value_handle; in discover_func()
1667 sub_params->disc_params = ¤t_inst->termination_sub_disc_params; in discover_func()
1671 sub_params = ¤t_inst->friendly_name_sub_params; in discover_func()
1672 sub_params->value_handle = chrc->value_handle; in discover_func()
1673 sub_params->disc_params = ¤t_inst->friendly_name_sub_disc_params; in discover_func()
1678 sub_params = ¤t_inst->incoming_call_sub_params; in discover_func()
1679 sub_params->value_handle = chrc->value_handle; in discover_func()
1680 sub_params->disc_params = ¤t_inst->incoming_call_sub_disc_params; in discover_func()
1684 if (sub_params != NULL) { in discover_func()
1685 sub_params->value = 0; in discover_func()
1687 sub_params->value = BT_GATT_CCC_NOTIFY; in discover_func()
1689 sub_params->value = BT_GATT_CCC_INDICATE; in discover_func()
1692 if (sub_params->value != 0) { in discover_func()
1695 sub_params->ccc_handle = BT_GATT_AUTO_DISCOVER_CCC_HANDLE; in discover_func()
1696 sub_params->end_handle = current_inst->end_handle; in discover_func()
1697 sub_params->notify = notify_handler; in discover_func()
1698 atomic_set_bit(sub_params->flags, BT_GATT_SUBSCRIBE_FLAG_VOLATILE); in discover_func()
1700 err = bt_gatt_subscribe(conn, sub_params); in discover_func()
1705 sub_params->value_handle, err); in discover_func()
1712 sub_params->value_handle); in discover_func()