Anish updated the code to work with L152. RTC seems to causing issue. Will have to disable LSE.

Dependencies:   mbed LoRaWAN-lib SX1276Lib

Committer:
uss1994
Date:
Fri Jul 19 16:03:32 2019 +0000
Revision:
37:24625e89879b
Parent:
19:6f88d1cabaca
measure after the relay triggers

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mluis 0:92bca02df485 1 /*
mluis 0:92bca02df485 2 / _____) _ | |
mluis 0:92bca02df485 3 ( (____ _____ ____ _| |_ _____ ____| |__
mluis 0:92bca02df485 4 \____ \| ___ | (_ _) ___ |/ ___) _ \
mluis 0:92bca02df485 5 _____) ) ____| | | || |_| ____( (___| | | |
mluis 0:92bca02df485 6 (______/|_____)_|_|_| \__)_____)\____)_| |_|
mluis 0:92bca02df485 7 (C)2015 Semtech
mluis 0:92bca02df485 8
mluis 0:92bca02df485 9 Description: VT100 serial display management
mluis 0:92bca02df485 10
mluis 0:92bca02df485 11 License: Revised BSD License, see LICENSE.TXT file include in the project
mluis 0:92bca02df485 12
mluis 0:92bca02df485 13 Maintainer: Miguel Luis and Gregory Cristian
mluis 0:92bca02df485 14 */
mluis 0:92bca02df485 15 #ifndef __SERIAL_DISPLAY_H__
mluis 0:92bca02df485 16 #define __SERIAL_DISPLAY_H__
mluis 0:92bca02df485 17
mluis 0:92bca02df485 18 void SerialDisplayInit( void );
mluis 0:92bca02df485 19 void SerialDisplayUpdateUplink( bool acked, uint8_t datarate, uint16_t counter, uint8_t port, uint8_t *buffer, uint8_t bufferSize );
mluis 0:92bca02df485 20 void SerialDisplayUpdateDownlink( bool rxData, int16_t rssi, int8_t snr, uint16_t counter, uint8_t port, uint8_t *buffer, uint8_t bufferSize );
mluis 0:92bca02df485 21 void SerialDisplayPrintCheckBox( bool activated );
mluis 0:92bca02df485 22 void SerialDisplayUpdateLedState( uint8_t id, uint8_t state );
mluis 0:92bca02df485 23 void SerialDisplayUpdateActivationMode( bool otaa );
mluis 0:92bca02df485 24 void SerialDisplayUpdateEui( uint8_t line, uint8_t *eui );
mluis 0:92bca02df485 25 void SerialDisplayUpdateKey( uint8_t line, uint8_t *key );
mluis 0:92bca02df485 26 void SerialDisplayUpdateNwkId( uint8_t id );
mluis 0:92bca02df485 27 void SerialDisplayUpdateDevAddr( uint32_t addr );
mluis 0:92bca02df485 28 void SerialDisplayUpdateFrameType( bool confirmed );
mluis 0:92bca02df485 29 void SerialDisplayUpdateAdr( bool adr );
mluis 0:92bca02df485 30 void SerialDisplayUpdateDutyCycle( bool dutyCycle );
uss1994 18:0a4de80c02a6 31 void SerialDisplayPrintDebugLine( char* str, uint8_t size );
uss1994 18:0a4de80c02a6 32 void SerialDisplayPrintDebugStatus( uint16_t status );
uss1994 19:6f88d1cabaca 33 void SerialDisplayPrintDebugNumber( int n, bool overwrite );
mluis 0:92bca02df485 34 void SerialDisplayUpdatePublicNetwork( bool network );
mluis 0:92bca02df485 35 void SerialDisplayUpdateData( uint8_t *buffer );
mluis 0:92bca02df485 36 void SerialDisplayUpdateNetworkIsJoined( bool state );
mluis 0:92bca02df485 37 void SerialDisplayUpdateUplinkAcked( bool state );
mluis 0:92bca02df485 38 void SerialDisplayUpdateDonwlinkRxData( bool state );
mluis 0:92bca02df485 39 bool SerialDisplayReadable( void );
mluis 0:92bca02df485 40 uint8_t SerialDisplayGetChar( void );
mluis 0:92bca02df485 41
mluis 0:92bca02df485 42 #endif // __SERIAL_DISPLAY_H__