Closed grutabow closed 7 years ago
Add stop_udp() and stop_dtls() API to allow restarting sockets.
In our scenario, restarting gen_coap is a mandatory action. But "application:stop(gen_coap)" does not work. So stop_udp() and stop_dtls() are added.
Is there any way to terminate all children under coap_channel_sup_sup?
Looks good, thanks!
Add stop_udp() and stop_dtls() API to allow restarting sockets.
In our scenario, restarting gen_coap is a mandatory action. But "application:stop(gen_coap)" does not work. So stop_udp() and stop_dtls() are added.
Is there any way to terminate all children under coap_channel_sup_sup?