telefonicaid / sigfox-iotagent

IoT Agent for the Sigfox protocol
https://iotagent-sigfox.rtfd.io/
GNU Affero General Public License v3.0
11 stars 13 forks source link

check mapping is provided in internal_attributes at device provision #22

Closed AlvaroVega closed 6 years ago

AlvaroVega commented 6 years ago

A special internal attribute called mapping must be provided, containing the structure of the data attribute of the device.

  "internal_attributes": [
    {
      "mapping": "theCounter::uint:32  theParam1::uint:32 param2::uint:8 tempDegreesCelsius::uint:8  voltage::uint:16"
    }

Currently no check is performed

fgalan commented 6 years ago

Fixed in PR https://github.com/telefonicaid/sigfox-iotagent/pull/23