7 years, 3 months ago.

Data consuming through API

We are using the MTS Dragonfly device to connect to the infusion pump(moog medical device) through cellular connectivity to mbed device connector, I need to know how can we can access device data posted from dragonfly device through APIs. Please give me details of API structure for consuming and displaying in our application (web or android app). Also i don't know mbed device connector allows to store data.

New to this platform.

Thanks in advance for help.

Question relating to:

The MultiConnect® Dragonfly offers developers an FCC and carrier certified solution that makes connecting sensors and other edge-of-network devices quick and easy.

1 Answer

7 years, 3 months ago.

You can retrieve the data using node.js, Python or the HTTP REST API. In Connector click on 'Access keys' to create a new API key.

An example web app against Connector is here (node.js).

mbed Device Connector does not store your data, just acts as a message broker.

Thanks Jan. Your Guidance appreciated from my heart since iam very new both cloud and mbed. I need confirmation,we are developing the android application assuming will get data http rest API as you mentioned. Do we need to create our own webserver to register for notification through mbed connector example PUT /notification/callback Content-Type: application/json

{ "url": "https://www.my-mbed-consumer.com/notify" } I had created the access key and not sure how create REST API ?. Please clarify if i need to write this C++ complier and flash on board. My understanding is that once mbed client connects successfully to mbed device connector what i need to do in dashboard?

posted by veera s 03 Feb 2017