how to integrate mule esb with the sphero ball

7
How To Integrate Mule ESB W ith….the Sphero Ball!

Upload: sivachandra-mandalapu

Post on 12-Jan-2017

159 views

Category:

Education


2 download

TRANSCRIPT

Page 2: How to integrate mule esb with the sphero ball

Mule ESB can be used in integration of cloud based applications like Salesforce CRM, Mobile Applications along with many more that adds value to your business – the integration possibilities got our team of Mule Experts thinking – what else can we do with Mule ESB and Salesforce?

We decided to try to integrate a mobile through the intelligent Mule iPaaS ESB with the exciting Sphero Robotic Ball through Salesforce!

Page 3: How to integrate mule esb with the sphero ball

 

The programmable Sphero Robotic Ball is an interesting gadget. It can be programmed and controlled to change colors, positions, control speed, draw squares, turn circles etc. (Checkout:http://www.gosphero.com)

Page 4: How to integrate mule esb with the sphero ball

Equipped with the Sphero and a Salesforce.com account, we have created a mule workflow to create a lead in Salesforce through an SMS and then trigger a message to Sphero changing its position and colors.

Salesforce has been integrated with a MuleSoft Salesforce Connector. Sphero is paired with a PC over Bluetooth. A dotnet client has been introduced to receive commands from Mule ESB and pass these commands to Sphero over Bluetooth. An intermediate database has been used to manage the state of the workflow and Mule Database Connector has been used to manage all the database operations.

Sphero WIN SDK API has been used to interact with Sphero Ball over Bluetooth. A Windows Store App with a web service client polls for the input commands through Mule and relays it to Sphero through the Sphero API.

How did we do it?

Page 6: How to integrate mule esb with the sphero ball

Here is the code snippet to create a new lead in Salesforce.

Page 7: How to integrate mule esb with the sphero ball

With this integration through Mule ESB the response time is under a second and we are able to move Sphero at near real time. So if we can do that, imagine what else we can do!