Skip to content

Provide (an enum and) defines for success/error codes #133

@FokkeZB

Description

@FokkeZB

Currently sendBytes() returns various integers as success/error codes. We should provide defines so that the user don't need to know the exact integer.

#define TTN_ERROR_COMMANDFAILED -1
// etc

It would be nice to also have an enum with these values so that we can be clear on what the method can return.

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