Bleeding edge development version of the xDot library for mbed 5. This version of the library is not guaranteed to be stable or well tested and should not be used in production or deployment scenarios.

Dependents:   Dot-Examples Dot-AT-Firmware Dot-Examples TEST_FF1705 ... more

The Dot library provides a LoRaWan certified stack for LoRa communication using MultiTech mDot and xDot devices. The stack is compatible with mbed 5.

Dot Library Version 3 Updates

Dot Library versions 3.x.x require a channel plan to be injected into the stack. Channel plans are included with the 3.x.x Dot Library releases. The following code snippet demonstrates how to create a channel plan and inject it into the stack.

#include "mDot.h"
#include "channel_plans.h"

int main() {
    ChannelPlan* plan = new lora::ChannelPlan_US915();
    assert(plan);
    mDot* dot = mDot::getInstance(plan);
    assert(dot);

    // ...
}

Dot devices must not be deployed with software using a different channel plan than the Dot's default plan! This functionality is for development and testing only!

Multicast Sessions

Multicast sessions and packet rx events in library. When in Class C mode Multicast downlinks can be received. Recieved packets should be filtered on address, counter value will be maintained in the session or can be set explicitly depending on Application support to share Multicast Address, Keys and Counters.

mDot.h

        /**
         * Add a multicast session address and keys
         * Downlink counter is set to 0
         * Up to 3 MULTICAST_SESSIONS can be set
         */
        int32_t setMulticastSession(uint8_t index, uint32_t addr, const uint8_t* nsk, const uint8_t* dsk);
 
        /**
         * Set a multicast session counter
         * Up to 3 MULTICAST_SESSIONS can be set
         */
        int32_t setMulticastDownlinkCounter(uint8_t index, uint32_t count);

mDotEvent.h

The address field was added to PacketRx event.

        virtual void PacketRx(uint8_t port, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr, lora::DownlinkControl ctrl, uint8_t slot, uint8_t retries, uint32_t address);

The name of the repository can be used to determine which device the stack was compiled for and if it's a development or production-ready build:

A changelog for the Dot library can be found here.

The Dot library version and the version of mbed-os it was compiled against can both be found in the commit message for that revision of the Dot library. Building your application with the same version of mbed-os as what was used to build the Dot library is highly recommended!

The Dot-Examples repository demonstrates how to use the Dot library in a custom application.

The mDot and xDot platform pages have lots of platform specific information and document potential issues, gotchas, etc, and provide instructions for getting started with development. Please take a look at the platform page before starting development as they should answer many questions you will have.

History

xdot-library revision 3.1.0-57-g8e84ec6 and mbed-os revision mbed-os-5.10.2 default tip

2018-11-09, by Jenkins@KEILDM1.dc.multitech.prv [Fri, 09 Nov 2018 14:56:50 -0600] rev 133

xdot-library revision 3.1.0-57-g8e84ec6 and mbed-os revision mbed-os-5.10.2


xdot-library revision 3.1.0-48-g8cda346 and mbed-os revision mbed-os-5.9.6

2018-10-26, by Jenkins@KEILDM1.dc.multitech.prv [Fri, 26 Oct 2018 14:56:42 -0500] rev 132

xdot-library revision 3.1.0-48-g8cda346 and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-45-g0fe28cf and mbed-os revision mbed-os-5.9.6

2018-10-25, by Jenkins@KEILDM1.dc.multitech.prv [Thu, 25 Oct 2018 14:49:23 -0500] rev 131

xdot-library revision 3.1.0-45-g0fe28cf and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-38-g799685a and mbed-os revision mbed-os-5.9.6

2018-10-19, by Jenkins@KEILDM1.dc.multitech.prv [Fri, 19 Oct 2018 14:51:56 -0500] rev 130

xdot-library revision 3.1.0-38-g799685a and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-37-ge79d0a7 and mbed-os revision mbed-os-5.9.6

2018-10-12, by Jenkins@KEILDM1.dc.multitech.prv [Fri, 12 Oct 2018 10:41:01 -0500] rev 129

xdot-library revision 3.1.0-37-ge79d0a7 and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-35-ge3d5c08 and mbed-os revision mbed-os-5.9.6

2018-10-08, by Jenkins@KEILDM1.dc.multitech.prv [Mon, 08 Oct 2018 10:41:45 -0500] rev 128

xdot-library revision 3.1.0-35-ge3d5c08 and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-28-g84dbee8 and mbed-os revision mbed-os-5.9.6

2018-09-18, by Jenkins@KEILDM1.dc.multitech.prv [Tue, 18 Sep 2018 08:25:41 -0500] rev 127

xdot-library revision 3.1.0-28-g84dbee8 and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-25-gaf5eb3e and mbed-os revision mbed-os-5.9.6

2018-09-12, by Jenkins@KEILDM1.dc.multitech.prv [Wed, 12 Sep 2018 15:04:54 -0500] rev 126

xdot-library revision 3.1.0-25-gaf5eb3e and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-24-gfd76f53 and mbed-os revision mbed-os-5.9.6

2018-09-05, by Jenkins@KEILDM1.dc.multitech.prv [Wed, 05 Sep 2018 16:39:27 -0500] rev 125

xdot-library revision 3.1.0-24-gfd76f53 and mbed-os revision mbed-os-5.9.6


xdot-library revision 3.1.0-23-g0219320 and mbed-os revision mbed-os-5.9.6

2018-09-05, by Jenkins@KEILDM1.dc.multitech.prv [Wed, 05 Sep 2018 14:19:36 -0500] rev 124

xdot-library revision 3.1.0-23-g0219320 and mbed-os revision mbed-os-5.9.6