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
59 stars 84 forks source link

Task/not loose invalid id type in measures #1562

Closed AlvaroVega closed 5 months ago

AlvaroVega commented 5 months ago

related https://github.com/telefonicaid/iotagent-json/pull/804

AlvaroVega commented 5 months ago

FIXME: we need to document this

AlvaroVega commented 5 months ago

Tested with:

curl -i -X POST 'http://localhost:7897/iot/json?i=disp5&k=k48pobwrxusoree1xchcnqqfg' -d '{
 "id":"665190-5", "type": "piedra", "level": "33", "internalId": "665190-1-1"
}' -H 'content-type: application/json'