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: LoRaWAN-SanJose_Bootcamp LoRaWAN-grove-cayenne LoRaWAN-classC-demo LoRaWAN-grove-cayenne ... more
Diff: radio/radio.h
- Revision:
- 4:e4bfe9183f94
- Parent:
- 0:6b3ac9c5a042
- Child:
- 7:4b6f960dcca2
diff -r eb174e10afbb -r e4bfe9183f94 radio/radio.h --- a/radio/radio.h Mon Mar 05 16:49:15 2018 -0800 +++ b/radio/radio.h Mon Mar 19 14:39:06 2018 -0700 @@ -83,6 +83,7 @@ static void Init(const RadioEvents_t*); static void Send(uint8_t size); static void PrintStatus(void); + static void UserContext(void); #ifdef DUTY_ENABLE static us_timestamp_t TimeOnAir(RadioModems_t, uint8_t); #endif /* DUTY_ENABLE */ @@ -120,16 +121,19 @@ private: static void LoRaConfig(uint32_t bandwidth, uint8_t datarate, uint8_t coderate, uint16_t preambleLen, bool fixLen, bool crcOn); - static void dio0callback(void); - static void dio1callback(void); static void boardInit(void); static SX127x_lora lora; static SX127x_fsk fsk; static void rfsw_callback(void); + static void set_tx_dbm(int8_t dbm); + static void ocp(uint8_t ma); + static InterruptIn dio0; static InterruptIn dio1; - static void set_tx_dbm(int8_t dbm); - static void ocp(uint8_t ma); + static void dio0isr(void); + static void dio1isr(void); + static void dio0UserContext(void); + static void dio1UserContext(void); };