oneM2M Logo transparent 196x130

Standards for M2M and the Internet of Things

Industry Days Presentations

The Industry Days enable information sharing and demonstrations among oneM2M experts and other stakeholders in the M2M and IoT sectors.

You will find below the presentations from past Industry Days.

TP29 – Shenzhen, China, 24 May 2017


 
TP30 – Memphis, USA, 12 July 2017

 TP31 – Bangalore, India, 20 September 2017

Main Developer

This section proposes a guideline for application developers who want to use functionalities offered by an oneM2M service platform.

When implementing a standard, it is frequently requested from software developer community to get some tutorials describing for basic use cases, some procedures and scenarios, including diagrams, message flows, message traces samples, resource description samples, etc.. … Such document would be helpful in software development to provide overal understanding of the main functions offered by the oneM2M architecture, before going more deeply into the analysis of the oneM2M standards.

Notifications

Each time a content instance is created under a container of an ADN-AE, then a notification containing the whole created content instance is posted to the targeted subscriber i.e. ADN-AE1 or ADN-AE2, that can actuate the light with the new state received in the notification.

Post a notification to ADN-AE1

HTTP Request with XML payload
    POST / HTTP/1.1
    Host: 172.168.24.2:8080
    X-M2M-Origin: /mn-cse
    X-M2M-RI: notif-12345
    Content-Type: application/vnd.onem2m-ntfy+xml
        
    <?xml version="1.0" encoding="UTF-8"?>
    <m2m:sgn xmlns:m2m="http://www.onem2m.org/xml/protocols">
      <nev>
        <rep>
          <cin>
            <con>ON</con>
            <cnf>text/plain:0</cnf>
          </cin>
          <rss>201</rss>
        </rep>
      </nev>
      <sur>/mn-cse/sub-856593979</sur>
    </m2m:sgn>
HTTP Response
    HTTP/1.1 200 OK
    X-M2M-RSC: 2000
    X-M2M-RI: notif-12345
HTTP Request with JSON payload
    POST / HTTP/1.1
    Host: 172.168.24.2:8080
    X-M2M-Origin: /mn-cse
    X-M2M-RI: notif-12345
    Content-Type: application/vnd.onem2m-ntfy+json
        
    { "m2m:sgn": {
        "nev": {
          "rep": {
            "cin": {
              "con": "ON",
              "cnf": "text/plain:0"
            },
            "rss": "201"
          }
        },
        "sur": "/mn-cse/sub-856593979"
      }
    }
HTTP Response
    HTTP/1.1 200 OK
    X-M2M-RSC: 2000
    X-M2M-RI: notif-12345

 

Post a notification to ADN-AE2

HTTP Request with XML payload
    POST / HTTP/1.1
    Host: 172.168.24.4:8080
    X-M2M-Origin: /mn-cse
    X-M2M-RI: notif-12346
    Content-Type: application/vnd.onem2m-ntfy+xml
        
    <?xml version="1.0" encoding="UTF-8"?>
    <m2m:sgn xmlns:m2m="http://www.onem2m.org/xml/protocols">
      <nev>
        <rep>
          <cin>
            <con>ON</con>
            <cnf>text/plain:0</cnf>
          </cin>
          <rss>201</rss>
        </rep>
      </nev>
      <sur>/mn-cse/sub-856463728</sur>
    </m2m:sgn>
HTTP Response
    HTTP/1.1 200 OK
    X-M2M-RSC: 2000
    X-M2M-RI: notif-12346
HTTP Request with JSON payload
    POST / HTTP/1.1
    Host: 172.168.24.4:8080
    X-M2M-Origin: /mn-cse
    X-M2M-RI: notif-12346
    Content-Type: application/vnd.onem2m-ntfy+json
        
    { "m2m:sgn": {
        "nev": {
          "rep": {
            "cin": {
              "con": "ON",
              "cnf": "text/plain:0"
            },
            "rss": "201"
          }
        },
        "sur": "/mn-cse/sub-856463728"
      }
    }
HTTP Response
    HTTP/1.1 200 OK
    X-M2M-RSC: 2000
    X-M2M-RI: notif-12346

 

Subscribe to oneM2M News Please enter your name and email address, then click on submit.
Alternatively, you can send an email from your preferred email application with a blank subject to
[email protected] with subscribe oneM2M_News in the message body.

Subscribe to oneM2M News

Your Name(*)
Please let us know your name.

Your Email(*)
Please let us know your email address.