Skip to content

SKT-ThingPlug/thingplug-device-sdk-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThingPlug oneM2M device SDK

본 챕터는 SKT ThingPlug oneM2M SDK 구조와 API 및 사용법에 대하여 서술한다.

Architect

SDK Source Tree

  • oneM2M (ThingPlug oneM2M SDK root folder)
    • docs (Developer guide & API documentation)
    • samples (Samples including makefiles for build)
    • lib (external libraries - paho, TLS, )
    • include (Header files of the ThingPlug oneM2M SDK)
    • src (Source files of the ThingPlug oneM2M SDK)
      • oneM2M_V1 (Source files of the ThingPlug oneM2M v1)
      • oneM2M_V1_12 (Source files of the ThingPlug oneM2M v1.12)
      • net (Source files of the MQTTS)

Description

Directory Description
oneM2M ThingPlug oneM2M SDK 루트 폴더
docs 개발 가이드와 API document 폴더
samples SDK 를 이용한 샘플 Application들 폴더
lib 외부 라이브러리나 소스들 폴더
include 동작에 필요한 header 파일들 폴더
src 전체 소스 폴더
oneM2M_V1 ThingPlug oneM2M v1 관련 소스 폴더
oneM2M_V1_12 ThingPlug oneM2M v1.12 관련 소스 폴더
net MQTT/TLS 관련 소스들 폴더

Library

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

API Documentation

Samples

SDK를 사용한 예제들은 다음과 같다.

  • SDKVerification.c or SDKVerification.ino : oneM2M API 전체를 검증한다.

  • ThingPlug_oneM2M_SDK.c or ThingPlug_oneM2M_SDK.ino : 좀 더 실질적인 사용예제로 등록작업 위주로 되어있다.

    • MA (미들웨어의 ManagementAgent 역할)
    • SRA (미들웨어의 SensorManagementAgent 역할)
    • SMA (미들웨어의 ServiceReadyAgent 역할)
  • MA

    • 디바이스 등록부터 해지까지 다음 Sequence Diagram 구조로 동작한다.
  • SRA & SMA

Supported Devices

지원 가능한 디바이스별 자세한 내용은 다음과 같다.

Copyright (c) 2017 SK Telecom Co., Ltd. All Rights Reserved. Distributed under Apache License Version 2.0.