mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
This keeps AAPv1 compatible for configuring our BDMs if we set the additional flag. Signed-off-by: Felix Walter <felix.walter@d3tn.com>
27 lines
813 B
C
27 lines
813 B
C
// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
|
|
#ifndef APPLICATIONAGENT_H_INCLUDED
|
|
#define APPLICATIONAGENT_H_INCLUDED
|
|
|
|
#include "ud3tn/bundle_processor.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#define APPLICATION_AGENT_TASK_PRIORITY 2
|
|
|
|
// Listen-backlog for the app. agent.
|
|
#ifndef APPLICATION_AGENT_BACKLOG
|
|
#define APPLICATION_AGENT_BACKLOG 2
|
|
#endif // APPLICATION_AGENT_BACKLOG
|
|
|
|
#ifndef APPLICATION_AGENT_RX_BUFFER_SIZE
|
|
#define APPLICATION_AGENT_RX_BUFFER_SIZE 512
|
|
#endif // APPLICATION_AGENT_RX_BUFFER_SIZE
|
|
|
|
struct application_agent_config *application_agent_setup(
|
|
const struct bundle_agent_interface *bundle_agent_interface,
|
|
const char *socket_path,
|
|
const char *node, const char *service,
|
|
const uint8_t bp_version, uint64_t lifetime_ms,
|
|
const bool override_bdm_auth);
|
|
|
|
#endif /* APPLICATIONAGENT_H_INCLUDED */
|