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

opcode status field: 5 when run config_step_execute() at node_setup.c at NODE_SETUP_CONFIG_SUBSCRIPTION_ONOFF_SERVER case

Hi, I have run light switch example in SDK 15.2 and SDK for Mesh version 3.1.0, when I try to add new app_onoff_server_t model  to Server with my code: 

and I have modified the nrf_mesh_config_app.h in the Server with ACCESS_MODEL_COUNT (3+1) and  ACCESS_SUBSCRIPTION_LIST_COUNT (3+1) and ACCESS_ELEMENT_COUNT (1+1).

then I modified the node_setup.c in Provisioner to this:

This is my log after I config the Client success then config the Server Fail:

Do I setup wrong any step, Can someone please help me to config a Server add new model then subscribe to a group address by Provisioner.

Thank You!

Parents
  • Hi, It seem this problem was rarely to meet, because I spent much time to find the resolve but no post helpful (or my search skill not good enough -_-). But now I think my problem was OK. I have compared the Server code with the Client and then I find that I should try to modify the DSM_NONVIRTUAL_ADDR_MAX in nrf_mesh_config_app.h. Wonderful, It run. 

Reply
  • Hi, It seem this problem was rarely to meet, because I spent much time to find the resolve but no post helpful (or my search skill not good enough -_-). But now I think my problem was OK. I have compared the Server code with the Client and then I find that I should try to modify the DSM_NONVIRTUAL_ADDR_MAX in nrf_mesh_config_app.h. Wonderful, It run. 

Children
Related