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: SX1272lib-PABOOST-HW-Modification mbed
Fork of LoRaWAN_ELMO_TxRx_Template by
RadioHandler.h@7:3d16d6fe3b12, 2016-10-07 (annotated)
- Committer:
- KosTee
- Date:
- Fri Oct 07 11:40:18 2016 +0000
- Revision:
- 7:3d16d6fe3b12
- Parent:
- 5:be347c6040c1
- Child:
- 10:ceaf618066ca
My initial commit of Serial Port driven Elmo.; -small configuration can be done through serial port; -data can be delivered through serial port; -RFO to PABOOST transmit route modification on HW
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pasi | 5:be347c6040c1 | 1 | /* |
Pasi | 5:be347c6040c1 | 2 | / _____) _ | | |
Pasi | 5:be347c6040c1 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
Pasi | 5:be347c6040c1 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
Pasi | 5:be347c6040c1 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
Pasi | 5:be347c6040c1 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
Pasi | 5:be347c6040c1 | 7 | |
Pasi | 5:be347c6040c1 | 8 | Description: Main radio loop |
Pasi | 5:be347c6040c1 | 9 | License: Revised BSD License, see LICENSE.TXT file include in the project |
Pasi | 5:be347c6040c1 | 10 | */ |
KosTee | 7:3d16d6fe3b12 | 11 | #include "Comissioning.h" |
Pasi | 5:be347c6040c1 | 12 | #ifndef __RADIOHANDLER_H__ |
Pasi | 5:be347c6040c1 | 13 | #define __RADIOHANDLER_H__ |
Pasi | 5:be347c6040c1 | 14 | |
KosTee | 7:3d16d6fe3b12 | 15 | |
Pasi | 5:be347c6040c1 | 16 | void RadioInit( void ); |
Pasi | 5:be347c6040c1 | 17 | void RequestPacketTx( char *DataString, bool PeriodicRequested ); |
Pasi | 5:be347c6040c1 | 18 | void RadioHandler( void ); |
KosTee | 7:3d16d6fe3b12 | 19 | void RadioSetup( void ); |
KosTee | 7:3d16d6fe3b12 | 20 | void SetRadioValues(void); |
KosTee | 7:3d16d6fe3b12 | 21 | void SetDevEui(void); |
KosTee | 7:3d16d6fe3b12 | 22 | void SetAppEui(void); |
KosTee | 7:3d16d6fe3b12 | 23 | void SetAppKey(void); |
KosTee | 7:3d16d6fe3b12 | 24 | |
KosTee | 7:3d16d6fe3b12 | 25 | //#if( OVER_THE_AIR_ACTIVATION != 0 ) |
KosTee | 7:3d16d6fe3b12 | 26 | /* Copied these values to .h for easier handling. TK */ |
KosTee | 7:3d16d6fe3b12 | 27 | extern uint8_t DevEui[8]; |
KosTee | 7:3d16d6fe3b12 | 28 | extern uint8_t AppEui[8]; |
KosTee | 7:3d16d6fe3b12 | 29 | extern uint8_t AppKey[16]; |
KosTee | 7:3d16d6fe3b12 | 30 | |
Pasi | 5:be347c6040c1 | 31 | |
Pasi | 5:be347c6040c1 | 32 | #endif // __RADIOHANDLER_H__ |