This is code is part of a Technion course project in advanced IoT, implementing a device to receive and present sensors data from a Formula racing car built by students at Technion - Israel Institute of Technology.

Dependencies:   mbed Buffer

Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by ST

This is code is part of a Technion course project in advanced IoT, implementing a device to receive sensors data from another L072CZ-LRWAN1 installed on a Formula racing car (built by students at Technion - Israel Institute of Technology), and sends it to a GUI presenting the data (GUI project: github.com/ward-mattar/TechnionFormulaGUI).

How to install

  • Create an account on Mbed: https://os.mbed.com/account/signup/
  • Import project into Compiler
  • In the Program Workspace select "Formula_Nucleo_Receiver"
  • Select a Platform like so:
  1. Click button at top-left
  2. Add Board
  3. Search "NUCLEO F103RB" and then "Add to your Mbed Compiler"
  • Finally click "Compile", if the build was successful, the binary would download automatically
  • To install it on device simply plug it in to a PC, open device drive and drag then drop binary file in it
Committer:
wardm
Date:
Sat May 19 15:42:38 2018 +0000
Revision:
12:046346a16ff4
V1.0.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wardm 12:046346a16ff4 1 /*
wardm 12:046346a16ff4 2 / _____) _ | |
wardm 12:046346a16ff4 3 ( (____ _____ ____ _| |_ _____ ____| |__
wardm 12:046346a16ff4 4 \____ \| ___ | (_ _) ___ |/ ___) _ \
wardm 12:046346a16ff4 5 _____) ) ____| | | || |_| ____( (___| | | |
wardm 12:046346a16ff4 6 (______/|_____)_|_|_| \__)_____)\____)_| |_|
wardm 12:046346a16ff4 7 ( C )2014 Semtech
wardm 12:046346a16ff4 8
wardm 12:046346a16ff4 9 Description: Contains the callbacks for the IRQs and any application related details
wardm 12:046346a16ff4 10
wardm 12:046346a16ff4 11 License: Revised BSD License, see LICENSE.TXT file include in the project
wardm 12:046346a16ff4 12
wardm 12:046346a16ff4 13 Maintainer: Miguel Luis and Gregory Cristian
wardm 12:046346a16ff4 14 */
wardm 12:046346a16ff4 15
wardm 12:046346a16ff4 16 /*
wardm 12:046346a16ff4 17 * This file contains a copy of the master content sx1276PingPong
wardm 12:046346a16ff4 18 * with adaption for the SX1276Generic environment
wardm 12:046346a16ff4 19 * (c) 2017 Helmut Tschemernjak
wardm 12:046346a16ff4 20 * 30826 Garbsen (Hannover) Germany
wardm 12:046346a16ff4 21 */
wardm 12:046346a16ff4 22
wardm 12:046346a16ff4 23 #ifndef __SX1276PINGPONG_H__
wardm 12:046346a16ff4 24 #define __SX1276PINGPONG_H__
wardm 12:046346a16ff4 25
wardm 12:046346a16ff4 26 int Receiver(void);
wardm 12:046346a16ff4 27
wardm 12:046346a16ff4 28 /*
wardm 12:046346a16ff4 29 * Callback functions prototypes
wardm 12:046346a16ff4 30 */
wardm 12:046346a16ff4 31 /*!
wardm 12:046346a16ff4 32 * @brief Function to be executed on Radio Tx Done event
wardm 12:046346a16ff4 33 */
wardm 12:046346a16ff4 34 void OnTxDone(void *radio, void *userThisPtr, void *userData);
wardm 12:046346a16ff4 35
wardm 12:046346a16ff4 36 /*!
wardm 12:046346a16ff4 37 * @brief Function to be executed on Radio Rx Done event
wardm 12:046346a16ff4 38 */
wardm 12:046346a16ff4 39 void OnRxDone(void *radio, void *userThisPtr, void *userData, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr );
wardm 12:046346a16ff4 40
wardm 12:046346a16ff4 41 /*!
wardm 12:046346a16ff4 42 * @brief Function executed on Radio Tx Timeout event
wardm 12:046346a16ff4 43 */
wardm 12:046346a16ff4 44 void OnTxTimeout(void *radio, void *userThisPtr, void *userData);
wardm 12:046346a16ff4 45
wardm 12:046346a16ff4 46 /*!
wardm 12:046346a16ff4 47 * @brief Function executed on Radio Rx Timeout event
wardm 12:046346a16ff4 48 */
wardm 12:046346a16ff4 49 void OnRxTimeout(void *radio, void *userThisPtr, void *userData);
wardm 12:046346a16ff4 50
wardm 12:046346a16ff4 51 /*!
wardm 12:046346a16ff4 52 * @brief Function executed on Radio Rx Error event
wardm 12:046346a16ff4 53 */
wardm 12:046346a16ff4 54 void OnRxError(void *radio, void *userThisPtr, void *userData);
wardm 12:046346a16ff4 55
wardm 12:046346a16ff4 56 /*!
wardm 12:046346a16ff4 57 * @brief Function executed on Radio Fhss Change Channel event
wardm 12:046346a16ff4 58 */
wardm 12:046346a16ff4 59 void OnFhssChangeChannel(void *radio, void *userThisPtr, void *userData, uint8_t channelIndex);
wardm 12:046346a16ff4 60
wardm 12:046346a16ff4 61 /*!
wardm 12:046346a16ff4 62 * @brief Function executed on CAD Done event
wardm 12:046346a16ff4 63 */
wardm 12:046346a16ff4 64 void OnCadDone(void *radio, void *userThisPtr, void *userData);
wardm 12:046346a16ff4 65
wardm 12:046346a16ff4 66 #endif // __MAIN_H__