Handles inbound APRS-IS messages and enqueues JS8 relays.
More...
#include <AprsInboundRelay.h>
|
| void | onMessageReceived (QString from, QString to, QString message, QString messageId) |
| | Process an APRS-IS message for relay.
|
Handles inbound APRS-IS messages and enqueues JS8 relays.
◆ AckFn
Initial value:
std::function<void(QString const &fromCall, QString const &toCall,
QString const &messageId)>
Callback for APRS message ACKs.
- Parameters
-
| fromCall | Source callsign for the ACK. |
| toCall | Destination callsign being acknowledged. |
| messageId | APRS message identifier to acknowledge. |
◆ CallActivityLookup
| using AprsInboundRelay::CallActivityLookup |
Initial value:
Lightweight lookup info for the heard list.
Definition AprsInboundRelay.h:27
◆ NoticeFn
| using AprsInboundRelay::NoticeFn |
Initial value:
std::function<void(QDateTime const &utc, QString const &text)>
◆ AprsInboundRelay()
| AprsInboundRelay::AprsInboundRelay |
( |
Configuration const * | config, |
|
|
CallActivityLookup | callLookup, |
|
|
NoticeFn | noticeFn, |
|
|
EnqueueFn | enqueueFn, |
|
|
AckFn | ackFn, |
|
|
QObject * | parent = nullptr ) |
Construct a new AprsInboundRelay handler.
- Parameters
-
| config | Configuration instance for enable/aging checks. |
| callLookup | Callback to check heard list activity. |
| noticeFn | Callback to post UI notices. |
| enqueueFn | Callback to enqueue relay messages for transmit. |
| ackFn | Callback to emit APRS message ACKs. |
| parent | QObject parent. |
| config | Configuration instance for enable/aging checks. |
| callLookup | Callback to check heard list activity. |
| noticeFn | Callback to post UI notices. |
| enqueueFn | Callback to enqueue relay messages for transmit. |
| parent | QObject parent. |
◆ onMessageReceived
| void AprsInboundRelay::onMessageReceived |
( |
QString | from, |
|
|
QString | to, |
|
|
QString | message, |
|
|
QString | messageId ) |
|
slot |
Process an APRS-IS message for relay.
- Parameters
-
| from | APRS sender callsign. |
| to | APRS destination callsign. |
| message | APRS message payload (may include checksum). |
| messageId | APRS message identifier (if present). |
| from | APRS sender callsign. |
| to | APRS destination callsign. |
| message | APRS message payload (may include checksum). |
The documentation for this class was generated from the following files: