Library for LoRa communication using MultiTech MDOT.
Dependents: mDot_test_rx adc_sensor_lora mDotEVBM2X mDot_AT_firmware ... more
Function documentation is in mDot.h
Warning
Using libmDot 2.0.3 and above with an existing application may require a change in the MacEvent handler!
Compile applications with mbed v121 and mbed-rtos v116 libraries.
In AT Command Firmware remove line 803.
CommandTerminal/CommandTerminal.cpp
delete[] info->RxBuffer;
Likewise, if your application is handling events from the library asynchronously.
Diff: mDot.h
- Revision:
- 10:0b4eb17d07ae
- Parent:
- 7:683dba5d576f
- Child:
- 11:9938ba31d428
diff -r ebf682e616d0 -r 0b4eb17d07ae mDot.h
--- a/mDot.h Thu Sep 10 13:16:42 2015 -0500
+++ b/mDot.h Thu Sep 10 13:19:35 2015 -0500
@@ -1,10 +1,4 @@
-/************************************************
- * MultiTech MTDOT Library
- * Copyright (c) 2015 MultiTech Systems
- *
- * See LICENSE file for license information
- ***********************************************/
-
+// TODO: add license header
#ifndef MDOT_H
#define MDOT_H
@@ -76,7 +70,7 @@
bool _activity_led_enable;
PinName _activity_led_pin;
bool _activity_led_external;
- uint16_t _linkFailCount;
+ uint8_t _linkFailCount;
uint8_t _class;
InterruptIn* _wakeup;
PinName _wakeup_pin;
@@ -288,7 +282,6 @@
uint8_t getFrequencySubBand();
/** Enable/disable public network mode
- * for use with Conduit gateway and MTAC_LORA, disable public network mode
* @param on should be true to enable public network mode
* @returns MDOT_OK if success
*/