51#ifdef TSCH_LOG_CONF_PER_SLOT
52#define TSCH_LOG_PER_SLOT TSCH_LOG_CONF_PER_SLOT
55#define TSCH_LOG_PER_SLOT (LOG_CONF_LEVEL_MAC >= LOG_LEVEL_DBG)
59#ifdef TSCH_LOG_CONF_QUEUE_LEN
60#define TSCH_LOG_QUEUE_LEN TSCH_LOG_CONF_QUEUE_LEN
62#define TSCH_LOG_QUEUE_LEN 8
65#if (TSCH_LOG_PER_SLOT == 0)
67#define tsch_log_init()
68#define tsch_log_process_pending()
69#define TSCH_LOG_ADD(log_type, init_code)
85 uint8_t channel_offset;
141#define TSCH_LOG_ADD(log_type, init_code) do { \
142 struct tsch_log_t *log = tsch_log_prepare_add(); \
144 log->type = (log_type); \
void tsch_log_commit(void)
Actually add the previously prepared log.
void tsch_log_init(void)
Initialize log module.
struct tsch_log_t * tsch_log_prepare_add(void)
Prepare addition of a new log.
void tsch_log_process_pending(void)
Process pending log messages.
void tsch_log_stop(void)
Stop logging module.
Header file for the logging system.
Header file for the real-time timer module.
The ASN is an absolute slot number over 5 bytes.
An IEEE 802.15.4-2015 TSCH link (also called cell or slot)