[iot] Gateways metadata

Nicolas Gonzalez nicolas at ngonzalez.fr
Wed Oct 17 10:46:54 CEST 2018


Bonjour a tous,

@LinuxEdu-et-LinuxTarn je viens de modifier votre "service-profiles", 
j'ai coche l'option "Add gateway meta-data" dans testbellevue.

Comme ca au niveau de la couche application on peut avoir les infos 
liees a la transmission.

Voici le changement sur mqtt chez Remi :

application/5/device/010203040506070b/rx 
{"applicationID":"5","applicationName":"RB-home","deviceName":"RB-feather-M0","devEUI":"010203040506070b","txInfo":{"frequency":868300000,"dr":5},"adr":true,"fCnt":65,"fPort":1,"data":"MTkuODc1"}

application/5/device/010203040506070b/rx 
{"applicationID":"5","applicationName":"RB-home","deviceName":"RB-feather-M0","devEUI":"010203040506070b","rxInfo":[{"gatewayID":"3150000000000002","name":"toulouse_remi","rssi":-100,"loRaSNR":3,"location":{"latitude":43.60625069174644,"longitude":1.4709877967834475,"altitude":204}}],"txInfo":{"frequency":868500000,"dr":5},"adr":true,"fCnt":66,"fPort":1,"data":"MTkuODc1"}

Maintenant Remi peut savoir avec quels parametres le message a ete recu, 
la localisation etc ...

Bien a vous,

ngonzalez



More information about the iot mailing list