Skip to content

SendGamepadStateAsync takes 2 minutes to send? #114

@nathenxbrewer

Description

@nathenxbrewer

I'm trying to send buttons to my Xbox but it's taking about 2 minutes for the Xbox to respond. During this time, the ConnectAsync method throws a TimeoutException. I've tried 3 different Xbox One's in my house with the same result. Am I doing something wrong?

static async Task SendGamepadStateAsync(SmartGlassClient sgCLient, GamepadState pState)
    {
        pState.Timestamp = DateTimeOffset.UtcNow.ToUnixTimeSeconds();
        await sgCLient.InputChannel.SendGamepadStateAsync(pState);
        pState.Buttons = GamepadButtons.Clear;
        pState.Timestamp = DateTimeOffset.UtcNow.ToUnixTimeSeconds();
        await sgCLient.InputChannel.SendGamepadStateAsync(pState);
    }`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions