Closed industrialinternet closed 3 years ago
You are right! At first the variable was named acc but i wanted it to be more decribing so i changed it and forgot one instance. Thank you very much for pointing it out! It is fixed now with the new commit. I have no object locator here to test it, i got just a soundlevel, light, presence detection, door & window and humidity sensor to test.
Thanks for this lib using object tracker on v3 and get this error in the console Decode uplink data message failure ReferenceError: acc is not defined at decodeUplink (:155:49(542))
looks like parseInt(acc) and acc isn't defined // changed to this error gone but not sure if this correct!! positionAccuracy = Math.pow(2, parseInt( positionAccuracy) + 2);