Enabler Test Specification for Lightweight M2M

Enabler Test Specification for Lightweight M2M
Draft Version 1.0.1 – 06 Jun 2017
Open Mobile Alliance
OMA-ETS-LightweightM2M-V1_0_1-20170606-D

Use of this document is subject to all of the terms and conditions of the Use Agreement located at http://www.openmobilealliance.org/UseAgreement.html.

Unless this document is clearly designated as an approved specification, this document is a work in process, is not an approved Open Mobile Alliance™ specification, and is subject to revision or removal without notice.

You may use this document or any part of the document for internal or educational purposes only, provided you do not modify, edit or take out of context the information in this document in any manner. Information contained in this document may be used, at your sole risk, for any purposes. You may not use this document in any other manner without the prior written permission of the Open Mobile Alliance. The Open Mobile Alliance authorizes you to copy this document, provided that you retain all copyright and other proprietary notices contained in the original materials on any copies of the materials and that you comply strictly with these terms. This copyright permission does not constitute an endorsement of the products or services. The Open Mobile Alliance assumes no responsibility for errors or omissions in this document.

Each Open Mobile Alliance member has agreed to use reasonable endeavors to inform the Open Mobile Alliance in a timely manner of Essential IPR as it becomes aware that the Essential IPR is related to the prepared or published specification. However, the members do not have an obligation to conduct IPR searches. The declared Essential IPR is publicly available to members and non-members of the Open Mobile Alliance and may be found on the “OMA IPR Declarations” list at http://www.openmobilealliance.org/ipr.html. The Open Mobile Alliance has not conducted an independent IPR review of this document and the information contained herein, and makes no representations or warranties regarding third party IPR, including without limitation patents, copyrights or trade secret rights. This document may contain inventions for which you must obtain licenses from third parties before making, using or selling the inventions. Defined terms above are set forth in the schedule to the Open Mobile Alliance Application Form.

NO REPRESENTATIONS OR WARRANTIES (WHETHER EXPRESS OR IMPLIED) ARE MADE BY THE OPEN MOBILE ALLIANCE OR ANY OPEN MOBILE ALLIANCE MEMBER OR ITS AFFILIATES REGARDING ANY OF THE IPR’S REPRESENTED ON THE “OMA IPR DECLARATIONS” LIST, INCLUDING, BUT NOT LIMITED TO THE ACCURACY, COMPLETENESS, VALIDITY OR RELEVANCE OF THE INFORMATION OR WHETHER OR NOT SUCH RIGHTS ARE ESSENTIAL OR NON-ESSENTIAL.

THE OPEN MOBILE ALLIANCE IS NOT LIABLE FOR AND HEREBY DISCLAIMS ANY DIRECT, INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF DOCUMENTS AND THE INFORMATION CONTAINED IN THE DOCUMENTS.

© 2017 Open Mobile Alliance All Rights Reserved.Used with the permission of the Open Mobile Alliance under the terms set forth above.

Contents

1.Scope 6

2.References 7

2.1Normative References 7

2.2Informative References 7

3.Terminology and Conventions 8

3.1Conventions 8

3.2Definitions 8

3.3Abbreviations 9

4.Introduction 10

5.LightweightM2M Conformance Test Cases 11

6.LightweightM2M Interoperability Test Cases 12

6.1LwM2M Core Specification Test cases [0-999] 12

6.1.1 Bootstrap Interface: [0-99] 12

6.1.2 Registration Interface [100-199] 12

6.1.2.1LightweightM2M-1.0-int-101 – Initial Registration 12

6.1.2.2LightweightM2M-1.0-int-102 – Registration Update 12

6.1.2.3LightweightM2M-1.0-int-103 – Deregistration 13

6.1.2.4LightweightM2M-1.0-int-104 – Registration Update Trigger 14

6.1.3 Device management & Service Enablement Interface [200-299] 15

6.1.3.1LightweightM2M-1.0-int-201 – Querying basic information in Plain Text format 15

6.1.3.2LightweightM2M-1.0-int-202 – Querying basic information in Opaque format 15

6.1.3.3LightweightM2M-1.0-int-203 – Querying basic information in TLV format 16

6.1.3.4LightweightM2M-1.0-int-204 – Querying basic information in JSON format 17

6.1.3.5LightweightM2M-1.0-int-205 – Setting basic information in Plain Text format 18

6.1.3.6LightweightM2M-1.0-int-210 – Setting basic information in Opaque format 18

6.1.3.7LightweightM2M-1.0-int-215 – Setting basic information in TLV format 18

6.1.3.8LightweightM2M-1.0-int-220 – Setting basic information in JSON format 19

6.1.3.9LightweightM2M-1.0-int-241 – Executable Resource: Rebooting the device 21

6.1.3.10LightweightM2M-1.0-int-260 – Discover Command 21

6.1.3.11LightweightM2M-1.0-int-270 – Create Object Instance 22

6.1.3.12LightweightM2M-1.0-int-271 – Create Multiple Resource Instance 22

6.1.3.13LightweightM2M-1.0-int-290 – Delete Object Instance 22

6.1.4 Information Reporting Interface [300-399] 23

6.1.4.1LightweightM2M-1.0-int-301 – Observation and Notification of parameter values 23

6.1.4.2LightweightM2M-1.0-int-302 – Cancel Observations using Reset Operation 24

6.1.4.3LightweightM2M-1.0-int-303 – Cancel observations using Observe with Cancel parameter 24

6.1.5 Security [400-499] 26

6.1.5.1LightweightM2M-1.0-int-401 – UDP Channel Security – Pre-shared Key Mode 26

6.1.6 Core Specific Objects Test cases [500-999] 26

6.1.6.1Security Object (ID 0) [500-549] 26

6.1.6.2Server Object (ID 1) [550-599] 26

6.1.6.2.1 LightweightM2M-1.0-int-551 – Access Check to the Resources 27

6.1.6.2.2 LightweightM2M-1.0-int-555 – Check of the Disable (De-Registration) capability 27

6.1.6.2.3 LightweightM2M-1.0-int-556 – Check of the Update Registration capability 27

6.1.6.2.4 LightweightM2M-1.0-int-560 – Delayed Report Notification 27

6.1.6.2.5 LightweightM2M-1.0-int-565 – Create Object Instance 27

6.1.6.2.6 LightweightM2M-1.0-int-566 – Delete Object Instance 27

6.1.6.3Access Control Object (ID 2) [600-649] 27

6.1.6.4LwM2M Device Object (ID 3) [650-699] 27

6.1.6.4.1 LightweightM2M-1.0-int-651 – Check Access to the Resources 28

6.1.6.4.2 LightweightM2M-1.0-int-652 – Querying the firmware version from the client 29

6.1.6.4.3 LightweightM2M-1.0-int-655 – Check of the “Reboot” capability 29

6.1.6.4.4 LightweightM2M-1.0-int-656 – Check of the “Factory Reset” capability 29

6.1.6.4.5 LightweightM2M-1.0-int-657 – Check of the “Error Code” functionality 30

6.1.6.4.6 LightweightM2M-1.0-int-660 – Basic Observation and notification of Device Object Resources 30

6.1.6.4.7 LightweightM2M-1.0-int-661 – Extended Observation and notification of Device Object Resources 30

6.1.6.4.8 LightweightM2M-1.0-int-670 – Create Multiple Resource Instances 30

6.1.6.4.9 LightweightM2M-1.0-int-680 – Create Object Instance 30

6.1.6.4.10 LightweightM2M-1.0-int-685 – Delete Object Instance 30

6.1.6.5LwM2M Connectivity Monitoring (ID:4) [700-749] 31

6.1.6.5.1 LightweightM2M-1.0-int-701 – Querying the readable resources of object 31

6.1.6.5.2 LightweightM2M-1.0-int-705 – Setting the writable resources 31

6.1.6.5.3 LightweightM2M-1.0-int-710 – Basic Observation and notification on Connectivity Monitoring Object Resources 32

6.1.6.5.4 LightweightM2M-1.0-int-711 – Extended Observation and notification of Connectivity Monitoring Object Resources 32

6.1.6.5.5 LightweightM2M-1.0-int-720 – Create Multiple Resource Instances 32

6.1.6.5.6 LightweightM2M-1.0-int-730 – Create Object Instance 32

6.1.6.5.7 LightweightM2M-1.0-int-735 – Delete Object Instance 32

6.1.6.6Firmware Update Object (ID 5) [750-799] 34

6.1.6.6.1 LightweightM2M-1.0-int-751 – Querying the readable resources 34

6.1.6.6.2 LightweightM2M-1.0-int-755 – Setting the writable Resource Package 34

6.1.6.6.3 LightweightM2M-1.0-int-756 – Setting the writable Resource Package URI 35

6.1.6.6.4 LightweightM2M-1.0-int-760 –Basic Observation and notification on Firmware Update Object Resources 36

6.1.6.6.5 LightweightM2M-1.0-int-770 – Successful Firmware update (via COAP) 37

6.1.6.6.6 LightweightM2M-1.0-int-771 – Successful Firmware update (via alternative mechanism) 38

6.1.6.6.7 LightweightM2M-1.0-int-772 – Error Case 1: firmware installation without downloaded package 40

6.1.6.6.8 LightweightM2M-1.0-int-773 – Error Case 2: shortage of storage memory 41

6.1.6.6.9 LightweightM2M-1.0-int-774 – Error Case 3: out of memory 42

6.1.6.6.10 LightweightM2M-1.0-int-775 – Error Case 4: Connection lost during download (package URI) 43

6.1.6.6.11 LightweightM2M-1.0-int-776 – Error Case 5: Package Integrity check failure 44

6.1.6.6.12 LightweightM2M-1.0-int-777 – Error Case 6: unsupported package type 45

6.1.6.6.13 LightweightM2M-1.0-int-778 – Error Case 7: invalid URI (package URI) 46

6.1.6.6.14 LightweightM2M-1.0-int-779 – Error Case 8: Unsuccessful Firmware Update 47

6.1.6.6.15 LightweightM2M-1.0-int-780 – Error Case 9: Unsupported protocol 48

6.1.6.7LwM2M Location Object (ID:6) [800-849] 49

6.1.6.7.1 LightweightM2M-1.0-int-801 – Querying the readable resources of object 49

6.1.6.7.2 LightweightM2M-1.0-int-805 – Setting the writable resources 49

6.1.6.7.3 LightweightM2M-1.0-int-810 – Basic Observation and notification on Location Object Instance 49

6.1.6.7.4 LightweightM2M-1.0-int-811 – Extended Observation and notification of Location Object Instance 50

6.1.6.7.5 LightweightM2M-1.0-int-820 – Create Multiple Resource Instances 50

6.1.6.7.6 LightweightM2M-1.0-int-830 – Create Object Instance 50

6.1.6.7.7 LightweightM2M-1.0-int-835 – Delete Object Instance 50

6.1.6.8Connectivity Statistics (ID 7) [900-949] 51

6.1.6.8.1 LightweightM2M-1.0-int-901 – Querying a Data Collection from Connectivity Object Instance 51

6.1.6.8.2 LightweightM2M-1.0-int-905 – Setting the writable resources 51

6.1.6.8.3 LightweightM2M-1.0-int-910 – Basic Observation and notification on Connectivity Monitoring Object Instance 53

6.1.6.8.4 LightweightM2M-1.0-int-911 – Extended Observation and notification of Connectivity Statistics Object Instance 54

6.1.6.8.5 LightweightM2M-1.0-int-920 – Create Multiple Resource Instances 54

6.1.6.8.6 LightweightM2M-1.0-int-930 – Create Object Instance 54

6.1.6.8.7 LightweightM2M-1.0-int-935 – Delete Object Instance 54

6.2LWM2M Additional Objects Test cases [1000-1999] 54

6.2.1 Lock and Wipe Object (ID 8) [1000-1099] 54

6.2.2 Software Management Object (ID 9) [1100-1199] 54

6.2.3 Connectivity Management Objects (ID 10, 11, 12, 13) [1200-1499] 55

6.2.3.1Cellular Network Connectivity ID:10 [1200-1249] 55

6.2.3.2APN connection profile ID:11 [1250-1299] 55

6.2.3.2.1 LightweightM2M-CONMGMT-1.0-int-1250 – APN configuration 55

6.2.3.2.2 WLAN Connectivity ID:12 [1300-1349] 56

6.2.3.2.3 Bearer Selection ID:13 [1350-1399] 56

6.2.4 Device Capability Management Object (ID 15) [1500-1599] 57

Appendix A.Change History (Informative) 58

A.1Approved Version History 58

A.2Draft/Candidate Version 1.0/1.0.1 History 58

Appendix B.Additional Information 60

B.1Example of Test Configuration and Setup 60

Appendix C.LwM2M Configurations 61

C.1Basic Configuration 1 61

C.2Basic Configuration 2 62

C.3Configuration 3 63

C.4Configuration 4 64

C.5Configuration 5 65

C.6Configuration 6 66

C.7Configuration 7 67

C.8Configuration 8 68

C.9Configuration 9 69

C.10 Basic Connectivity Management Configuration 10 70

results matching ""

    No results matching ""