Please Help,
When I'm trying to test the network on the RTT I found error msg: "publication is not configured for client[0]"
how can I solve this problem?
Please Help,
When I'm trying to test the network on the RTT I found error msg: "publication is not configured for client[0]"
how can I solve this problem?
SDK for mesh 3.0.0
Light switch
nRF mobile app
I'm using a beacon based on nRF52832 chip
Thanks. If you are using the Light Switch example, I assume that you are seeing the error message when you are pressing the button on the light_switch_client?
You are seeing this because you most likely haven't configured the publication for the client. In order for the client to send i.e an On/Off command to a unicast/group address, you need to configure the client using the nRF Mesh mobile app to add which address the client should publish it's message to etc.
There is an explanatory video on how to do that here:
Best regards,
Joakim Jakobsen
Thanks. If you are using the Light Switch example, I assume that you are seeing the error message when you are pressing the button on the light_switch_client?
You are seeing this because you most likely haven't configured the publication for the client. In order for the client to send i.e an On/Off command to a unicast/group address, you need to configure the client using the nRF Mesh mobile app to add which address the client should publish it's message to etc.
There is an explanatory video on how to do that here:
Best regards,
Joakim Jakobsen
As you can see from the Light Switch Client code:
main.c, line 260:
case NRF_ERROR_INVALID_PARAM: /* Publication not enabled for this client. One (or more) of the following is wrong: * - An application key is missing, or there is no application key bound to the model * - The client does not have its publication state set * * It is the provisioner that adds an application key, binds it to the model and sets * the model's publication state. */ __LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Publication not configured for client %u\n", button_number); break;