You create a message type, assign message fields to it and register the message type with SAP HANA Cloud Platform, Internet of Things services.
Context
Each message type defines a message format including message fields that can be sent or received by a device.
Example: A device can send the message whether the container is open or closed. The message can contain two fields, the sensor and the value. In that case, you would create a message type with the name ContainerDoor and would add the two fields to it.
Procedure
From the user interface, go to Master DataInternet of ThingsMaintain Internet of Things Settings.
From the Dialog Structure section, select the Message Types option.
Select the New Entries button.
Enter a Message Type name and Description for the message type.
Select a message type and choose the Message Fields option.
Select the New Entries button.
Enter the field position, Field Name and select the Field Type.
You can add additional fields and save your entries.
Select the Message Types option once again and save your entries.
Click the Register Message Type button to register the message type in Internet of Things. The system assigns a message type ID generated in SAP HANA Cloud Platform, Internet of Things services.