cancel
Showing results for 
Search instead for 
Did you mean: 

IoT in SCP. Device connectivity options

RyabovAlex
Advisor
Advisor
0 Kudos

Hello colleagues,

could you please help understanding one point?

I have a device, which I'm trying to connect to SCP.

At this moment, the device can only reply on GET and POST, and it can NOT itself post any data to anywhere (still under development).

So, my question is:

is it possible to use IoT cockpit as the source of automated GET requests?

In other words: is it possible to make SCP send GET requests to device every second and store the replies in the DB table?

Because all I've found on the web is that device should POST data itself to SCP.

Thank you in advance.

View Entire Topic
anton_levin
Advisor
Advisor
0 Kudos

Hello Alexander,

I would assume you speak about SAP Cloud Platform Internet of Things here. Please check online documentation on Push Service [1] exposed by IoT MMS if you want to send messages TO the device. Please, point your attention on "Receiving Push Messages Using HTTP" part (if your transport protocol is HTTP).

However, this will not save your device (sensor) data in DB. IoT MMS is not able to poll/query for device data. Initiator of the call should be a device.

Regards,

Anton

[1] https://help.hana.ondemand.com/iot/frameset.htm?9da1c18f6ab947c58052f4d07498a654.html

RyabovAlex
Advisor
Advisor
0 Kudos

Hi Anton.

Thank you very much for your reply. Exactly what I was looking for.