Dear Actility Team,
I hope this question find you well.
I have a problem with Adeunis Modbus LoRa Sensor. When I tried to collect any negative value. I received value :64536.
I have a Water flow sensor sends a negative value which mean the direction of water flow.
when I sent a positive value the Modbus sent the data properly. But When I put a negative value, the data which received was strange.
So, I reached out with Adeunis Team, and I received this replay:
I think the problem lies with the codec.
The hexadecimal value transmitted in the LoRa frame is correct but a hexadecimal to decimal from signed 2's complement decoding must be applied.
We don't have the ability to modify codecs published on Actility, so we need to check directly with them to see if they can implement this modification on their codec.
I understand, but unfortunately there's nothing we can do to modify the codec implemented by Actility.
Adeunis didn't supply this codec to Actility, but Actility created and implemented it, so only Actility can modify it.
I suggest you contact them directly to request this modification.
I am going to implement a project with our client next Sunday and this matter will face me there.
So let me know what I can do about this issue.
Your prompt response will help me a lot.
Let me know if you have any questions.