Statistics for Discovery and Group Communication for Constrained Internet of Things Devices using the Constrained Application Protocol