Client for APRS communication.
More...
#include <APRS.h>
|
| APRSClient (AX25Client *ax) |
| Default constructor. More...
|
|
int16_t | begin (char symbol, bool alt=false) |
| Initialization method. More...
|
|
int16_t | sendPosition (char *destCallsign, uint8_t destSSID, char *lat, char *lon, char *msg=NULL, char *time=NULL) |
| Transmit position. More...
|
|
int16_t | sendMicE (float lat, float lon, uint16_t heading, uint16_t speed, uint8_t type, uint8_t *telem=NULL, size_t telemLen=0, char *grid=NULL, char *status=NULL, int32_t alt=RADIOLIB_APRS_MIC_E_ALTITUDE_UNUSED) |
|
int16_t | sendFrame (char *destCallsign, uint8_t destSSID, char *info) |
| Transmit generic APRS frame. More...
|
|
Client for APRS communication.
◆ APRSClient()
Default constructor.
- Parameters
-
ax | Pointer to the instance of AX25Client to be used for APRS. |
◆ begin()
int16_t APRSClient::begin |
( |
char |
symbol, |
|
|
bool |
alt = false |
|
) |
| |
Initialization method.
- Parameters
-
symbol | APRS symbol to be displayed. |
alt | Whether to use the primary (false) or alternate (true) symbol table. Defaults to primary table. |
- Returns
- Status Codes
◆ sendFrame()
int16_t APRSClient::sendFrame |
( |
char * |
destCallsign, |
|
|
uint8_t |
destSSID, |
|
|
char * |
info |
|
) |
| |
Transmit generic APRS frame.
- Parameters
-
destCallsign | Destination station callsign. |
destSSID | Destination station SSID. |
info | AX.25 info field contents. |
- Returns
- Status Codes
◆ sendPosition()
int16_t APRSClient::sendPosition |
( |
char * |
destCallsign, |
|
|
uint8_t |
destSSID, |
|
|
char * |
lat, |
|
|
char * |
lon, |
|
|
char * |
msg = NULL , |
|
|
char * |
time = NULL |
|
) |
| |
Transmit position.
- Parameters
-
destCallsign | Destination station callsign. |
destSSID | Destination station SSID. |
lat | Latitude as a null-terminated string. |
long | Longitude as a null-terminated string. |
msg | Message to be transmitted. Defaults to NULL (no message). |
msg | Position timestamp. Defaults to NULL (no timestamp). |
- Returns
- Status Codes
The documentation for this class was generated from the following files:
- src/protocols/APRS/APRS.h
- src/protocols/APRS/APRS.cpp