You are on page 1of 2

15/03/2016

GetstartedwithHCPIoTserviceswiththesela...|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

SAPHANACloudPlatformDeveloperCenter

GetstartedwithHCPIoTserviceswiththeselatest
updatedtutorials
PostedbySonaliDesaiinSAPHANACloudPlatformDeveloperCenteron18Dec201520:33:22
Share

47

Tweet

Like

Withthereleaseof HCPIoTServicesatSAPPHIREthisyear,therearelotofquestionsaboutwhattheseHCPIoT
servicesareandhowtogetstartedwiththem.AsaproductmanagerforHANACloudPlatform,focusingmainlyonIoT,
Iwouldliketoexplainabitmoreaboutithere.
HereisageneraloverviewofHCPIoTServices:
InternetofThingsmeansthatmillionsofdevicesareconnectedandnetworkedtogetherandtheyhaveabilityto
communicateandexchangedata.IoTwilleventuallytouchallSAPcustomersinallindustries.FromR&Dtologisticsto
serviceoperations,wewillgetIoTrelevantdatafromeverywhere,andbasedonthatdata,wecanenhancebusiness
processessuchas,forexample,withPredictiveMaintenance.Thisiswhyitimportantforenterprisesystemsand
enterpriseslikeSAPtofocusonIoT.

Butwhenwehavesuchamassiveamountofdata,itmayeasilybecomeoverwhelming,soweneedtomanagethat
data.Forthat,SAPhasprovidedagenericplatformwithHCPIoTservicesfordevicemanagementandapplication
enablement.HCPIoTservicesarealsowellintegrated,likeeverythingelseinHCP,withotherHCPservices.A
developerdoesnothavetoworryaboutdevicemanagementandcanfocusinsteadonbuildingappsontopofthis
gathereddataandtyingitalltogetherusingotherHCPservices.

Thereare3buildingblocksofIoTServices:

1.IoTCockpit:Itisaninterfaceforaccessingdevicemanagementandmessagemanagementservices

2.RemoteDevicemanagementService(RDMS):
OneofthetwoIoTServices,thisprovidesAPIstocreatedevicetypesandmessagetypesthenyoucanregister
devicesforparticulardevicetype.
OnceyouentertheIoTworld,thereareseveralthingsyoullneed.Forinstance,youmayhavelotsofdevices.
Youneedtohaveawaytocontrolthem.Thisservicesecurelyonboardsthedevice.Itallowstoconnecttothe
deviceandmakesitavailableintheplatform.Youcandefinewhichmessagesyoucanexchangewithcertain
devicesbycreatingmessagetypes.OnceyouregisterdevicestotheRDMSservice,yougetanOAuthtokenand
EndpointURLandthisshouldbeembeddedintothedevice.Witheachrequestfromthedevicetotheplatform,
thistokenhastobesentintheheaderthatensuresthatplatformiscommunicatingtotheauthorizeddevice
WealsoprovideAPIsintheplatformtoonboardmultipledevices.
Youcanalsosendcommandstothedevicetoupdateparametersorevenfirmwareonthedevice.

3.MessageManagementService(MMS):
Onceyouestablishconnectionwiththedevice,youwanttocollectthedatafromthedeviceandstoreit
somewhere.MMScollectsdataandstoresitintheHCPPersistenceservice(currentlyinHANAorASEin
future,weplantosupportHadoopaswell).
CurrentlyHTTPSandWebSockettransportprotocolsaresupportedwhiledataisexchangedinJSONformat.For
bothprotocols,thereisatestclientinthecockpit.SupportforadditionalprotocolssuchasMQTTisplanned.

InordertogetyoustartedwiththeseIoTServices, wepublishedseveraltutorialsawhileagothatexplainstepby
stepinstructions.Sincetheservicehasevolved,sohavethestepsrequiredtoonboard,andsoIamhappyto
announcethatIhaveupdatedthosetutorialsandherearethelatestones:
1.GettingstartedwiththeIoTServicesGetyourSAPHCPIoTservicesupandrunning.Andthenseethedevice
datastoredinthetables.
2.ConnectingaJavaHTMLUI5GUITosetupaJAVAHTMLUI5applicationthatwillserveasasimpleGUIfor
yourIoTproject.
3.ConnectingaUI5GUIusingWebIDEThisusestheSAPWebIDEtobuildeverything.Itshowsdetailsonhowto
haveboththeWebIDEandJavaworking.ItshowshowtoexposedatabasetableasanODataService
4.NodejsandPythonItshowshowyoucanpostdatatoyourHCPIoTServicesaccount,usingNodejsand
Python.
5.BuildingupthehardwareItshowshowyoucanpostdatatoyourHCPIoTServicesaccount,usingaTesselas

http://scn.sap.com/community/developercenter/cloudplatform/blog/2015/12/18/getstartedwithhcpiotserviceswiththeselatestupdatedtutorials

1/2

15/03/2016

GetstartedwithHCPIoTserviceswiththesela...|SCN

yourhardwaredevice.

TryitoutandletusknowwhatyoubuildwithIoTonHCP!

TolearnmoreaboutSAPHANACloudPlatform,checkoutthefollowingresources:

SAPHANACloudPlatformDeveloperCenterSCNpage
SAPHANACloudPlatformSCNPage

SAPHANACloudPlatformPodcastSeries
YoucanalsoreachouttousviaTwitter(@saphcp)

4213Views

AverageUserRating
(2ratings)

Share

47

Tweet

Like

0Comments
Therearenocommentsonthispost

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/community/developercenter/cloudplatform/blog/2015/12/18/getstartedwithhcpiotserviceswiththeselatestupdatedtutorials

FollowSCN

2/2

You might also like