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

Invalid Model when trying to bind app key to Level model

Hi

When I select the Generic Level server model and try to bind the app key I get an invalid model Error. I am using the nRF Mesh android app.

This might be relevant or no but i see this in the debug terminal when provisioning

config_server.c,  629, dsm_appkey_add(appkey_handle:0 appkey_index:0)

I have two elements 0x0002 has 3 models

Configuration server

Health server

Generic on Off server

element  0x0003 has my model Generic Level server

My settings is as follow :

ACCESS_MODEL_COUNT (6)

ACCESS_ELEMENT_COUNT (3)

Thanks for any help !

Parents Reply
  • Hi,

    I am using version v3.2.0. I used the light switch server as my starting template and I have added a level model to it. I did the same with the client and it is working fine and can subscribe to level model. I have made a mod to ACCESS_SUBSCRIPTION_LIST_COUNT is a well. I have played around with various values and at the moment I have it as follow ACCESS_MODEL_COUNT (6), ACCESS_ELEMENT_COUNT (4), ACCESS_SUBSCRIPTION_LIST_COUNT (ACCESS_MODEL_COUNT+2)

Children
No Data
Related