I would like to advertise for a short while upon node power up so that I have the ability to do OTA for my mesh nodes using the EFRConnect app. I currently do this by enabling the proxy mode. This (OTA) works fine. What I have noticed is very flaky operation when I have multiple nodes running (even after the proxy mode is turned off after 1 minute). I'm using the Mesh switch/light demo with self provisioning added and relay mode enabled. About half the time either the switch node or the light nodes lock up. Most of the time power cycling the switch OR the light node will resume correct operation for the network. Is there any particular reason why I can't use proxy as a means to access OTA?
Note: I am not calling gecko_cmd_mesh_node_start_unprov_beaconing(PB_ADV | PB_GATT); because I self provision.
I just enable/disable proxy mode:
proxy_enable = 1; //or 0 to disable later
gecko_cmd_mesh_test_set_local_config(mesh_node_gatt_proxy, NET_KEY_IDX, 1, &proxy_enable);
I don't think it's normal that the device become blocked when you connect to it. I didn't see any reason that blocks you by using the proxy advertising to connect to the device.
However, I would suggest you to add your own advertising set and manage it all by your application.