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
communication/LoRaWanComm.cpp@6:806043bf1a2c, 2019-06-23 (annotated)
- Committer:
- AndersonIctus
- Date:
- Sun Jun 23 13:21:49 2019 -0300
- Revision:
- 6:806043bf1a2c
- Child:
- 7:8db3e62ac4e2
- Inclusao da casca para a comunicacao
- mudancas no giroscopio e tmeperatura
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AndersonIctus | 6:806043bf1a2c | 1 | #include "sgam_mdw.h" |
AndersonIctus | 6:806043bf1a2c | 2 | #include "mbed.h" |
AndersonIctus | 6:806043bf1a2c | 3 | |
AndersonIctus | 6:806043bf1a2c | 4 | #include "LoRAWanComm.h" |
AndersonIctus | 6:806043bf1a2c | 5 | |
AndersonIctus | 6:806043bf1a2c | 6 | LoRAWanComm::LoRAWanComm(const char* parameters) { } |
AndersonIctus | 6:806043bf1a2c | 7 | LoRAWanComm::~LoRAWanComm() { } |
AndersonIctus | 6:806043bf1a2c | 8 | |
AndersonIctus | 6:806043bf1a2c | 9 | int LoRAWanComm::initialize() { D_LOG("INITIALIZE %s! \r\n", this->getName() ); return 1; } |
AndersonIctus | 6:806043bf1a2c | 10 | int LoRAWanComm::finalize() { D_LOG("FINALIZE %s! \r\n", this->getName() ); return 1; } |
AndersonIctus | 6:806043bf1a2c | 11 | |
AndersonIctus | 6:806043bf1a2c | 12 | const char* LoRAWanComm::getName() { |
AndersonIctus | 6:806043bf1a2c | 13 | return "LoRAWAN"; |
AndersonIctus | 6:806043bf1a2c | 14 | } |
AndersonIctus | 6:806043bf1a2c | 15 | |
AndersonIctus | 6:806043bf1a2c | 16 | //////////////////////////////////////////////////////////////////////////////////// |
AndersonIctus | 6:806043bf1a2c | 17 | int LoRAWanComm::write(const char* data) { |
AndersonIctus | 6:806043bf1a2c | 18 | return 0; |
AndersonIctus | 6:806043bf1a2c | 19 | } |
AndersonIctus | 6:806043bf1a2c | 20 | |
AndersonIctus | 6:806043bf1a2c | 21 | int LoRAWanComm::read(char* buffer, int offset) { |
AndersonIctus | 6:806043bf1a2c | 22 | return 0; |
AndersonIctus | 6:806043bf1a2c | 23 | } |