Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-L072CZ-LRWAN1_LoRa_PingPong
Fork of SX1276GenericLib by
Diff: sx1276/sx1276-hal.h
- Revision:
- 21:2e496deb7858
- Parent:
- 12:aa5b3bf7fdf4
- Child:
- 22:7f3aab69cca9
diff -r e05596ba4166 -r 2e496deb7858 sx1276/sx1276-hal.h
--- a/sx1276/sx1276-hal.h Tue Oct 20 12:58:58 2015 +0000
+++ b/sx1276/sx1276-hal.h Thu Nov 26 10:39:03 2015 +0000
@@ -33,13 +33,11 @@
static const RadioRegisters_t RadioRegsInit[];
public:
- SX1276MB1xAS( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ),
- void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ),
+ SX1276MB1xAS( RadioEvents_t *events,
PinName mosi, PinName miso, PinName sclk, PinName nss, PinName reset,
PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5,
PinName antSwitch );
- SX1276MB1xAS( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ),
- void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) );
+ SX1276MB1xAS( RadioEvents_t *events );
virtual ~SX1276MB1xAS( ) { };
protected:
