Skip to content

Commit

Permalink
Merge pull request #639 from telefonicaid/tas/remove-autocast-references
Browse files Browse the repository at this point in the history
Remove autocast references
  • Loading branch information
fgalan authored Oct 11, 2023
2 parents ea9d8c3 + 346b58a commit 26cf607
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/usermanual.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,8 @@ then the NGSI v2 update uses `10`(number), `true` (boolean) and `78.8` (number)

This functionality relies on string measures casting feature implemented in the iotagent library. This functionality
uses native JavaScript [`JSON.parse()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
function to cast data coming from measures (as text) to JSON native types.

In order to use it, the `autocast` configuration parameter has to be set to true. Please see
[configuration section of iotagent library](https://github.com/telefonicaid/iotagent-node-lib/blob/master/doc/installationguide.md#global-configuration)
for further information.

This functionality does not change the attribute type, using the type specified in the config group or device provision.
function to cast data coming from measures (as text) to JSON native types. This functionality does not change the attribute type,
using the type specified in the config group or device provision, even if it is not consistent with the measures that are coming.

As an example, for a given measure:

Expand Down

0 comments on commit 26cf607

Please sign in to comment.