Basic work for device to basestation discovery and wrapping messages as
coap packets is done, but completely untested.