SKT ThingPlug Simple SDK 구조와 API 및 사용법에 대한 내용입니다.
- Simple (ThingPlug Simple SDK root folder)
- middleware (middleware sample including makefiles for build)
- lib (external libraries - paho, TLS, )
- include (Header files of the ThingPlug Simple SDK)
- src (Source files of the ThingPlug Simple SDK)
- simple (Source files of the ThingPlug Simple API)
- net (Source files of the MQTTS)
Directory | Description |
---|---|
Simple | ThingPlug Simple SDK 루트 폴더 |
middleware | SDK 를 이용한 미들웨어 샘플 폴더 |
lib | 외부 라이브러리나 소스들 폴더 |
include | 동작에 필요한 header 파일들 폴더 |
src | 전체 소스 폴더 |
simple | ThingPlug Simple API 소스 폴더 |
net | MQTT/TLS 관련 소스 폴더 |
MQTT TLS 지원을 위하여 라이브러리를 사용합니다.
지원 환경 | TLS 지원 | MQTT 라이브러리 | TLS 라이브러리 |
---|---|---|---|
ARM/Linux | O | paho | OpenSSL(to be installed.) |
ARDUINO | X | paho | |
mbed | O | paho | mbed TLS |
FreeRTOS | O | paho | mbed TLS |
SDK를 사용한 미들웨어 예제는 다음과 같습니다.
- ThingPlug_Simple_SDK.c or ThingPlug_Simple_SDK.ino : ThingPlug Simple SDK 에서 지원하는 API를 모두 테스트해볼 수 있습니다.
- MA (미들웨어의 ManagementAgent 역할)
- SRA (미들웨어의 SensorManagementAgent 역할)
- SMA (미들웨어의 ServiceReadyAgent 역할)
Copyright (c) 2018 SK Telecom Co., Ltd. All Rights Reserved. Distributed under Apache License Version 2.0.