Skip to content

Status = 0 unless delay is increased #7

Open
@don

Description

@don

When posting data to Azure IoT from a MKR1000, I'm getting status of 0.

If I increase the delay to 150, it works every time and I get the expected 204 No Content response.

RestClient/RestClient.cpp

Lines 103 to 105 in da79137

// make sure you've sent all bytes. Ugly hack.
// TODO: check output buffer instead?
delay(50);

What's the right way to fix this?

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