code crashes accessing randomization code
Dependencies: LoRaWAN-SX1272-Application-24-31-9sec X_NUCLEO_IKS01A1 driver_mbed_TH02 LoRaWAN-lib-v1_0_1 SX1272Lib mbed
Fork of LoRaWAN-SX1272-Application-24-31-9sec by
app/LoRaEventProc.h@8:0a3a16fd1bc8, 2017-11-27 (annotated)
- Committer:
- billvs
- Date:
- Mon Nov 27 20:49:31 2017 +0000
- Revision:
- 8:0a3a16fd1bc8
- Parent:
- 4:d49b89361b67
crashes with autoconfig address on L073RZ
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ubhat | 0:6cc76d70e2a1 | 1 | /* |
ubhat | 0:6cc76d70e2a1 | 2 | / _____) _ | | |
ubhat | 0:6cc76d70e2a1 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
ubhat | 0:6cc76d70e2a1 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
ubhat | 0:6cc76d70e2a1 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
ubhat | 0:6cc76d70e2a1 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
ubhat | 0:6cc76d70e2a1 | 7 | (C)2015 Semtech |
ubhat | 0:6cc76d70e2a1 | 8 | |
ubhat | 0:6cc76d70e2a1 | 9 | Description: Define events during Join, Tx & Rx |
ubhat | 0:6cc76d70e2a1 | 10 | Prepare TX packet by appending with appropriate application data |
ubhat | 0:6cc76d70e2a1 | 11 | |
ubhat | 0:6cc76d70e2a1 | 12 | License: Revised BSD License, see LICENSE.TXT file include in the project |
ubhat | 0:6cc76d70e2a1 | 13 | |
ubhat | 0:6cc76d70e2a1 | 14 | Maintainer: Uttam Bhat |
ubhat | 0:6cc76d70e2a1 | 15 | */ |
ubhat | 0:6cc76d70e2a1 | 16 | |
ubhat | 0:6cc76d70e2a1 | 17 | #ifndef __LORA_EVENT_PROC_H__ |
ubhat | 0:6cc76d70e2a1 | 18 | #define __LORA_EVENT_PROC_H__ |
ubhat | 0:6cc76d70e2a1 | 19 | |
ubhat | 0:6cc76d70e2a1 | 20 | #include "board.h" |
ubhat | 0:6cc76d70e2a1 | 21 | #include "LoRaApp.h" |
ubhat | 0:6cc76d70e2a1 | 22 | #include "LoRaDeviceStateProc.h" |
ubhat | 0:6cc76d70e2a1 | 23 | |
ubhat | 0:6cc76d70e2a1 | 24 | /*! |
ubhat | 0:6cc76d70e2a1 | 25 | * \brief Prepares the payload of the frame specific to the application port |
ubhat | 0:6cc76d70e2a1 | 26 | * |
ubhat | 0:6cc76d70e2a1 | 27 | * \param [IN] port application port |
ubhat | 0:6cc76d70e2a1 | 28 | */ |
ubhat | 0:6cc76d70e2a1 | 29 | void PrepareLoRaFrame( uint8_t port ); |
ubhat | 0:6cc76d70e2a1 | 30 | |
ubhat | 0:6cc76d70e2a1 | 31 | /*! |
ubhat | 0:6cc76d70e2a1 | 32 | * \brief Prepares the payload of the frame based on application port |
ubhat | 0:6cc76d70e2a1 | 33 | */ |
ubhat | 0:6cc76d70e2a1 | 34 | void InitNextTxInterrupt( uint8_t port ); |
ubhat | 0:6cc76d70e2a1 | 35 | |
ubhat | 0:6cc76d70e2a1 | 36 | /*! |
ubhat | 0:6cc76d70e2a1 | 37 | * \brief Define action during the Network Join process: Blink, Toggle or Set LED ON |
ubhat | 0:6cc76d70e2a1 | 38 | */ |
ubhat | 0:6cc76d70e2a1 | 39 | void JoinEvent( void ); |
ubhat | 0:6cc76d70e2a1 | 40 | |
ubhat | 0:6cc76d70e2a1 | 41 | /*! |
ubhat | 0:6cc76d70e2a1 | 42 | * \brief Define action during the Transmit process: Blink, Toggle or Set LED ON |
ubhat | 0:6cc76d70e2a1 | 43 | */ |
ubhat | 0:6cc76d70e2a1 | 44 | void TxEvent( void ); |
ubhat | 0:6cc76d70e2a1 | 45 | |
ubhat | 0:6cc76d70e2a1 | 46 | /*! |
ubhat | 0:6cc76d70e2a1 | 47 | * \brief Define action when downlink received: Blink, Toggle or Set LED ON |
ubhat | 0:6cc76d70e2a1 | 48 | */ |
ubhat | 0:6cc76d70e2a1 | 49 | void RxEvent( void ); |
ubhat | 0:6cc76d70e2a1 | 50 | |
ubhat | 0:6cc76d70e2a1 | 51 | #endif // __LORA_EVENT_PROC_H__ |