Ping Pong Demo with Lora Antenna and Nucleo board

Dependencies:   mbed SX126xLib

Embed: (wiki syntax)

« Back to documentation index

main_pingpong.cpp File Reference

main_pingpong.cpp File Reference

Ping-Pong implementation. More...

Go to the source code of this file.

Functions

void OnTxDone (void)
 Function to be executed on Radio Tx Done event.
void OnRxDone (void)
 Function to be executed on Radio Rx Done event.
void OnTxTimeout (void)
 Function executed on Radio Tx Timeout event.
void OnRxTimeout (void)
 Function executed on Radio Rx Timeout event.
void OnRxError (IrqErrorCode_t errCode)
 Function executed on Radio Rx Error event.
void OnFhssChangeChannel (uint8_t channelIndex)
 Function executed on Radio Fhss Change Channel event.

Variables

static RadioCallbacks_t RadioEvents

Detailed Description

Ping-Pong implementation.

Revised BSD License, see section LICENSE.

                ______                              _
               / _____)             _              | |
              ( (____  _____ ____ _| |_ _____  ____| |__
               \____ \| ___ |    (_   _) ___ |/ ___)  _ \
               _____) ) ____| | | || |_| ____( (___| | | |
              (______/|_____)_|_|_| \__)_____)\____)_| |_|
              (C)2013-2018 Semtech

Definition in file main_pingpong.cpp.


Function Documentation

void OnFhssChangeChannel ( uint8_t  channelIndex )

Function executed on Radio Fhss Change Channel event.

void OnRxDone ( void   )

Function to be executed on Radio Rx Done event.

Definition at line 384 of file main_pingpong.cpp.

void OnRxError ( IrqErrorCode_t  errCode )

Function executed on Radio Rx Error event.

Definition at line 401 of file main_pingpong.cpp.

void OnRxTimeout ( void   )

Function executed on Radio Rx Timeout event.

Definition at line 395 of file main_pingpong.cpp.

void OnTxDone ( void   )

Function to be executed on Radio Tx Done event.

Definition at line 379 of file main_pingpong.cpp.

void OnTxTimeout ( void   )

Function executed on Radio Tx Timeout event.

Definition at line 389 of file main_pingpong.cpp.


Variable Documentation

RadioCallbacks_t RadioEvents [static]
Initial value:
 {
    .txDone = &OnTxDone,
    .txTimeout = &OnTxTimeout,
    .rxDone = &OnRxDone,
    .rxPreambleDetect = NULL,
    .rxHeaderDone = NULL,
    .rxTimeout = &OnRxTimeout,
    .rxError = &OnRxError,
    .cadDone = NULL,
}

Radio events function pointer

Definition at line 163 of file main_pingpong.cpp.