8.10 NoDN Interworking
8.10.1 Retrieve data from a NoDN device
Interoperability Test Description
| Identifier: | TD_M2M_NH_166 |
| Objective: | NoDN IPE reads data from a NoDN device and updates Registrar CSE with the read data |
| Configuration: | M2M_CFG_10 |
| References: |
Pre-test conditions:
AE1 is running in NoDN IPE
AE1 has created an application resource <AE> on registrar CSE
AE1 has created a <flexContainer> representing NoDN DeviceClass
AE1 has created a <flexContainer> for the ModuleClass as a child of the DeviceClass representing the NoDN device
AE2 has created an application resource <AE> on registrar CSE
AE2 has created a <subscription> resource as a child of the ModuleClass
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE1 sends a request to retrieve a <flexContainer> resource for the ModuleClass | |
| 2 | Mca |
PRO Check Primitive | • op = 2 (Retrieve) • to = {CSEBaseName}/URI of ModuleClass • fr = AE1-ID • rqi = (token-string) |
| 3 | Mca |
PRO Check Primitive | • pc = Serialized representation of <flexContainer> resource • rsc = 2000 (OK) |
| 4 | IOP Check | AE1 indicates successful operation | |
| 5 | Stimulus | NoDN IPE retrieves data from NoDN device | |
| 6 | IOP Check | Check if possible that NoDN IPE has successfully retrieved data from NoDN device | |
| 7 | Stimulus | AE1 sends a request to update a <flexContainer> resource for the ModuleClass | |
| 8 | Mca | PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of the ModuleClass • fr = AE1-ID • rqi = (token-string) • pc = Serialized representation of the updated ModuleClass |
| 9 | Mca | PRO Check Primitive | • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of <flexContainer> resource |
| 10 | IOP Check | Check if possible that the <flexContainer> resource for the ModuleClass is updated in Registrar CSE. Registrar CSE sends a notification to AE2 | |
| 11 | Mca |
PRO Check Primitive | • op = 5 (Notify) • to = AE2-ID • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notification data object |
| 12 | Mca | PRO Check Primitive | AE2 responds to notification • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 13 | IOP Check | AE2 indicates notification received |
8.10.2 Write data to a NoDN device
Interoperability Test Description
| Identifier: | TD_M2M_NH_167 |
| Objective: | AE writes data into a NoDN device by updating <flexContainer> resource in Registrar CSE |
| Configuration: | M2M_CFG_10 |
| References: |
Pre-test conditions:
AE1 is running in NoDN IPE
AE1 has created an application resource <AE> on registrar CSE
AE1 has created a <flexContainer> representing the NoDN DeviceClass
AE1 has created a <flexContainer> for the ModuleClass as a child of the DeviceClass representing the NoDN device
AE2 has created an application resource <AE> on registrar CSE
AE2 has created a <subscription> resource as a child of the ModuleClass (notificationEventType = Blocking_Update)
| Step | RP | Type | Description |
|---|---|---|---|
| 1 | Stimulus | AE2 is requested to send a flexContainer Update Request to update any customAttribute of the ModuleClass | |
| 2 | Mca |
PRO Check Primitive | • op = 3 (Update) • to = {CSEBaseName}/URI of the ModuleClass • fr = AE-ID • rqi = (token-string) • pc = Serialized representation of the updated ModuleClass |
| 3 | IOP Check | Check that Registrar CSE sent a notification to AE1 | |
| 4 | Mca |
PRO Check Primitive | • op = 5 (Notify) • to = AE1-ID • from = Registrar CSE-ID • rqi = (token-string) • pc = Serialized representation of Notification data object |
| 5 | Stimulus | NoDN IPE sends a request(s) to write data to NoDN device | |
| 6 | IOP Check | Check if possible that NoDN IPE has successfully written data to NoDN device | |
| 7 | Stimulus | AE1 sends a response to notification to Registrar CSE | |
| 8 | Mca | PRO Check Primitive | Sent response contains: • rsc = 2000 (OK) • rqi = (token-string) same as received in request message |
| 9 | Mca | PRO Check Primitive | Registrar CSE sends a response to AE2 • rsc = 2004 (Updated) • rqi = (token-string) same as received in request message • pc = Serialized representation of the ModuleClass |
| 10 | IOP Check | AE2 indicates successful operation |