EasyManuals Logo

Dragino LSN50 User Manual

Dragino LSN50
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
www.dragino.com
LSN50 LoRa Sensor Node User Manual 18 / 60
2.3.5 Decode payload in The Things Network
While using TTN network, you can add the payload format to decode the payload.
The payload decoding function is as follows:
function Decoder(bytes, port) {
// Decode an uplink message from a buffer
// (array) of bytes to an object of fields.
if(bytes[6] & 0x10)
{
var mod4="3DS18B20"; //work mode
}
else if(bytes[6] & 0x08)
{
var mod3="3ADC"; //work mode

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Dragino LSN50 and is the answer not in the manual?

Dragino LSN50 Specifications

General IconGeneral
BrandDragino
ModelLSN50
CategoryAccessories
LanguageEnglish

Related product manuals