<< curlStr bytecode_iot_module favor_createSensors >>

bytecode_iot_module >> bytecode_iot_module > favor_createData

favor_createData

Create a data structure to be uploaded to Favoriot

Syntax

obj = favor_createData(deviceID,sensorName)

Parameters

obj :

A data structure

deviceID :

Device developer ID

sensorName :

Name of the sensors that will be used

Description

Create a data structure to be uploaded to Favoriot. The data structure contains 2 fields. The first field (device_developer_id) contains the device developer ID provided by deviceID. The second field (data) contains a structure with the sensor names provided by sensorName. You can use the function favor_createSensors to generate sensor names. The sensors will have the default value of "0".

See also

Authors


Report an issue
<< curlStr bytecode_iot_module favor_createSensors >>