Elmo Terminal provides functionality to test Lora radio and access SX1272 chip registers delivered with Elmo board. Also contains example ping-pong application.
Dependencies: SX1272lib mbed-src
Revision 4:2767f13b0a75, committed 2015-10-01
- Comitter:
- WGorniak
- Date:
- Thu Oct 01 14:49:21 2015 +0200
- Parent:
- 3:bb58d4e78e68
- Child:
- 5:f47aa82f7a96
- Commit message:
- renamed board to generic names
Changed in this revision
RadioContex.cpp | Show annotated file Show diff for this revision Revisions of this file |
RadioContex.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/RadioContex.cpp Thu Oct 01 14:42:59 2015 +0200 +++ b/RadioContex.cpp Thu Oct 01 14:49:21 2015 +0200 @@ -55,7 +55,7 @@ sendCntr = 0; - radio_ = new SX1272MB1xAS ( RadioContex::StaticOnTxDone, RadioContex::StaticOnTxTimeout, RadioContex::StaticOnRxDone, + radio_ = new SX1272BRD ( RadioContex::StaticOnTxDone, RadioContex::StaticOnTxTimeout, RadioContex::StaticOnRxDone, RadioContex::StaticOnRxTimeout, RadioContex::StaticOnRxError, NULL, NULL, RF_SPI_MOSI, RF_SPI_MISO, RF_SPI_SCK, RF_SPI_CS, RF_RESET, RF_DIO0, RF_DIO1, RF_DIO2, RF_DIO3, RF_DIO4, RF_DIO5,
--- a/RadioContex.h Thu Oct 01 14:42:59 2015 +0200 +++ b/RadioContex.h Thu Oct 01 14:49:21 2015 +0200 @@ -26,7 +26,7 @@ public: - SX1272MB1xAS* radio_; + SX1272BRD* radio_; static RadioContex* thi;