Skip to content

ChirpStack V4 incompatable (with suggested fix) #16

@robert-stevenson-1

Description

@robert-stevenson-1

Trying to use these with a v4 chirpstack instance on a ntoher device and get codec errors.
added:

// ChirpStack v4 wrapper
function decodeUplink(input) {
    return {
        data: Decode(input.fPort, input.bytes, input.variables)
    };
}

// --- Your existing Seeed Studio code starts below here ---

This resolved my issues when testing a S2103 sensor.
Open to other sensor testing.
This should hopefully maintain backwards compatibility too, but I would need someone else to test that

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions