Sending IKS01A1 temperature sensor to LoRaWAN port-5 uplink
Dependencies: X_NUCLEO_IKS01A1 mbed LoRaWAN-lib SX1276Lib
Fork of LoRaWAN-demo-76 by
Use IKS01A1 sensor shield with SX1272 shield or SX1276 shield.
Sends temperature sensor to LoRaWAN uplink port 5.
Remove SB22 and SB23 from IKS01A1 before using
SB28 conflicts with DIO0 on radio. (TxDone RxDone)
SB22 conflicts with RxTx on radio. (antenna switch)
app/SerialDisplay.h
- Committer:
- dudmuck
- Date:
- 2016-08-16
- Revision:
- 8:7b1d5fb9cf72
- Parent:
- 0:92bca02df485
File content as of revision 8:7b1d5fb9cf72:
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2015 Semtech Description: VT100 serial display management License: Revised BSD License, see LICENSE.TXT file include in the project Maintainer: Miguel Luis and Gregory Cristian */ #ifndef __SERIAL_DISPLAY_H__ #define __SERIAL_DISPLAY_H__ void SerialDisplayInit( void ); void SerialDisplayUpdateUplink( bool acked, uint8_t datarate, uint16_t counter, uint8_t port, uint8_t *buffer, uint8_t bufferSize ); void SerialDisplayUpdateDownlink( bool rxData, int16_t rssi, int8_t snr, uint16_t counter, uint8_t port, uint8_t *buffer, uint8_t bufferSize ); void SerialDisplayPrintCheckBox( bool activated ); void SerialDisplayUpdateLedState( uint8_t id, uint8_t state ); void SerialDisplayUpdateActivationMode( bool otaa ); void SerialDisplayUpdateEui( uint8_t line, uint8_t *eui ); void SerialDisplayUpdateKey( uint8_t line, uint8_t *key ); void SerialDisplayUpdateNwkId( uint8_t id ); void SerialDisplayUpdateDevAddr( uint32_t addr ); void SerialDisplayUpdateFrameType( bool confirmed ); void SerialDisplayUpdateAdr( bool adr ); void SerialDisplayUpdateDutyCycle( bool dutyCycle ); void SerialDisplayUpdatePublicNetwork( bool network ); void SerialDisplayUpdateData( uint8_t *buffer ); void SerialDisplayUpdateNetworkIsJoined( bool state ); void SerialDisplayUpdateUplinkAcked( bool state ); void SerialDisplayUpdateDonwlinkRxData( bool state ); bool SerialDisplayReadable( void ); uint8_t SerialDisplayGetChar( void ); #endif // __SERIAL_DISPLAY_H__