This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

The field meaning about composition data.

Dear friends,

I flashed a mesh serial example and fetched the Composition Datacomposition data by composition_data_get(), as below code:

In [47]: cc.composition_data_get()

In [48]: 2021-05-12 15:19:21,412 - INFO - COM4: Success
2021-05-12 15:19:21,508 - INFO - COM4.ConfigurationClient: Received composition data (page 0x00): {
  "cid": "0059",
  "pid": "0000",
  "vid": "0000",
  "crpl": 40,
  "features": {
    "relay": 0,
    "proxy": 2,
    "friend": 2,
    "low_power": 2
  },
  "elements": [
    {
      "index": 0,
      "location": "0000",
      "models": [
        {
          "modelId": "0000"
        },
        {
          "modelId": "0002"
        },
        {
          "modelId": "1000"
        }
      ]
    }
  ]
}
2021-05-12 15:19:21,516 - INFO - COM4.ConfigurationClient: Received composition data (page 0x00): {
  "cid": "0059",
  "pid": "0000",
  "vid": "0000",
  "crpl": 40,
  "features": {
    "relay": 0,
    "proxy": 2,
    "friend": 2,
    "low_power": 2
  },
  "elements": [
    {
      "index": 0,
      "location": "0000",
      "models": [
        {
          "modelId": "0000"
        },
        {
          "modelId": "0002"
        },
        {
          "modelId": "1000"
        }
      ]
    }
  ]
}
In [48]:

I wonder the meaning about the json key,for example,"cid", "pid", "vid","crpl",  Could you give me some advices, thank you in advance.

Parents Reply Children
No Data
Related