Hello,

From a stack perspective, you just need to provide the right IDD encoded as 
CBOR, and dump those bytes into the array in server_introspection.dat.h (or
supply it via the API as I last conveyed). Any other matters beyond this are 
outside the purview of the stack.

Are you planning to certify your Client?
If so, would you please direct your request to the OCF Certification Workgroup 
reflector for further assistance?

Thanks,
-Kishen.

--
Kishen Maloor
Intel Corporation

From: <iotivity-dev@lists.iotivity.org> on behalf of 
"kimjeong...@vinetech.co.kr" <kimjeong...@vinetech.co.kr>
Date: Tuesday, November 19, 2019 at 2:58 AM
To: "iotivity-dev@lists.iotivity.org" <iotivity-dev@lists.iotivity.org>
Subject: Re: [dev] What should I implement for client to pass CT1.2.6 and 
CT1.3.2.2

Hello, again.

I changed server_introspection.dat.h referenced client json files in 
DeviceBuilder/test/ref/ctt_client/ , 
DeviceBuilder/src/introspection-client-iotivity-ioc-p.json and reversed json 
file from include/server_introspection.dat.h.

But still I can have a problem in CT1.3.2.2 as last post. (CTT 1903.0.0 I 
reinstalled it several times).

Introspection_CT1.3.2.2.py line 214:
swagger.Definitions.RawObject.ChildrenTokens is None.
swagger.Definitions.RawObject is not None.

Would you advice what I am missing?

I printed it  swagger.Definitions.RawObject:

Definitions : {
  "Platform": {
    "properties": {
      "id": {
        "anyOf": [
          {
            "maxLength": 64,
            "type": "string"
          },
          {
            "description": "",
            "pattern": 
"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
            "type": "string"
          }
        ],
        "description": "",
        "readOnly": true
      },
      "if": {
        "description": "",
        "items": {
          "enum": [
            "oic.if.baseline",
            "oic.if.r"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "minItems": 2,
        "readOnly": true,
        "type": "array",
        "uniqueItems": true
      },
      "mndt": {
        "allOf": [
          {
            "description": "",
            "pattern": 
"^([0-9]{4})-(1[0-2]|0[1-9])-(3[0-1]|2[0-9]|1[0-9]|0[1-9])$",
            "type": "string"
          },
          {
            "description": "",
            "readOnly": true
          }
        ]
      },
      "mnfv": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "mnhw": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "mnml": {
        "description": "",
        "format": "uri",
        "maxLength": 256,
        "readOnly": true,
        "type": "string"
      },
      "mnmn": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "mnmo": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "mnos": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "mnpv": {
        "description": "",
        "maxLength": 64,
        "readOnly": true,
        "type": "string"
      },
      "pi": {
        "allOf": [
          {
            "description": "",
            "pattern": 
"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
            "type": "string"
          },
          {
            "description": "",
            "readOnly": true
          }
        ]
      },
      "rt": {
        "default": [
          "oic.wk.p"
        ],
        "description": "",
        "items": {
          "enum": [
            "oic.wk.p"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "minItems": 1,
        "readOnly": true,
        "type": "array"
      },
      "st": {
        "description": "",
        "format": "date-time",
        "readOnly": true,
        "type": "string"
      }
    },
    "required": [
      "pi",
      "mnmn"
    ],
    "type": "object"
  }
}

Thanks.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10295): 
https://lists.iotivity.org/g/iotivity-dev/message/10295
Mute This Topic: https://lists.iotivity.org/mt/57444364/21656
Group Owner: iotivity-dev+ow...@lists.iotivity.org
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to