cancel
Showing results for 
Search instead for 
Did you mean: 

Schema Creation for TiSensorTag on Edge Gateway

i326436
Advisor
Advisor
0 Kudos

Hi,

I'm trying to parse TiSensorTag message payload on Edge Gateway by creating new schema files under config/schemas folder. To do this, I'm following the the steps in the Schema Creation Examples, but I couldn't figure it out.

https://help.sap.com/viewer/3d1c4ea7d7344d6fb5b0ca602d3ee9b7/Cloud/en-US/69b10728c4f9494c97c21db3971...

For example, I couldn't find out the WSNDataModel.xml file in anywhere.

Did anybody create a new schema for different message payload than the default schema - i.e TISensorTag?

TISensorTag payload: { "ambientTemp":"26.34", "objectTemp":"21.59", "humidity":"60.19364", "pressure":"1005.69", "altitude":"0.6075888", "accelX":"0.00", "accelY":"-0.02", "accelZ":"1.08", "gyroX":"-0.95", "gyroY":"1.88", "gyroZ":"0.03", "magX":"-18.44", "magY":"-4.20", "magZ":"-9.89", "light":"299.36" }

Btw: I am using IoT 4.0.

Regards,

Bulut

Accepted Solutions (0)

Answers (1)

Answers (1)

fparodi
Discoverer
0 Kudos

Hi Bulut,

thanks for your request and interest in the Edge Gateway. Unfortunately, the section of the documentation you reported refers to the possibility of enriching the device model via a local file, which is not supported anymore. The documentation will be corrected accordingly in the next release. The task of managing the device model of an IoT instance can now be performed via APIs; as reference, you may want to take a look at the related tutorial:

https://help.sap.com/viewer/bd5ebed5d2014871a457471086164410/Cloud/en-US

In general, other improvements to the documentation addressing the schema management are planned for the next releases.