on 2020 Dec 04 11:04 AM
Our customer has set up an edge device with SAP IoT Edge MQTT Gateway, through which different devices send data to SAP IoT Service in Cloud Foundry. However, they would also like to send commands back to these devices which are connected to the edge gateway. Is it possible to send commands from the IoT Service API, or somehow else from the internet to these devices? I've only found the documentation which covers the Cloud Gateway: https://help.sap.com/viewer/59a0d95c692d42f2bd149711ed22a547/Cloud/en-US
In that case a server URI is given, where you can send the commands: ssl://<HOST_NAME>:8883. Is there any similar endpoint for Edge Gateways? Thank you!
Request clarification before answering.
Hi Levente Gombos,
you can send commands to devices using the device management API (https://<HOST_NAME>/<INSTANCE_ID>/iot/core/api/v1/tenant/{tenantId}/devices/{deviceId}/commands) as described on the Help Portal page you shared in your question.
Devices connected to Edge Platform MQTT (e.g. via localhost:61618) receive their commands by subscribing to the command topic commands/<DEVICE_ALTERNATE_ID>.
Does this answer your question?
Best,
Jan Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.