This code uses Semtech's open source LoRaWAN stack ported to mbed environment.

Dependencies:   mbed LoRaWAN-lib SX1272Lib

Committer:
Mehrad
Date:
Thu Jun 09 23:58:16 2016 +0000
Revision:
0:6155544d38b1
The initial commit.

Who changed what in which revision?

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