globals.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 HAW Hamburg
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 
19 #ifndef GLOBALS_H
20 #define GLOBALS_H
21 
22 #include "evtimer.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
32 
40 #define GNRC_RPL_MSG_TYPE_PARENT_TIMEOUT (0x0904)
44 #define GNRC_RPL_MSG_TYPE_INSTANCE_CLEANUP (0x0905)
48 #define GNRC_RPL_MSG_TYPE_DODAG_DAO_TX (0x0906)
54 #define GNRC_RPL_PARENT_PROBE_INTERVAL (2 * MS_PER_SEC)
55 
63 #define GNRC_RPL_PARENT_UNUSED (0)
67 #define GNRC_RPL_PARENT_ACTIVE (1)
71 #define GNRC_RPL_PARENT_STALE (2)
75 #define GNRC_RPL_PARENT_TIMEOUT (GNRC_RPL_PARENT_STALE + \
76  CONFIG_GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES)
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif /* GLOBALS_H */
evtimer API definitions
evtimer_msg_t gnrc_rpl_evtimer
Event queue for msg events.
Event timer.
Definition: evtimer.h:69