LoRa node acquiring analog input and sending to LoRa Server - Working ok
Dependents: DISCO-L072CZ-LRWAN1_LoRa_node EIoT_LoRa_node_1 EIoT_LoRa_node_2 EIoT_LoRa_node_3
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 51:aef3234bcb71
- Parent:
- 46:e78a1d0391ac
- Child:
- 61:08b50780eb91
--- a/sx1276/sx1276-mbed-hal.h Tue May 16 17:51:21 2017 +0200 +++ b/sx1276/sx1276-mbed-hal.h Wed May 17 15:40:13 2017 +0200 @@ -201,7 +201,7 @@ * @param [IN] buffer Buffer containing the new register's values * @param [IN] size Number of registers to be written */ - virtual void Write( uint8_t addr, uint8_t *buffer, uint8_t size ) ; + virtual void Write( uint8_t addr, void *buffer, uint8_t size ) ; /*! * @brief Reads multiple radio registers starting at address @@ -210,7 +210,7 @@ * @param [OUT] buffer Buffer where to copy the registers data * @param [IN] size Number of registers to be read */ - virtual void Read ( uint8_t addr, uint8_t *buffer, uint8_t size ) ; + virtual void Read ( uint8_t addr, void *buffer, uint8_t size ) ; /*! * @brief Writes the buffer contents to the SX1276 FIFO @@ -218,7 +218,7 @@ * @param [IN] buffer Buffer containing data to be put on the FIFO. * @param [IN] size Number of bytes to be written to the FIFO */ - virtual void WriteFifo( uint8_t *buffer, uint8_t size ) ; + virtual void WriteFifo( void *buffer, uint8_t size ) ; /*! * @brief Reads the contents of the SX1276 FIFO @@ -226,7 +226,7 @@ * @param [OUT] buffer Buffer where to copy the FIFO read data. * @param [IN] size Number of bytes to be read from the FIFO */ - virtual void ReadFifo( uint8_t *buffer, uint8_t size ) ; + virtual void ReadFifo( void *buffer, uint8_t size ) ; /*! * @brief Reset the SX1276