Git Product home page Git Product logo

codec-api-lorawan's Introduction

Sommaire des Readme

Codec-API-LoRaWAN

Javascript codec compatible with the LoRaWAN API specification

Application repository on Actility: https://github.com/actility/device-catalog/tree/main/vendors/watteco
Application repository on TTN: https://github.com/TheThingsNetwork/lorawan-devices/tree/master/vendor/watteco

Dépendances à installer sur la machine

    node install_dependencies.js

Utilisation

On suivra la démarche décrite dans le README.md du répertoire utilities si l'on souhaite modifier le codec.

Codec

La construction de ce codec vise à respecter la spécification ts013-1.0.0 de la lora alliance que vous trouverez ici:

https://resources.lora-alliance.org/document/ts013-1-0-0-payload-codec-api

Devices

Contient le fichier javascript spécifique à un capteur, ainsi que le nécessaire pour tester des payload que l'on sait fonctionnels si on modifie le codec.

Clusters_examples

Le dossier contient des payloads d'exemple rangés par cluster.
examples_0_common est la concaténation d'un exemple des clusters 0x0000, 0x0050 et 0X8004.
Les command_id 07 et 09 ont un retour différent car ils contiennent l'objet report_parameters.

Distrib

Contient le fichier compréssé équivalent au codec en plusieurs fichiers, plus le fichier spécifique au capteur.

Scripts

Contient les scripts permettant d'automatiser certaines tâches dues à la modification du codec.

Utilities

Plusieurs outils permettant de simplifier certaines tâches.

codec-api-lorawan's People

Contributors

logia556 avatar 0davgi0 avatar jbnoblot avatar watteco avatar

Stargazers

Nora Emma "Metal-Mighty" Barlow avatar DJIL avatar

Watchers

 avatar  avatar

Forkers

jbnoblot tolbon

codec-api-lorawan's Issues

Demande informations

Bonjour,
Avez vous une definition a me donner concernant le mot cluster (la variable clustID)
ainsi que le

let batch_param = [2, [{ taglbl: 0, resol: 10, sampletype: 7, lblname: "temperature", divide: 100 },
    { taglbl: 1, resol: 100, sampletype: 6, lblname: "humidity", divide: 100 },
    { taglbl: 2, resol: 1, sampletype: 6, lblname: "battery_voltage", divide: 1000 },
    { taglbl: 3, resol: 1, sampletype: 1, lblname: "violation_detection", divide: 1 }]];

la premiere valeur dans ce tableau, à l'occurence le 2 ici, correspond a quoi exactement ?

D'avance merci pour vos éclaircissement

Chirpstack integrations

Bonjour,
Nous avons un soucis lors de l'integration de vos codecs dans chirpstack.
Le code de chirpstack que vous pouvez trouver ici :
https://github.com/chirpstack/chirpstack/blob/1e619f90a04ae81f4d19709efe8afdaa2d1c2034/chirpstack/src/codec/js/mod.rs#L94
Il attend un objet de la part du retour de decodeUplink (comme la specs Lora le demande)

Alors oui en Javascript tout est plus ou moins Object mais il y a aussi solution de mettre une propriété dans l'objet de retour qui contient la tableau de la trame.

example : data: { measurements: [...] }

Qu'en pensez vous ?

Hygrotempo Decoder in Codec API

Hello,

I am currently using your Codec API for LoRaWAN and noticed that the Hygrotemp'o decoder is missing in the API, even though it is available through your online tool.

Are there any plans to include this decoder in an upcoming release?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.