Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.79 KB

HowToDevelopThingsUsingSTThings.md

File metadata and controls

44 lines (35 loc) · 2.79 KB

How to develop things using ST Things based TizenRT

ST Things (SmartThings Things) is lightweight OCF development framework based TizenRT.
It provides APIs to develop OCF devices and supports SmartThings Services provided by mobile devices to easily connect SmartThings Cloud.

Prerequisites

To use TizenRT

Please refer to each details.

To use SmartThings Cloud

A device developed using ST Things based TizenRT can connect to SmartThings Cloud.
In order to work with the cloud, it is necessary to sign up Samsung Account at SmartThings Developers site. Then, follow the steps.

  1. Get your MNID - Manufacturer ID - on My Page.
  2. Create a cloud-connected device [Details].
  3. Generate the Certificate Signing Request and issue a new Signing key for the device certificate [Details].
  4. Add certificate.pem and privateKey.der files to $TIZENRT_BASEDIR/tools/fs/contents-romfs/.
  5. Edit Json file to match the following: JSON
     "certificate": "certificate.pem",    
     "privateKey": "privateKey.der"  
    

To develop App(SmartThings) UI and functionality, use the SmartThings SDK. Please refer to SmartThings SDK site.
The device definition is stored in a JSON configuration file that you need to provide [Device Definition].

Getting Started

With Tizen Studio for RT

The Tizen Studio for RT is an IDE that provides a lightweight RTOS (real-time operating system)-based application development environment that helps you develop, build, flash, and debug applications in Ubuntu.
Select OS as Ubuntu and download Tizen Studio for RT IDE at HERE.
Tizen Studio for RT supports ST Things since v2.0.
Please refer to README.

Without the IDE

Please find it at README to build ST Things sample app.

API Reference

Please find ST Things APIs at README.