Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JSON message in SINGLE mode

Code Block
languagejs
linenumberstrue
{
"deviceId" : "U2iESUvw4QynfgtyNuZsZElye2YgSZZ0",
"value" : 1234,
"anotherValue" : 4567,
"additionalData" : 
	{
	   "nestedValue" : 556,
	   "name" : "Some name"
	}
}

...

JSON message in BULK mode

 

Code Block
linenumberstrue
{
"info" : {
	"deviceId" : "U2iESUvw4QynfgtyNuZsZElye2YgSZZ0",
	"description" : "Some description"
},
"data" : [
	{ "rowId: 1, "value" : 556 },
	{ "rowId: 2, "value" : 665 },
	{ "rowId: 3, "value" : 789 },
]
}

...

OptionValue
receivers[].inputMode
BULK
receivers[].jsonSensorId
info.deviceId
receivers[].messageContentType
JSON

XML message

 

Code Block
linenumberstrue
<?xml version=\"1.0\"?>
   <acceler_x>-889</acceler_x>
   <acceler_y>458</acceler_y>
   <acceler_z>-139</acceler_z>
   <gyro_x>9155</gyro_x>
   <gyro_y>-30395</gyro_y>
   <gyro_z>-12329</gyro_z>
   <humidity>38</humidity>
   <inert_acceler_x>-1034</inert_acceler_x>
   <inert_acceler_y>529</inert_acceler_y>
   <inert_acceler_z>-155</inert_acceler_z>
   <inert_gyro_x>10681</inert_gyro_x>
   <inert_gyro_y>-10742</inert_gyro_y>
   <inert_gyro_z>-4455</inert_gyro_z>
   <light>129600</light>
   <magnet_res>6699</magnet_res>
   <magnet_x>83</magnet_x>
   <magnet_y>52</magnet_y>
   <magnet_z>-54</magnet_z>
   <pressure>99835</pressure>
   <sensorId>F4-B8-5E-3D-92-91</sensorId>
   <temperature>200000</temperature>
   <tick>81697</tick>

...

OptionValue
receivers[].inputMode
SINGLE
receivers[].jsonSensorId
sensorId
receivers[].messageContentType
XML

CSV message

Code Block
linenumberstrue
U2iESUvw4QynfgtyNuZsZElye2YgSZZ0,1324,4567eceiver settings

...