Simplified LoRaWAN library.
Fork of LoRaWAN-lib-v1_0_1 by
Diff: LoRaMac.h
- Revision:
- 12:54937781831b
- Parent:
- 4:37c12dbc8dc7
--- a/LoRaMac.h Fri Nov 10 09:22:15 2017 +0000 +++ b/LoRaMac.h Tue Apr 03 17:01:27 2018 +0000 @@ -116,7 +116,7 @@ /*! * Maximum number of times the MAC layer tries to get an acknowledge. */ -#define MAX_ACK_RETRIES 8 +#define MAX_ACK_RETRIES 4 /*! * RSSI free threshold [dBm] @@ -760,38 +760,22 @@ */ typedef struct sMcpsConfirm { - /*! - * Holds the previously performed MCPS-Request - */ - Mcps_t McpsRequest; - /*! - * Status of the operation - */ - LoRaMacEventInfoStatus_t Status; - /*! - * Uplink datarate - */ - uint8_t Datarate; - /*! - * Transmission power - */ - int8_t TxPower; - /*! - * Set if an acknowledgement was received - */ - bool AckReceived; - /*! - * Provides the number of retransmissions - */ - uint8_t NbRetries; - /*! - * The transmission time on air of the frame - */ - TimerTime_t TxTimeOnAir; - /*! - * The uplink counter value related to the frame - */ - uint32_t UpLinkCounter; + + Mcps_t McpsRequest; //Holds the previously performed MCPS-Request + + LoRaMacEventInfoStatus_t Status; //Status of the operation + + uint8_t Datarate; //Uplink datarate + + int8_t TxPower; //Transmission power + + bool AckReceived; //Set if an acknowledgement was received + + uint8_t NbRetries; // Provides the number of retransmissions + + TimerTime_t TxTimeOnAir; //The transmission time on air of the frame + + uint32_t UpLinkCounter; //The uplink counter value related to the frame }McpsConfirm_t; /*!