Hi Nordic Team
Starting Point:
Provisioning of dimming server is done with code from the PB Remote provisioner, working so far.
Publish of model to group is acived similar to the PB remote model print shows publishing of mesh telegram also working.
// add dimming server publish to group
ERROR_CHECK(dsm_appkey_add(0, m_netkey_handle, appkey, &m_appkey_handle));
ERROR_CHECK(dsm_address_publish_add(PUBLISH_GROUP_DIMMING, &m_Level_address_handle));
ERROR_CHECK(access_model_application_bind(m_level_server_0.server.model_handle, m_appkey_handle));
ERROR_CHECK(access_model_publish_address_set(m_level_server_0.server.model_handle, m_Level_address_handle));
ERROR_CHECK(access_model_publish_application_set(m_level_server_0.server.model_handle, m_appkey_handle));
subscribing to group i tried the following:
// add subscription of dimming server
ERROR_CHECK(dsm_address_subscription_add(PUBLISH_GROUP_DIMMING, &m_Level_address_handle));
ERROR_CHECK(access_model_subscription_add(m_level_server_0.server.model_handle, m_Level_address_handle));
Question 1:
What is missing while adding subsription?
Question 2:
Is there an example or description how to use the config_server.c properly?
thanks for give some advices