A very easy to understand LoRaWAN-node code.
Dependencies: LoRaWAN-lib SX1272Lib X_NUCLEO_IKS01A1 mbed
Important parameters:
• In comissioning.h: DevEUI, AppEUI, AppKEY, DevADR, NwksKEY, AppsKEY, OTAA and public network. Frequency and channel block to use, confirmed or unconfirmed messages, app port, app data size and OTAA and Tx duty cycles.
• In LoRaMac.h: Maximum payload and MAC commands length, receive delays, max FCNT, adr ack limit, timeout and delay, max ack retries, rssi threshold and sync words.
• In LoRaMac.cpp: Maximum payload, MAC commands and FRMpayload length.
• In LoRaMac-board.h: Tx power, data rates and band settings.
NOTE: Please refer to LoRaWAN regional parameters (page 12 for US band) to know which parameters you can modify.
Code/SerialDisplay.h
- Committer:
- dgabino
- Date:
- 2018-04-03
- Revision:
- 0:60ff878b27b8
File content as of revision 0:60ff878b27b8:
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2015 Semtech Description: Serial display management License: Revised BSD License, see LICENSE.TXT file include in the project Maintainer: Uttam Bhat */ #ifndef __SERIAL_DISPLAY_H__ #define __SERIAL_DISPLAY_H__ #include "board.h" #include "vt100.h" #include "Comissioning.h" #include "LoRaMac.h" #include "Common.h" #include "LoRaDeviceFunctions.h" void SerialDisplayJoinUpdate( void ); void SerialDisplayTxUpdate( void ); void SerialDisplayRxUpdate( void ); void SerialDisplayHex( uint8_t *pData, uint8_t len ); void DisplayNetworkParam( void ); #endif // __SERIAL_DISPLAY_H__