
LoRaWAN demo 76 bootcamp
Dependencies: mbed DigitDisplay Chainable_RGB_LED LoRaWAN-lib SX1276Lib
app/SerialDisplay.h@0:cb80564f40e1, 2016-03-17 (annotated)
- Committer:
- mluis
- Date:
- Thu Mar 17 09:32:46 2016 +0000
- Revision:
- 0:cb80564f40e1
Project creation based on LoRaWAN-demo-76
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mluis | 0:cb80564f40e1 | 1 | /* |
mluis | 0:cb80564f40e1 | 2 | / _____) _ | | |
mluis | 0:cb80564f40e1 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
mluis | 0:cb80564f40e1 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
mluis | 0:cb80564f40e1 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
mluis | 0:cb80564f40e1 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
mluis | 0:cb80564f40e1 | 7 | (C)2015 Semtech |
mluis | 0:cb80564f40e1 | 8 | |
mluis | 0:cb80564f40e1 | 9 | Description: VT100 serial display management |
mluis | 0:cb80564f40e1 | 10 | |
mluis | 0:cb80564f40e1 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
mluis | 0:cb80564f40e1 | 12 | |
mluis | 0:cb80564f40e1 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
mluis | 0:cb80564f40e1 | 14 | */ |
mluis | 0:cb80564f40e1 | 15 | #ifndef __SERIAL_DISPLAY_H__ |
mluis | 0:cb80564f40e1 | 16 | #define __SERIAL_DISPLAY_H__ |
mluis | 0:cb80564f40e1 | 17 | |
mluis | 0:cb80564f40e1 | 18 | void SerialDisplayInit( void ); |
mluis | 0:cb80564f40e1 | 19 | void SerialDisplayUpdateUplink( bool acked, uint8_t datarate, uint16_t counter, uint8_t port, uint8_t *buffer, uint8_t bufferSize ); |
mluis | 0:cb80564f40e1 | 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:cb80564f40e1 | 21 | void SerialDisplayPrintCheckBox( bool activated ); |
mluis | 0:cb80564f40e1 | 22 | void SerialDisplayUpdateLedState( uint8_t id, uint8_t state ); |
mluis | 0:cb80564f40e1 | 23 | void SerialDisplayUpdateActivationMode( bool otaa ); |
mluis | 0:cb80564f40e1 | 24 | void SerialDisplayUpdateEui( uint8_t line, uint8_t *eui ); |
mluis | 0:cb80564f40e1 | 25 | void SerialDisplayUpdateKey( uint8_t line, uint8_t *key ); |
mluis | 0:cb80564f40e1 | 26 | void SerialDisplayUpdateNwkId( uint8_t id ); |
mluis | 0:cb80564f40e1 | 27 | void SerialDisplayUpdateDevAddr( uint32_t addr ); |
mluis | 0:cb80564f40e1 | 28 | void SerialDisplayUpdateFrameType( bool confirmed ); |
mluis | 0:cb80564f40e1 | 29 | void SerialDisplayUpdateAdr( bool adr ); |
mluis | 0:cb80564f40e1 | 30 | void SerialDisplayUpdateDutyCycle( bool dutyCycle ); |
mluis | 0:cb80564f40e1 | 31 | void SerialDisplayUpdatePublicNetwork( bool network ); |
mluis | 0:cb80564f40e1 | 32 | void SerialDisplayUpdateData( uint8_t *buffer ); |
mluis | 0:cb80564f40e1 | 33 | void SerialDisplayUpdateNetworkIsJoined( bool state ); |
mluis | 0:cb80564f40e1 | 34 | void SerialDisplayUpdateUplinkAcked( bool state ); |
mluis | 0:cb80564f40e1 | 35 | void SerialDisplayUpdateDonwlinkRxData( bool state ); |
mluis | 0:cb80564f40e1 | 36 | bool SerialDisplayReadable( void ); |
mluis | 0:cb80564f40e1 | 37 | uint8_t SerialDisplayGetChar( void ); |
mluis | 0:cb80564f40e1 | 38 | |
mluis | 0:cb80564f40e1 | 39 | #endif // __SERIAL_DISPLAY_H__ |