MultiTech / libmDot-Custom

Fork of libmDot-custom by Jason Reiss

You are viewing an older revision! See the latest version

Homepage

Warning

This library is currently in BETA release. Unresolved issues may be experienced. Software is provided as is with no expectation of support of bug fixes in the future. Please report issues found through the mbed website or directly to support.multitech.com.

Changing of channel plan parameters may cause the device to no longer respect local RF regulations. Please use caution and respect your local regulations.

Using libmDot-Custom 2.0.10 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.

Creating new channel plans

Copy EU868 or US915 custom channel plan from

Import programmDot_AT_firmware_CUSTOM

AT Firmware with custom channel plan support

as a starting point.

EU868 provides a framework for a DYNAMIC channel plan with duty-cycle limitations

Repository: mDot_AT_firmware_CUSTOM

US915 provides a framework for a FIXED channel plan

Repository: mDot_AT_firmware_CUSTOM

RADIO_POWERS are measured output in dBm for each radio tx power setting.

Additional MAC Commands can be implemented by overriding the HandleMacCommand function.

Steps

  1. Setup datarates, duty-cycle bands and channels in ChannelPlan_* constructor
  2. Modify GetJoinDatarate and CalculateJoinBackoff to change join datarates and backoff
  3. Customize HandleJoinAccept datarates
  4. Use GetRxWindow(int) to define how the device open Rx window 1 and 2
  5. GetNextChannel will pick a channel based before each TX

All wikipages