oneM2M Logo transparent 196x130

Standards for M2M and the Internet of Things

Application Registration

Light application ADN-AE1

The following request can be used for registration of ADN-AE1 with MN-CSE. Note that the access control policy Identifier (unstructured SP-relative resourceID) which is assigned to ADN-AE1 is /mn-cse/acp-805496226.

HTTP Request with XML payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+xml; ty=2
    X-M2M-RI: mncse-92345
    
    <m2m:ae xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="light_ae1">
      <api>A01.com.company.lightApp01</api>
      <rr>true</rr>
      <poa>http://192.168.0.10:9090</poa>
      <acpi>/mn-cse/acp-805496226</acpi>
    </m2m:ae>
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-92345
    Content-Location: /mn-cse/Clight_ae1
HTTP Request with JSON payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+json; ty=2
    X-M2M-RI: mncse-92345
    
    { "m2m:ae": {
        "rn": "light_ae1",
        "api": "A01.com.company.lightApp01",
        "rr": "true",
        "poa": ["http://192.168.0.10:9090"],
        "acpi": ["/mn-cse/acp-805496226"]
      }
    }
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-92345
    Content-Location: /mn-cse/Clight_ae1

 

Light application ADN-AE2

The following request can be used for registration of ADN-AE2 with MN-CSE. Note that the access control policy Identifier (unstructured SP-relative resourceID) which is assigned to ADN-AE2 is /mn-cse/acp-805496226.

HTTP Request with XML payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+xml; ty=2
    X-M2M-RI: mncse-18346
    
    <m2m:ae xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="light_ae2">
      <api>A01.com.company.lightApp02</api>
      <rr>true</rr>
      <poa>http://192.168.0.20:9090</poa>
      <acpi>/mn-cse/acp-805496226</acpi>
    </m2m:ae>
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-18346
    Content-Location: /mn-cse/Clight_ae2
HTTP Request with JSON payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+json; ty=2
    X-M2M-RI: mncse-18346
    
    { "m2m:ae": {
        "rn": "light_ae2",
        "api": "A01.com.company.lightApp02",
        "rr": "true",
        "poa": ["http://192.168.0.20:9090"],
        "acpi": ["/mn-cse/acp-805496226"]
      }
    }
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-18346
    Content-Location: /mn-cse/Clight_ae2

 

Home gateway application MN-AE

The following request can be used for registration of MN-AE with MN-CSE. Note that the access control policy Identifier (unstructured SP-relative resourceID) which is assigned to MN-AE is /mn-cse/acp-805496226.

HTTP Request with XML payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+xml; ty=2
    X-M2M-RI: mncse-19347
    
    <m2m:ae xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="gateway_ae">
      <api>A01.com.company.gatewayApp</api>
      <rr>false</rr>
      <acpi>/mn-cse/acp-805496226</acpi>
    </m2m:ae>
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-19347
    Content-Location: /mn-cse/Cgateway_ae
HTTP Request with JSON payload
    POST /home_gateway?rcn=0 HTTP/1.1
    Host: mn.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+json; ty=2
    X-M2M-RI: mncse-19347
    
    { "m2m:ae": {
        "rn": "gateway_ae",
        "api": "A01.com.company.gatewayApp",
        "rr": "false",
        "acpi": ["/mn-cse/acp-805496226"]
      }
    }
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: mncse-19347
    Content-Location: /mn-cse/Cgateway_ae

 

Smartphone application IN-AE

The following request can be used for registration of IN-AE with IN-CSE. Note that the access control policy Identifier (unstructured SP-relative resourceID) which is assigned to IN-AE is /in-cse/acp-666957710.

HTTP Request with XML payload
    POST /server?rcn=0 HTTP/1.1
    Host: in.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+xml; ty=2
    X-M2M-RI: incse-16346 
    
    <m2m:ae xmlns:m2m="http://www.onem2m.org/xml/protocols" rn="smartphone_ae">
      <api>A01.com.company.lightControlApp</api>
      <rr>false</rr>
      <acpi>/in-cse/acp-666957710</acpi>
    </m2m:ae>
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: incse-16346 
    Content-Location: /in-cse/Csmartphone_ae
HTTP Request with JSON payload
    POST /server?rcn=0 HTTP/1.1
    Host: in.provider.com:8080
    X-M2M-Origin: C
    Content-Type: application/vnd.onem2m-res+json; ty=2
    X-M2M-RI: incse-16346 
    
    { "m2m:ae": {
        "rn": "smartphone_ae",
        "api": "A01.com.company.lightControlApp",
        "rr": "false",
        "acpi": ["/in-cse/acp-666957710"]
      }
    }
HTTP Response
    HTTP/1.1 201 Created
    X-M2M-RSC: 2001
    X-M2M-RI: incse-16346 
    Content-Location: /in-cse/Csmartphone_ae
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
Listserv@list.etsi.org 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.