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

client + provisioner in the same board ?? mesh SDK 2.2.0

hello 

i want to implement provisioner and client roles in the same board , how can i start initializing the models 

i have implemented the same initialization of the client in the same API of model init cb so that the  provisioner while initializing stuck and stay with all the 4 leds on 

Parents Reply Children
  • what do he mean by "you need to do configuration for the client locally"

    i tried to just add 

    m_clients.status_cb = client_status_cb;
    m_clients.set_cb = client_publish_timeout_cb;
    ERROR_CHECK(simple_message_client_init(&m_clients, 0));

    But this lead me to a mesh error 4 at 0x0002EE5D  whish is in the line of ERROR_CHECK(simple_message_client_init(&m_clients, 0));

     

  • What he means by "you need to do configuration for the client locally", is that you have to configure the client in the firmware. Mesh error 4 means no memory, have you allocated enough memory?

    I suggest you to have a look at the Mesh SDK v1.0.1, it is an old SDK but the provisioner and client was on the same board back then. The Simple OnOff model was used as well.

Related