diff --git a/_a_x25_8h_source.html b/_a_x25_8h_source.html index ab6602d3..cff38b38 100644 --- a/_a_x25_8h_source.html +++ b/_a_x25_8h_source.html @@ -240,35 +240,37 @@ $(document).ready(function(){initNavTree('_a_x25_8h_source.html',''); initResiza
309 
321  int16_t begin(const char* srcCallsign, uint8_t srcSSID = 0x00, uint8_t preambleLen = 8);
322 
-
334  int16_t transmit(const char* str, const char* destCallsign, uint8_t destSSID = 0x00);
+
334  int16_t transmit(String& str, const char* destCallsign, uint8_t destSSID = 0x00);
335 
-
343  int16_t sendFrame(AX25Frame* frame);
-
344 
-
345 #if !defined(RADIOLIB_GODMODE)
-
346  private:
-
347 #endif
-
348  friend class APRSClient;
-
349 
-
350  PhysicalLayer* _phy;
-
351  #if !defined(RADIOLIB_EXCLUDE_AFSK)
-
352  AFSKClient* _audio;
-
353  uint32_t _afskMark;
-
354  uint32_t _afskSpace;
-
355  #endif
-
356 
-
357  char _srcCallsign[RADIOLIB_AX25_MAX_CALLSIGN_LEN + 1] = {0, 0, 0, 0, 0, 0, 0};
-
358  uint8_t _srcSSID = 0;
-
359  uint16_t _preambleLen = 0;
-
360 
-
361  static uint16_t getFrameCheckSequence(uint8_t* buff, size_t len);
+
347  int16_t transmit(const char* str, const char* destCallsign, uint8_t destSSID = 0x00);
+
348 
+
356  int16_t sendFrame(AX25Frame* frame);
+
357 
+
358 #if !defined(RADIOLIB_GODMODE)
+
359  private:
+
360 #endif
+
361  friend class APRSClient;
362 
-
363  void getCallsign(char* buff);
-
364  uint8_t getSSID();
-
365 };
-
366 
-
367 #endif
-
368 
-
369 #endif
+
363  PhysicalLayer* _phy;
+
364  #if !defined(RADIOLIB_EXCLUDE_AFSK)
+
365  AFSKClient* _audio;
+
366  uint32_t _afskMark;
+
367  uint32_t _afskSpace;
+
368  #endif
+
369 
+
370  char _srcCallsign[RADIOLIB_AX25_MAX_CALLSIGN_LEN + 1] = {0, 0, 0, 0, 0, 0, 0};
+
371  uint8_t _srcSSID = 0;
+
372  uint16_t _preambleLen = 0;
+
373 
+
374  static uint16_t getFrameCheckSequence(uint8_t* buff, size_t len);
+
375 
+
376  void getCallsign(char* buff);
+
377  uint8_t getSSID();
+
378 };
+
379 
+
380 #endif
+
381 
+
382 #endif
AX25Frame::infoLen
uint16_t infoLen
Number of bytes in the information field.
Definition: AX25.h:128
@@ -281,13 +283,13 @@ $(document).ready(function(){initNavTree('_a_x25_8h_source.html',''); initResiza
AX25Frame::info
uint8_t * info
The info field.
Definition: AX25.h:144
AX25Client::begin
int16_t begin(const char *srcCallsign, uint8_t srcSSID=0x00, uint8_t preambleLen=8)
Initialization method.
Definition: AX25.cpp:175
AX25Frame::setRepeaters
int16_t setRepeaters(char **repeaterCallsigns, uint8_t *repeaterSSIDs, uint8_t numRepeaters)
Method to set the repeater callsigns and SSIDs.
Definition: AX25.cpp:109
+
AX25Client::transmit
int16_t transmit(String &str, const char *destCallsign, uint8_t destSSID=0x00)
Transmit unnumbered information (UI) frame.
Definition: AX25.cpp:195
AX25Frame::setRecvSequence
void setRecvSequence(uint8_t seqNumber)
Method to set receive sequence number.
Definition: AX25.cpp:145
AX25Client::AX25Client
AX25Client(PhysicalLayer *phy)
Constructor for 2-FSK mode.
Definition: AX25.cpp:153
AX25Client::setCorrection
int16_t setCorrection(int16_t mark, int16_t space)
Set AFSK tone correction offset. On some platforms, this is required to get the audio produced by the...
Definition: AX25.cpp:168
AX25Frame::repeaterSSIDs
uint8_t * repeaterSSIDs
Array of repeater SSIDs.
Definition: AX25.h:154
AX25Frame::destSSID
uint8_t destSSID
SSID of the destination station.
Definition: AX25.h:98
APRSClient
Client for APRS communication.
Definition: APRS.h:66
-
AX25Client::transmit
int16_t transmit(const char *str, const char *destCallsign, uint8_t destSSID=0x00)
Transmit unnumbered information (UI) frame.
Definition: AX25.cpp:195
PhysicalLayer
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:14
AX25Frame::control
uint8_t control
The control field.
Definition: AX25.h:118
AX25Frame::destCallsign
char destCallsign[RADIOLIB_AX25_MAX_CALLSIGN_LEN+1]
Callsign of the destination station.
Definition: AX25.h:93
@@ -298,7 +300,7 @@ $(document).ready(function(){initNavTree('_a_x25_8h_source.html',''); initResiza
AX25Frame::AX25Frame
AX25Frame(const char *destCallsign, uint8_t destSSID, const char *srcCallsign, uint8_t srcSSID, uint8_t control)
Overloaded constructor, for frames without info field.
Definition: AX25.cpp:4
AX25Frame::operator=
AX25Frame & operator=(const AX25Frame &frame)
Overload for assignment operator.
Definition: AX25.cpp:74
AX25Frame::numRepeaters
uint8_t numRepeaters
Number of repeaters to be used.
Definition: AX25.h:113
-
AX25Client::sendFrame
int16_t sendFrame(AX25Frame *frame)
Transmit arbitrary AX.25 frame.
Definition: AX25.cpp:206
+
AX25Client::sendFrame
int16_t sendFrame(AX25Frame *frame)
Transmit arbitrary AX.25 frame.
Definition: AX25.cpp:210
AX25Frame::repeaterCallsigns
char ** repeaterCallsigns
Array of repeater callsigns.
Definition: AX25.h:149
diff --git a/class_a_x25_client.html b/class_a_x25_client.html index 0ff541e3..a174279e 100644 --- a/class_a_x25_client.html +++ b/class_a_x25_client.html @@ -110,6 +110,9 @@ Public Member Functions int16_t begin (const char *srcCallsign, uint8_t srcSSID=0x00, uint8_t preambleLen=8)  Initialization method. More...
  +int16_t transmit (String &str, const char *destCallsign, uint8_t destSSID=0x00) + Transmit unnumbered information (UI) frame. More...
+  int16_t transmit (const char *str, const char *destCallsign, uint8_t destSSID=0x00)  Transmit unnumbered information (UI) frame. More...
  @@ -306,7 +309,7 @@ class APRSClient< -

◆ transmit()

+

◆ transmit() [1/2]

@@ -348,6 +351,51 @@ class APRSClient<
Returns
Status Codes
+
+
+ +

◆ transmit() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
int16_t AX25Client::transmit (String & str,
const char * destCallsign,
uint8_t destSSID = 0x00 
)
+
+ +

Transmit unnumbered information (UI) frame.

+
Parameters
+ + + + +
strData to be sent as Arduino String.
destCallsignCallsign of the destination station.
destSSID4-bit SSID of the destination station (in case there are more stations with the same callsign). Defaults to 0.
+
+
+
Returns
Status Codes
+

The documentation for this class was generated from the following files: