aws-samples / aws-samples/aws-iot-core-lorawan

Payload decoder from a DRAGINO RS485-LN

Open
#40 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
84
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hi,
This device is a converter between ModBusRTU(RS485) and LoRaWAN.

To start with the most basic (the temperature of a single device connected to your busRTU), what would be the whole process to implement its corresponding decoder?

A possible payload would be: (0x01 0x00 0xc0)
Where the second and third byte (0x00c0) is a 16-byte signed integer to which the factor 0.1 must be applied for the measured temperature; that is, equivalent to 19.2ºC.

Thank you very much for your help.

Contributor guide

Open the contributing guide

Research direction

The issue names no file, test, or entry point. Start by locating the repository's existing binary decoder examples and the LoRaWAN payload-decoding path, then determine how a DRAGINO RS485-LN decoder fits there. Done should include decoding the sample payload so the temperature is reported as 19.2ºC.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.