Skip to content

Conversation

theArcher73
Copy link

No description provided.

Longitude/ latidtude added to decoded_payload in order to use ttnmapper.org
@Jessie219-web
Copy link
Contributor

Hi, thanks for creating a PR to contribute to this decoder, but it looks like you added the wrong place, should add it on line 36:

for (let element of message) {
            if (element.errorCode) {
                decoded.err = element.errorCode
                decoded.errMessage = element.error
            } else {
                if (element.measurementId === '4197') {
                    decoded.longitude = element.measurementValue
                }
                if (element.measurementId === '4198') {
                    decoded.latitude = element.measurementValue
                }
                elements.push(element)
            }
        }

@theArcher73
Copy link
Author

theArcher73 commented Oct 13, 2023 via email

@Wlanfr3ak
Copy link

Hi, the Problem with ttnmapper is that we need a value for precise of the data with satellite count or accuracy value. So if you have lat and lon its even not working. Sensecap needs a firmware update and send this data too. My Wish then: Height, Satellite Count and HDOP etc.

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

Successfully merging this pull request may close these issues.

3 participants