header and include cleanups

This commit is contained in:
Kevin Matz 2021-01-04 12:50:40 -05:00
parent 2e39a01a4c
commit 073d3b7a05
15 changed files with 24 additions and 32 deletions

View File

@ -1,5 +1,5 @@
/*
acn-dmp.cpp
dmp.cpp
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -23,7 +23,6 @@
*/
#include "dmp.h"
#include "rlp.h"
namespace ACN {
namespace DMP {

View File

@ -1,5 +1,5 @@
/*
acn-dmp.h
dmp.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)

View File

@ -1,5 +1,5 @@
/*
acn-pdu.cpp
pdu.cpp
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -23,7 +23,6 @@
*/
#include "pdu.h"
#include <memory>
namespace ACN {
namespace PDU {

View File

@ -1,5 +1,5 @@
/*
acn-pdu.h
pdu.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)

View File

@ -1,5 +1,5 @@
/*
acn-rlp-udp.h
rlp-udp.cpp
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -23,7 +23,6 @@
*/
#include "rlp-udp.h"
#include "sdt-udp.h"
#include <cstring>
namespace ACN {

View File

@ -1,5 +1,5 @@
/*
acn-rlp-udp.h
rlp-udp.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)

View File

@ -1,5 +1,5 @@
/*
acn-rlp.cpp
rlp.cpp
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)

View File

@ -1,5 +1,5 @@
/*
acn-rlp.h
rlp.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)

View File

@ -1,5 +1,5 @@
/*
acn-sdt-udp.h
sdt-udp.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -46,18 +46,18 @@ struct acn_sdt_udp_ipv6_addr_t {
};
// Table 3. SDT symbolic parameters
// static const float MAK_TIMEOUT_FACTOR = 0.1;
// static const uint8_t MAK_MAX_RETRIES = 2; // (3 tries total)
// static const uint8_t AD_HOC_TIMEOUT = 200; // ms
// static const uint8_t AD_HOC_RETRIES = 2; // (3 tries total)
// static const float RECIPROCAL_TIMEOUT_FACTOR = 0.2;
// static const uint8_t MIN_EXPIRY_TIME = 2; // s
// static const float NAK_TIMEOUT_FACTOR = 0.1;
// static const uint8_t NAK_MAX_RETRIES = 2; // (3 tries total)
// static const uint8_t NAK_HOLDOFF_INTERVAL = 2; // ms
// static const uint8_t NAK_MAX_TIME = 10 * NAK_HOLDOFF_INTERVAL;
// static const uint8_t NAK_BLANKTIME = 3 * NAK_HOLDOFF_INTERVAL;
// static const uint16_t SDT_MULTICAST_PORT = 5568; // IANA registered “sdt”
static const float MAK_TIMEOUT_FACTOR = 0.1;
static const uint8_t MAK_MAX_RETRIES = 2; // (3 tries total)
static const uint8_t AD_HOC_TIMEOUT = 200; // ms
static const uint8_t AD_HOC_RETRIES = 2; // (3 tries total)
static const float RECIPROCAL_TIMEOUT_FACTOR = 0.2;
static const uint8_t MIN_EXPIRY_TIME = 2; // s
static const float NAK_TIMEOUT_FACTOR = 0.1;
static const uint8_t NAK_MAX_RETRIES = 2; // (3 tries total)
static const uint8_t NAK_HOLDOFF_INTERVAL = 2; // ms
static const uint8_t NAK_MAX_TIME = 10 * NAK_HOLDOFF_INTERVAL;
static const uint8_t NAK_BLANKTIME = 3 * NAK_HOLDOFF_INTERVAL;
static const uint16_t SDT_MULTICAST_PORT = 5568; // IANA registered “sdt”
} // UDP
} // SDT

View File

@ -1,5 +1,5 @@
/*
acn-sdt.h
sdt.h
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -24,7 +24,6 @@
#pragma once
#include <stdint.h>
#include "pdu.h"
// ANSI E1.17- 2015, Architecture for Control Networks
// Session Data Transport Protocol

View File

@ -1,5 +1,5 @@
/*
data.h
data.cpp
Copyright (c) 2020 Kevin Matz (kevin.matz@gmail.com)
@ -23,7 +23,6 @@
*/
#include "data.h"
#include "receiver.h"
namespace SACN {
namespace DATA {

View File

@ -24,7 +24,6 @@
#pragma once
#include "sacn.h"
#include "receiver.h"
namespace SACN {
namespace DATA {

View File

@ -24,7 +24,6 @@
#pragma once
#include "sacn.h"
#include "receiver.h"
namespace SACN {
namespace EXTENDED {

View File

@ -26,7 +26,7 @@
// ESP logging module
#include "esp_log.h"
static const char* TAG = "ESPsACN";
static const char* TAG = "EspReceiver";
using namespace SACN;

View File

@ -24,7 +24,6 @@
#pragma once
#include <stdint.h>
#include <unordered_map>
#include "../acn/acn.h"
// E1.31 Lightweight streaming protocol for transport of DMX512 using ACN