hello 2
Diff: Lora.h
- Revision:
- 69:e22889c7eaa9
- Parent:
- 68:5f787643e7d7
- Child:
- 70:0c5b5b02d17b
--- a/Lora.h Thu Aug 29 08:32:27 2019 -0500 +++ b/Lora.h Thu Aug 29 12:21:51 2019 -0500 @@ -342,18 +342,15 @@ uint8_t Mode; //!< PUBLIC, PRIVATE or PEER_TO_PEER network mode uint8_t Class; //!< Operating class of device uint8_t EUI[8]; //!< Network ID or AppEUI - uint16_t JoinNonce; //!< Incrementing JoinNonce Counter uint8_t Key[16]; //!< Network Key or AppKey - uint8_t GenAppKey[16]; //!< Generic App Key, will be AppKey for LW 1.1.x - uint8_t McKEKey[16]; //!< Multicast Key Encryption Key uint8_t JoinDelay; //!< Number of seconds to wait before 1st RX Window uint8_t RxDelay; //!< Number of seconds to wait before 1st RX Window uint8_t FrequencySubBand; //!< FrequencySubBand used for US915 hybrid operation 0:72 channels, 1:1-8 channels ... - uint8_t AckEnabled; //!< Enable confirmed messages to be sent with Retries + uint8_t AckAttempts; //!< Number of attempts to send packet and receive an ACK from server uint8_t Retries; //!< Number of times to resend a packet without receiving an ACK, redundancy uint8_t ADREnabled; //!< Enable adaptive datarate - uint8_t AdrAckLimit; //!< Number of uplinks without a downlink to allow before setting ADRACKReq - uint8_t AdrAckDelay; //!< Number of downlinks to expect ADR ACK Response within + uint16_t AdrAckLimit; //!< Number of uplinks without a downlink to allow before setting ADRACKReq + uint16_t AdrAckDelay; //!< Number of downlinks to expect ADR ACK Response within uint8_t CADEnabled; //!< Enable listen before talk/channel activity detection uint8_t RepeaterMode; //!< Limit payloads to repeater compatible sizes uint8_t TxPower; //!< Default radio output power in dBm @@ -403,6 +400,7 @@ uint32_t JoinFirstAttempt; //!< RTC time of first failed join attempt uint32_t AggregatedTimeOffEnd; //!< Time off air expiration for aggregate duty cycle uint16_t AggregateDutyCycle; //!< Used for enforcing time-on-air + uint8_t AckCounter; //!< Current number of packets sent without ACK from server uint8_t AdrCounter; //!< Current number of packets received without downlink from server uint8_t RxDelay; //!< Number of seconds to wait before 1st RX Window uint8_t CommandBuffer[COMMANDS_BUFFER_SIZE]; //!< Buffer to hold Mac Commands and parameters to be sent in next packet