Bleeding edge development version of the mDot 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:   mDot-IKS01A1 mDot-IKS01A1 mDot-Examples mDot-IKS01A1-Explora ... more

Fork of libmDot-dev-mbed2-deprecated by MultiTech

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.

Revisions of libmDot.ar

Revision Date Message Actions
40:04732c03bdd1 2016-09-13 update from git revision 2.0.9-2-gaefe95e File  Diff  Annotate
39:68b270b3eb5a 2016-09-13 update from git revision 2.0.9 File  Diff  Annotate
38:7805077aca4c 2016-09-13 update from git revision 2.0.8-2-g83f0c1f File  Diff  Annotate
37:85ab51620cca 2016-09-13 update from git revision 2.0.8-1-g6f2b11f File  Diff  Annotate
36:b623d7713ea3 2016-09-09 update from git revision 2.0.8 File  Diff  Annotate
35:a666b7d380e2 2016-09-09 update from git revision 2.0.6-19-ga6c9183 File  Diff  Annotate
34:0a7e28568359 2016-09-08 update from git revision 2.0.6-18-g13caa2b File  Diff  Annotate
33:57082f91aab9 2016-09-08 update from git revision 2.0.6-17-ga4b3ffc File  Diff  Annotate
32:ccd7b1cd40cf 2016-09-08 update from git revision 2.0.6-15-g4eabd61 File  Diff  Annotate
31:7fdee197d415 2016-09-08 update from git revision 2.0.6-13-g2591897 File  Diff  Annotate
30:c3150500b324 2016-09-07 update from git revision 2.0.6-11-gaae06a1 File  Diff  Annotate
29:58f367ec5905 2016-09-06 update from git revision 2.0.6-9-g7ff961b File  Diff  Annotate
28:af5eea5de2bc 2016-08-30 update from git revision 2.0.6-8-g38e8466 File  Diff  Annotate
27:77283306c283 2016-08-30 update from git revision 2.0.6-7-g3dda6ef File  Diff  Annotate
26:17479e0039f6 2016-08-30 update from git revision 2.0.6-5-g26d9b3f File  Diff  Annotate
25:27e9d60ed709 2016-08-29 update from git revision 2.0.6-2-ge3d307b File  Diff  Annotate
24:60403f170c76 2016-08-26 update from git revision 2.0.6-1-g3959fe1 File  Diff  Annotate
23:1fdfc0f71191 2016-08-25 update from git revision 2.0.5-1-gf4314b7 File  Diff  Annotate
22:04e5cef7fe94 2016-08-25 update from git revision 2.0.5 File  Diff  Annotate
21:d572753989fd 2016-08-24 update from git revision 2.0.4 File  Diff  Annotate
20:9d665711ad56 2016-08-19 update from git revision 2.0.3-15-g0042cdf File  Diff  Annotate
19:f3a46d2bb9b3 2016-08-19 update from git revision 2.0.3-15-g0042cdf File  Diff  Annotate
18:3c8034e35a3e 2016-08-18 update to version 2.0.3 File  Diff  Annotate
17:306ffaa5d79b 2016-08-17 update library to 2.0.2 File  Diff  Annotate
16:b630e18103e5 2016-08-04 update from libmDot-2.0.1-ARMCC.tar.gz File  Diff  Annotate
15:ea598f178cce 2016-03-29 update to version 1.0.7 of mDot library File  Diff  Annotate
12:54f9cac9d690 2016-03-10 update to version 1.0.3-1 of mDot library File  Diff  Annotate
11:d8464345e1f1 2016-01-07 build library against mbed rev 104 instead of 111 until RTC issue is fixed File  Diff  Annotate
10:27dafba9fe19 2015-12-02 Adding support for "sleep" mode and RTC_ALARM_OR_INTERRUPT wakeup File  Diff  Annotate
9:ec2fffe31793 2015-11-10 Update libmDot with RTC clock changes to preserve over sleep File  Diff  Annotate
8:b43d82da7009 2015-08-18 update to git revision 991480d7b9ffc0a1078d42068117530f51543abc File  Diff  Annotate
7:683dba5d576f 2015-08-17 update to version 0.0.7 File  Diff  Annotate
6:390fc83d588d 2015-07-16 update from rev 0310fa23bc9c37c0575342961eac26e61d0966f4. NOTE: this version breaks compatibility with older MTS network server versions - use setJoinByteOrder(mDot::MSB) if operating with a network server version earlier than 0.0.5 or AEP 1.0.30 File  Diff  Annotate
5:0bfe6a650513 2015-07-07 update from revision 8f17f909cd6be946ce224094891e211901ac4836 - allow a DigitalOut pointer to be passed in and used as activity LED File  Diff  Annotate
4:94969e981dcc 2015-06-30 update mDot library and mDot.h from git revision c5af21e8ddc6d37b5cd2f375c4b3b50ab50af026 File  Diff  Annotate
1:9f30fbe9e9c1 2015-06-24 add README, LICENSE, headers, and library - from git tag mbed_24June2015 File  Diff  Annotate