Presentation is loading. Please wait.

Presentation is loading. Please wait.

Response Status Codes Concepts for oneM2M Group Name: WG3 Source: Philip Jacobs, Cisco, Meeting Date: 2014-05-22 Agenda Item: TS-0004.

Similar presentations


Presentation on theme: "Response Status Codes Concepts for oneM2M Group Name: WG3 Source: Philip Jacobs, Cisco, Meeting Date: 2014-05-22 Agenda Item: TS-0004."— Presentation transcript:

1 Response Status Codes Concepts for oneM2M Group Name: WG3 Source: Philip Jacobs, Cisco, phjacobs@cisco.com Meeting Date: 2014-05-22 Agenda Item: TS-0004 contribution PRO-2014-0208-Response_Status_Codes_Concepts

2 Response Code - Basic Ranges rs: response code: This parameter indicates whether the operation was successful, unsuccessful or is an acknowledgement Propose first numeric field of multi-field response code is 0000-9999 (constrained integer type) 0000-vvvv indicates successful operation wwww-xxxx indicates unsuccessful operation yyyy-zzzz indicates acknowledgement © 2014 oneM2M Partners PRO-2014-0208-Response_Status_Codes_Concepts 2

3 Response Code – Multi-Field Many response codes expected to only need encoded numeric field e.g. ACKs Some response codes may have additional fields for detailed parameters which are not encoded in response codes e.g. version Some successful response codes expected to have additional fields regarding Warnings Many unsuccessful response codes will have additional fields e.g. List of Request parameter names not supported PRO-2014-0208-Response_Status_Codes_Concepts

4 Mcc vs Mca Response Codes Many response codes will be used at the service level which are not exposed to AEs. – External Protocol/Device management related – Transport Protocol related AE response codes needed per AE Requests only – ROA and reserved numeric field ranges for SOA Plus other reserved numeric field ranges for future – Mcn and Mcc’ – Future releases – Additional protocols – Vendor extensions PRO-2014-0208-Response_Status_Codes_Concepts

5 Response Code – Basic Format Encoded number, oneM2M version, argument1, …, argumentN (TS-0004 data type: constrained integer, list of strings) Use “argument” used since we already use “parameters” and “attributes” All fields mandatory dependent upon encoded number Not included – Support for multiple response codes I.E. only first error/warning detected per validation procedures – Selection mechanism of lite vs. detailed response code Optimizations may be included in subsequent releases – Human readable description – Support for ARC TS “cn may be present in a Response to provide more error information” – Support for ARC TS “cs: status codes (e.g., authorization timeout, etc.).” Encoding of response codes is FFS, new TS-0004 clause and other stage 3 TS’s PRO-2014-0208-Response_Status_Codes_Concepts


Download ppt "Response Status Codes Concepts for oneM2M Group Name: WG3 Source: Philip Jacobs, Cisco, Meeting Date: 2014-05-22 Agenda Item: TS-0004."

Similar presentations


Ads by Google