12#ifndef INFUSE_SDK_INCLUDE_INFUSE_EPACKET_FILTER_H_
13#define INFUSE_SDK_INCLUDE_INFUSE_EPACKET_FILTER_H_
15#include <zephyr/net_buf.h>
16#include <zephyr/sys/util.h>
bool epacket_gateway_forward_filter(uint8_t flags, uint8_t percent, struct net_buf *buf)
Determine whether a packet should be forwarded.
epacket_filter_flags
Definition filter.h:28
@ FILTER_FORWARD_ONLY_TDF
Only forward TDF packets.
Definition filter.h:32
@ FILTER_FORWARD_ONLY_TDF_ANNOUNCE
Only forward TDF packets that contain a TDF_ANNOUNCE reading.
Definition filter.h:36
@ FILTER_FORWARD_ONLY_DECRYPTED
Only forward packets that successfully decrypted.
Definition filter.h:30