ud3tn/include/agents/application_agent.h
Felix Walter 7e810fa4c4 AAPv1: Set the BDM auth. flag if remote config is allowed
This keeps AAPv1 compatible for configuring our BDMs if we set the
additional flag.

Signed-off-by: Felix Walter <felix.walter@d3tn.com>
2024-06-26 13:32:23 +02:00

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 */