telefonicaid / iotagent-node-lib

Module to enable IoT Agent developers to build custom agents for their devices that can easily connect to NGSI Context Brokers
https://iotagent-node-lib.rtfd.io/
GNU Affero General Public License v3.0
60 stars 85 forks source link

TimeInstant metadata when `TimeStamp` flag is `false` #1504

Closed mapedraza closed 3 months ago

mapedraza commented 10 months ago

IoT Agent Node Lib version the issue has been seen with

3.4.X

Bound or port used (API interaction)

Southbound (Devices data API)

NGSI version

NGSIv2

Unexpected behaviour you saw

When timestamp == false, if sending a measure including timeInstant attribute

Solution

When timestamp == false, no metadata timeInstant should be included

fgalan commented 10 months ago

timeInstant or TimeInstant?

AlvaroVega commented 10 months ago

We need a POC test. I've tested with a provisioned device with timestamp = false and a TimeInstant measure and no metadata with TimeInstnat is created.

fgalan commented 9 months ago

PR https://github.com/telefonicaid/iotagent-node-lib/pull/1508 ~+ PR https://github.com/telefonicaid/iotagent-ul/pull/640~ (al final se eliminó el uso de la función local en IOTA-UL en PR https://github.com/telefonicaid/iotagent-ul/pull/644)

(partially)

AlvaroVega commented 8 months ago

I guess this issue could be closed @mapedraza

AlvaroVega commented 3 months ago

We can close this issue since was fixed by https://github.com/telefonicaid/iotagent-node-lib/issues/1557

mapedraza commented 3 months ago

It works properly in master at this moment