BT

InfoQ Homepage News Samsung SAMI – a D3 Platform for the IoT

Samsung SAMI – a D3 Platform for the IoT

Bookmarks

Samsung SAMI is a Data-driven Development (D3) platform for receiving, storing and sending data to/from IoT devices. Any device can send data in various formats which is then normalized into a JSON format and stored in the cloud. Data can then be requested by other devices.

SAMI operates with the following concepts:

  • Device – any source of data - sensors, appliances, applications, services, etc.
  • Device Type – a category of devices, such as Samsung Galaxy Gear Fit
  • Device ID – the unique ID associated to a device instance
  • Message – a piece of data and its associated metadata sent by a device to SAMI or other devices
  • Authorization – SAMI uses OAuth2 to authenticate users
  • Manifest – a data interpreter, one for each device type, used for data normalization. There is a simple manifest and an advanced manifest. The simple one is created with a web form and it is used to interpret JSON data sent to SAMI, while the advanced one is a script written in Groovy. The latter needs to be approved by Samsung which can reject a manifest if it attempts something malicious, it leaks memory, etc.

Data can be later requested using REST or WebSocket API calls (API specification). There are currently some limitations on the number of such calls per device, per user or per application.

The SAMI platform provides a number of tools for developers: Developer Portal - a web-based interface for creating and managing device types and applications, User Portal – a tool enabling users to register devices and visualize their data, API Console – an online tool for executing API calls, and the Device Simulator - a command-line tool to send simulated messages to SAMI.

Samsung has published a number of sample applications for Android, iOS, Node.js, Arduino, and the browser (JavaScript) that show how to use SAMI. There are also a number of SDKs that help with the creation of applications in Java/Android, Objective-C/iOS, PHP, Python and Ruby.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Ok, can we please get a handle on these names/acronyms?

    by Richard Clayton /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    When most of us think D3, we think of the web-based SVG framework. And if you change that to DDD; that's taken by Domain-Driven Design.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.