Loading...
Searching...
No Matches
epsim.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017-2018 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
28#ifndef NET_CORD_EPSIM_H
29#define NET_CORD_EPSIM_H
30
31#include "net/sock/udp.h"
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
40enum {
44};
45
60
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif /* NET_CORD_EPSIM_H */
int cord_epsim_state(void)
Get the status of the latest registration procedure.
int cord_epsim_register(const sock_udp_ep_t *remote)
Initiate the node registration by sending an empty CoAP POST message to the RD server's /....
@ CORD_EPSIM_ERROR
on failing to send POST request
Definition epsim.h:42
@ CORD_EPSIM_OK
all good
Definition epsim.h:41
@ CORD_EPSIM_BUSY
endpoint registration is in progress
Definition epsim.h:43
UDP sock definitions.
Common IP-based transport layer end point.
Definition sock.h:215