Setup
To build a device application, the environment should be downloaded and installed.
-
Host PC
This Code Lab activity is based on Ubuntu Linux 18.04 (x64)
-
Toolchain and BSP for MCU board
This activity uses esp8266 MCU board. You may setup the environment by referring to:
https://github.com/SmartThingsCommunity/st-device-sdk-c-ref#prerequisites
-
SmartThings-IoT-Device-SDK-C source code Refer to:
https://github.com/SmartThingsCommunity/st-device-sdk-c
https://github.com/SmartThingsCommunity/st-device-sdk-c-ref
$ git clone https://github.com/SmartThingsCommunity/st-device-sdk-c-ref.git $ cd st-cevice-sdk-c-ref $ python setup.py esp8266
-
SmartThings mobile application
Android: 1.7.51 or later
iOS: 1.6.51 or later
Sample Code
Here is a sample code for you to start coding this activity. Feel free to download them and start your learning experience!
Alternatively, you may simply get it by git cloning or downloading zip file from the GitHub link above.