Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/ttn-tti-network/missing-variables/CON-275 #109

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mateuscardosodeveloper
Copy link
Collaborator

@mateuscardosodeveloper mateuscardosodeveloper commented Jan 17, 2025

Decoder Description

NETWORK TTI/TTN

Update decoder to extract the data from rx_metadata, the array that contains information about the gateways.

E.g

// Old Structure
{
    "variable": "rssi",
    "value": -35
}

// New Structure
{
    "variable": "rssi",
    "value": -35,
    "metadata": {
        "rssi_1": -122,
        "rssi_2": -112
    }
}

Type of change

  • Adding a new Decoder of Connector
  • Adding a new Decoder of Network
  • Update or fixing an issue in existing Decoder

Decoder Information and Payload to test and review

  • Documentation of the hardware or protocol:
  • Payload of example the test the decoder:

Checklist for Adding a New Decoder

  • Created a new folder under ./decoders/network/ or ./decoders/connector/ with the name of your decoder.
  • Added a network.jsonc or connector.jsonc file that follows the structure defined in ./schema/.
  • Created version folders and added manifest.jsonc files for each version.
  • Followed the folder structure guidelines for manufacturer and sensor/device model.
  • The code has unit test and it's in JS.

@mateuscardosodeveloper mateuscardosodeveloper added the enhancement New feature or request label Jan 17, 2025
@mateuscardosodeveloper mateuscardosodeveloper requested review from FabianoEger, Freddyminu and vitorfdl and removed request for FabianoEger January 17, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant