Lines Matching refs:discov_param
36 static struct bt_gatt_discover_params discov_param; variable
177 (void)memset(&discov_param, 0, sizeof(discov_param)); in discover_func()
185 discov_param.uuid = &pong_chr_uuid.uuid; in discover_func()
186 discov_param.start_handle = attr->handle + 1; in discover_func()
187 discov_param.type = BT_GATT_DISCOVER_CHARACTERISTIC; in discover_func()
189 err = bt_gatt_discover(conn, &discov_param); in discover_func()
195 discov_param.uuid = gatt_ccc_uuid; in discover_func()
196 discov_param.start_handle = attr->handle + 2; in discover_func()
197 discov_param.type = BT_GATT_DISCOVER_DESCRIPTOR; in discover_func()
200 err = bt_gatt_discover(conn, &discov_param); in discover_func()
491 discov_param.uuid = &pong_svc_uuid.uuid; in ble_timeout()
492 discov_param.func = discover_func; in ble_timeout()
493 discov_param.start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE; in ble_timeout()
494 discov_param.end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE; in ble_timeout()
495 discov_param.type = BT_GATT_DISCOVER_PRIMARY; in ble_timeout()
497 err = bt_gatt_discover(default_conn, &discov_param); in ble_timeout()