1276 hal configured for Ronoth devices
Diff: sx1276/sx1276.h
- Revision:
- 50:43f7160e869c
- Parent:
- 44:544add59b26d
- Child:
- 51:aef3234bcb71
--- a/sx1276/sx1276.h Sun May 14 14:27:37 2017 +0000 +++ b/sx1276/sx1276.h Tue May 16 17:51:21 2017 +0200 @@ -208,7 +208,7 @@ /*! * Return current radio status * - * @param status Radio status. [RF_IDLE, RX_RUNNING, TX_RUNNING] + * @param status Radio status. [RF_IDLE, RX_RUNNING, TX_RUNNING, CAD_RUNNING] */ virtual RadioState GetStatus( void ); @@ -354,8 +354,10 @@ * * @param [IN]: buffer Buffer pointer * @param [IN]: size Buffer size + * @param [IN]: buffer Header pointer + * @param [IN]: size Header size */ - virtual void Send( uint8_t *buffer, uint8_t size ); + virtual void Send( uint8_t *buffer, uint8_t size, uint8_t *header = NULL, uint8_t hsize = 0); /*! * @brief Sets the radio in sleep mode @@ -397,6 +399,13 @@ virtual void SetTxContinuousWave( uint32_t freq, int8_t power, uint16_t time ); /*! + * @brief Returns the maximal transfer unit for a given modem + * + * @retval MTU size in bytes + */ + virtual int16_t MaxMTUSize( RadioModems_t modem ); + + /*! * @brief Reads the current RSSI value * * @retval rssiValue Current RSSI value in [dBm]