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.

Files at this revision

API Documentation at this revision

Comitter:
Mike Fiore
Date:
Tue Jul 07 14:32:54 2015 -0500
Parent:
4:94969e981dcc
Child:
6:390fc83d588d
Commit message:
update from revision 8f17f909cd6be946ce224094891e211901ac4836 - allow a DigitalOut pointer to be passed in and used as activity LED

Changed in this revision

libmDot.ar Show annotated file Show diff for this revision Revisions of this file
mDot.h Show annotated file Show diff for this revision Revisions of this file
Binary file libmDot.ar has changed
--- a/mDot.h	Tue Jun 30 16:18:24 2015 -0500
+++ b/mDot.h	Tue Jul 07 14:32:54 2015 -0500
@@ -70,6 +70,7 @@
         DigitalOut* _activity_led;
         bool _activity_led_enable;
         PinName _activity_led_pin;
+        bool _activity_led_external;
         uint16_t _linkFailCount;
 
         typedef enum {
@@ -218,6 +219,12 @@
          */
         void setActivityLedPin(const PinName& pin);
 
+        /** Use an external DigitalOut object for the activity LED.
+         * The pointer must stay valid!
+         * @param pin the DigitalOut object to use
+         */
+        void setActivityLedPin(DigitalOut* pin);
+
         /** Find out what pin the activity LED is on
          * @returns the pin the activity LED is using
          */