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

Issues working with Interactive Pyaci

Hello,

I am trying to work on Provisioning example using serial example given along with SDK. I am using Mesh SDK v 2.2.0, and SES for building. The link for the example is http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.1.1%2Fmd_scripts_interactive_pyaci_doc_demo_loopback.html. And the example is Interactive Mesh Provisioning and Configuration.

I am running python script(Interactive PyAci) on my laptop, along with 2 NRF52840 DK connected to it. One board running Light Server on it, and the other one running a serial example.

But i am stuck while binding the appkey to the model. Till then all other steps executed properly. Below is the step where i am stuck right now.

In  [12]: cc.model_app_bind(db.nodes[0].unicast_address, 0, mt.ModelId(0, 0x59))

The error which i am getting is as shown below.

In [35]: 2018-12-11 23:54:13,993 - INFO - COM6: Success
2018-12-11 23:54:14,042 - INFO - COM6.ConfigurationClient: Model app bind status: AccessStatus.INVALID_MODEL

And also my database file looks like this.

In [16]: 2018-12-11 23:33:43,530 - INFO - COM6: Success
2018-12-11 23:33:43,632 - INFO - COM6.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"
}
]
}
]
}

Please let me know where i am going wrong or what exactly the issue is.

Regards,
Subrahmanya
Parents Reply Children
No Data
Related