MyMessage::getInt() (v1.5) gives wrong value
-
Hello,
I just experienced the strangest of behaviours from version 1.5 of the library : getInt() behaves different whether it's compiled with arduino IDE (on Windows) or Codebender (soon to RIP).
From the gateway I send a V_TEMP of 23° to two nodes having the same ID. On the Codebender compiled one getInt() returns 23 as expected, but on the arduino compiled one it gives 230 ! Exact same sketch and libraries used.I read about a similar issue on the github but this doesn't seem to be my case.
I know 1.5 is now old and I should move on to v2.0 but I have a whole home network of sensors I would have to upgrade and well ... I'll do it tomorrow :)
I suspect it has something to do with the OS environment and how the compiling toolchain works on it but I don't have the knowledge to dig deeper.
Please help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login