Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_IKS01A2 driver_mbed_TH02 mbed LoRaWAN-lib-v1_0_1 SX1272Lib
Fork of Training-Aug2018-SX1272-X-NUCLEO-IKS01A2 by
LoRaEventProc.h
00001 /* 00002 / _____) _ | | 00003 ( (____ _____ ____ _| |_ _____ ____| |__ 00004 \____ \| ___ | (_ _) ___ |/ ___) _ \ 00005 _____) ) ____| | | || |_| ____( (___| | | | 00006 (______/|_____)_|_|_| \__)_____)\____)_| |_| 00007 (C)2015 Semtech 00008 00009 Description: Define events during Join, Tx & Rx 00010 Prepare TX packet by appending with appropriate application data 00011 00012 License: Revised BSD License, see LICENSE.TXT file include in the project 00013 00014 Maintainer: Uttam Bhat 00015 */ 00016 00017 #ifndef __LORA_EVENT_PROC_H__ 00018 #define __LORA_EVENT_PROC_H__ 00019 00020 #include "board.h" 00021 #include "LoRaApp.h" 00022 #include "LoRaDeviceStateProc.h" 00023 00024 /*! 00025 * \brief Prepares the payload of the frame specific to the application port 00026 * 00027 * \param [IN] port application port 00028 */ 00029 void PrepareLoRaFrame( uint8_t port ); 00030 00031 /*! 00032 * \brief Prepares the payload of the frame based on application port 00033 */ 00034 void InitNextTxInterrupt( uint8_t port ); 00035 00036 /*! 00037 * \brief Define action during the Network Join process: Blink, Toggle or Set LED ON 00038 */ 00039 void JoinEvent( void ); 00040 00041 /*! 00042 * \brief Define action during the Transmit process: Blink, Toggle or Set LED ON 00043 */ 00044 void TxEvent( void ); 00045 00046 /*! 00047 * \brief Define action when downlink received: Blink, Toggle or Set LED ON 00048 */ 00049 void RxEvent( void ); 00050 00051 #endif // __LORA_EVENT_PROC_H__
Generated on Tue Jul 12 2022 20:36:27 by
1.7.2
