Atos-Research-and-Innovation / IoTagent-LoRaWAN

FIWARE IoT Agent for LoRaWAN protocol (with CayenneLpp and CBOR data models)
https://fiware-lorawan.readthedocs.io/en/latest/
Other
34 stars 40 forks source link

Translation of CayenneLpp GPS fields to NGSI correctly #9

Closed dcalvoalonso closed 5 years ago

dcalvoalonso commented 5 years ago

As a result of https://github.com/Atos-Research-and-Innovation/IoTagent-LoRaWAN/issues/8, we have detected that CayenneLpp GPS is not correctly translated to NGSI.

For instance the CayenneLpp payload 00 88 ff f1 8c 00 9d d0 00 00 00 is translated to:

{
        "location": {
            "type": "geo:point",
            "value": {
                "latitude": -0.37,
                "longitude": 4.04,
                "altitude": 0
            }
        }
    }

While should be:

{
        "location": {
            "type": "geo:point",
            "value": "-0.37, 4.04"
        }
}
dcalvoalonso commented 5 years ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: