use with LoRa Access Point
Fork of SX1276Lib by
Diff: sx1276/sx1276.h
- Revision:
- 20:e05596ba4166
- Parent:
- 19:71a47bb03fbb
- Child:
- 21:2e496deb7858
diff -r 71a47bb03fbb -r e05596ba4166 sx1276/sx1276.h --- a/sx1276/sx1276.h Wed Aug 12 14:34:03 2015 +0000 +++ b/sx1276/sx1276.h Tue Oct 20 12:58:58 2015 +0000 @@ -354,6 +354,14 @@ */ 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 //-------------------------------------------------------------------------