nRF Connect SDK API 2.8.99
|
void coap_init | ( | int | ip_family, |
struct sockaddr * | addr ) |
#include <include/net/coap_utils.h>
Open socket and start the receiving thread.
[in] | ip_family | Network IP protocol family (AF_INET or AF_INET6). |
[in] | addr | Local address to bind for receiving data. Pass NULL pointer if no address is provided. |