This library update contains changes according to the HW-modification.
Dependents: LoRaWAN_Serial_port_driven_and_configurable_ELMO_based_on_TxRx_Template
Fork of SX1272lib by
Changes compared to original SX1272lib:
HW modification was made to remove RFO-output and replaced with PABOOST-output. PASELECT changed accordingly.
Diff: sx1272/sx1272.h
- Revision:
- 7:40c388bbf585
- Parent:
- 6:a8a402ec1169
diff -r a8a402ec1169 -r 40c388bbf585 sx1272/sx1272.h --- a/sx1272/sx1272.h Wed Feb 10 10:59:51 2016 +0000 +++ b/sx1272/sx1272.h Thu Feb 11 15:14:39 2016 +0000 @@ -368,7 +368,15 @@ * @brief Resets the SX1276 */ virtual void Reset( void ) = 0; - + + /*! + * @brief Sets the maximum payload length. + * + * @param [IN] modem Radio modem to be used [0: FSK, 1: LoRa] + * @param [IN] max Maximum payload length in bytes + */ + virtual void SetMaxPayloadLength( ModemType modem, uint8_t max ); + //------------------------------------------------------------------------- // Board relative functions //------------------------------------------------------------------------- @@ -490,14 +498,6 @@ virtual void OnDio5Irq( void ); /*! - * @brief Sets the maximum payload length. - * - * @param [IN] modem Radio modem to be used [0: FSK, 1: LoRa] - * @param [IN] max Maximum payload length in bytes - */ - virtual void SetMaxPayloadLength( ModemType modem, uint8_t max ); - - /*! * @brief Tx & Rx timeout timer callback */ virtual void OnTimeoutIrq( void );