SAP IoT Device Connectivity
SAP IoT Device Connectivity
Content
About SAP IoT Device Connectivity
Introduction
Device Model
Typical Device Connectivity Workflow
Device Connectivity API
Access the APIs
API Details
Find Your Tenant ID
Onboard a Device to SAP IoT
Manual Onboarding
Automatic Onboarding
Create a Device Model using API
Create a Capability
Create a Sensor Type
Create a Device
Create a Sensor
Send Data to Sensor
Access the Device Onboarding Certificate
Request a Device Certificate
Device Vitality Algorithm
Internet of Things Gateway
Introduction
IoT Gateway Cloud and IoT Edge Platform
IoT Gateway Cloud
MQTT
Measure Message Format (JSON)
Single Measures
Batched Measures
Compressed Single Measures
Compressed Batched Measures
Batched Measure Messages
Measures for the Auto-Onboarding of Sensors
Report the Measure Processing Results (JSON)
Response Message
Processing Status Codes
Error Messages
Command Message Format (JSON)
Device Authorization and Authentication
Connection as a Router Device
Certificate Structure
Endpoint Structure
Command Management
REST
Measure Message Format (JSON)
Single Measures
Batched Measures
Compressed Single Measures
Compressed Batched Measures
Batched Measure Messages
Measures for the Auto-Onboarding of Sensors
Report the Measure Processing Results (JSON)
HTTP Status Codes
Response Body
Measure Message Format (Protobuf)
Measure Identifier
Measure Timestamp
Measure Value
Sensor Alternate ID
SensorType Alternate ID
Report the Measure Processing Results (Protobuf)
HTTP Status Codes
Response Body
Command Message Format (JSON)
Command Message Format (Protobuf)
Device Authorization and Authentication
Connection as a Router Device
Certificate Structure
Device Connection
Endpoint Structure
IoT Edge Platform
Network Requirements
OS Requirements
Set Up the IoT Edge Platform
Download and Set Up the IoT Edge Platform
Set Up the Internet of Things Edge Platform - MQTT
Download the IoT Edge Platform (and Adapters)
Set Up the IoT Edge Platform MQTT
Install the Paho Client
Set Up the IoT Edge Platform - REST
Download the IoT Edge Platform (and Adapters)
Set Up the IoT Edge Platform REST
Install cURL
Set Up the IoT Edge Platform - OPC UA
Download the IoT Edge Platform (and Adapters)
Set Up the IoT Edge Platform OPC UA
Create Node Structure
Offline Operations
Configuration
Enable or Disable Data Transfer to the Cloud
Enable or Disable Consumption of Commands from the Cloud
Enable or Disable Device Model Synchronization with the Cloud
Enable or Disable Data Model Synchronization with the Cloud
Access using Swagger
Buffering on IoT Edge Platform
MQTT
Measure Message Format (JSON)
Single Measures
Batched Measures
Compressed Single Measures
Compressed Batched Measures
Batched Measure Messages
Measures for the Auto-Onboarding of Sensors
Report the Measure Processing Results (JSON)
Response Message
Processing Status Codes
Error Messages
Measure Payload Customization
Command Message Format (JSON)
Device Authorization and Authentication
Connection as a Router Device
Certificate Structure
Endpoint Structure
Secure Transport
Custom Certificates
Prerequisites
Device Authorization
Insecure Transport
REST
Measure Message Format (JSON)
Single Measures
Batched Measures
Compressed Single Measures
Compressed Batched Measures
Batched Measure Messages
Measures for the Auto-Onboarding of Sensors
Report the Measure Processing Results (JSON)
HTTP Status Codes
Response Body
Measure Payload Customization
Command Message Format (JSON)
Measure Message Format (Protobuf)
Measure Timestamp
Measure Identifier
Measure Value
Sensor Alternate ID
SensorType Alternate ID
Report the Measure Processing Results (Protobuf)
HTTP Status Codes
Response Body
Command Message Format (Protobuf)
Device Authorization and Authentication
Connection as a Router Device
Certificate Structure
Endpoint Structure
Secure Transport
Custom Certificates
Prerequisites
Device Authorization
Insecure Transport
OPC UA
Overview
Adapter Configuration
Device Model Mapping
Device
Sensor
Mapping Business Objects in the IoT Edge Platform OPC UA
Define New Sensortypes and Capabilities
New Command
Sensors
IoT Edge Platform Scalability
Architectural Overview
Limitations
Generic Aspects
MQTT Overview
REST Overview
IoT Edge Platform Configuration
MQTT-Specific Configuration
REST-Specific Configuration
Deployment of Custom Bundles
IoT Edge Platform Upgrade
IoT Edge Platform Startup
Networking Setup
IoT Edge Platform SDK
Get Started
Download the SDK
Install the SDK
Create a Target Project
Adapters
Develop Adapters
Create a Target Project
Create Capabilities and Sensor Types
Create a Protocol
Create a Vendor
Create the Adapter Project
Import Third-Party Libraries as Local Dependencies
Example: Create Adapter for TCP Socket Based Communication
Example: Create Adapter for UDP Socket Based Communication
Example: Create Adapter for FILE Based Communication
Interceptors
Develop Interceptors
Create a Target Project
Create Capabilities and Sensor Types
Create Device and Sensors
Create the Interceptor Project
Build the Interceptor Project
Deploy the Interceptor Project
Modify the Interceptor Project
(Optional) Undeploy the Interceptor
Import Third-Party Libraries as Local Dependencies
Filter and Modify Data
Filter and Modify Commands
Trigger OSGi Events
Run Multiple Interceptors in Sequence
Additional Information - Adapters
Implement Adapters
Implement the CustomMessage
Provide Transaction Requests and Responses
Overview of ACSI Transactions
PDCall and PDAnswer
WSNRequest
WSNResponse
AcsiDataReport
AcsiGenCommandRqst
AcsiGenCommandRsp
AcsiPingRqst
AcsiPingRsp
AcsiWSNbootupRqst
AcsiWSNbootupRsp
Edge Gateway Service
Send Data from Device
Install Third-Party Software for Data Ingestion
Install the Paho Client
Install cURL
Install OpenSSL
Send Data on IoT Gateway Cloud
Find the Device Connectivity Endpoint
Send Measures using MQTT
Send Measures using REST
Send Commands using MQTT
Send Data on IoT Edge Platform
Send Measures with the Paho Client
Send Measures with cURL using REST
Send Measures using OPC UA
Glossary