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.
Dependencies: MPU6050 Grove_temperature
Diff: communication/LoRaWanComm.cpp
- Revision:
- 6:806043bf1a2c
- Child:
- 7:8db3e62ac4e2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/communication/LoRaWanComm.cpp Sun Jun 23 13:21:49 2019 -0300 @@ -0,0 +1,23 @@ +#include "sgam_mdw.h" +#include "mbed.h" + +#include "LoRAWanComm.h" + +LoRAWanComm::LoRAWanComm(const char* parameters) { } +LoRAWanComm::~LoRAWanComm() { } + +int LoRAWanComm::initialize() { D_LOG("INITIALIZE %s! \r\n", this->getName() ); return 1; } +int LoRAWanComm::finalize() { D_LOG("FINALIZE %s! \r\n", this->getName() ); return 1; } + +const char* LoRAWanComm::getName() { + return "LoRAWAN"; +} + +//////////////////////////////////////////////////////////////////////////////////// +int LoRAWanComm::write(const char* data) { + return 0; +} + +int LoRAWanComm::read(char* buffer, int offset) { + return 0; +}