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

Payload decoder from a DRAGINO RS485-LN #40

Open
HydronikST opened this issue May 23, 2022 · 0 comments
Open

Payload decoder from a DRAGINO RS485-LN #40

HydronikST opened this issue May 23, 2022 · 0 comments

Comments

@HydronikST
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant