Skip to content

Commit 5eb752d

Browse files
authored
Merge pull request #634 from mcci-catena/issue633
Prepare for V3.3.0 release
2 parents 010bd07 + cc78b3f commit 5eb752d

15 files changed

+228
-67
lines changed

.github/ISSUE_TEMPLATE/00-support-request.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ assignees: terrillmoore
77

88
---
99

10+
**Consider raising support questions on the forum first**
11+
12+
There is a discussion site, [forum.mcci.io](https://forum.mcci.io), which includes a [category focused on the Arduino LMIC](https://forum.mcci.io/c/device-software/arduino-lmic/5). Unless you're sure that your problem is a bug in the LMIC, it would be great if you can try for help there first. That will keep issues focused on work that needs to be done by the developers.
13+
1014
**Describe your question or issue**
11-
A clear and concise description of the problem you're facing and what you'd like help with.
15+
16+
Please give a clear and concise description of the problem you're facing and what you'd like help with.
1217

1318
**Environment**
1419

15-
This information is all important; it's hard to help without a complete set of answers.
20+
This information is very important; it's hard to help without a complete set of answers.
1621

17-
- Version of LMIC being used:
22+
- Version of LMIC being used. If using the latest github mainline, let us know, otherwise state the version.
1823
- Version of Arduino IDE being used:
1924
- Network provider (The Things Network, Swisscom, ChirpStack, etc.)
2025
- Region (EU868, US915, etc.)

.github/ISSUE_TEMPLATE/bug_report.md renamed to .github/ISSUE_TEMPLATE/10-bug_report.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,32 @@ assignees: terrillmoore
99

1010
**Describe the bug**
1111

12-
A clear and concise description of what the bug is. _If you're not sure it's a bug, please file a Support Request instead._ A bug is a problem in the code, where you do something that the documentation says should work, but doesn't; _and_ you have reason to believe it's not working due to a defect in the code.
12+
A clear and concise description of what the bug is. _If you're not sure it's a bug, please consider opening a discussion at [forum.mcci.io](https://forum.mcci.io/c/device-software/arduino-lmic/5), or file a Support Request instead._ A bug is a problem in the code, where you do something that the documentation says should work, but doesn't; _and_ you have reason to believe it's not working due to a defect in the code.
1313

1414
Wireless is tricky; if in doubt, start with a support request, rather than a bug report.
1515

1616
**Environment**
1717

18-
- Version of LMIC being used:
19-
- Version of Arduino IDE being used:
18+
- Version of LMIC being used. If using the latest GitHub mainline, let us know, otherwise state the version.
19+
- Version of Arduino IDE being used.
2020
- Network provider (The Things Network, Swisscom, ChirpStack, etc.)
2121
- Region (EU868, US915, etc.)
2222
- Board (MCCI Catena, Adafruit Feather M0, Heltec, etc.)
2323
- CPU (AVR, STM32L0, etc.)
2424
- Radio (HopeRF, SX1276, etc.)
2525

2626
**To Reproduce**
27+
2728
Steps to reproduce the problem.
2829

2930
**Expected behavior**
31+
3032
A clear and concise description of what you expected to happen.
3133

3234
**Screenshots**
35+
3336
If applicable, add screenshots to help explain your problem.
3437

3538
**Additional context**
39+
3640
Add any other context about the problem here.
File renamed without changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Documentation issue
3+
about: Report a problem in the documentation
4+
title: ''
5+
labels: docs
6+
assignees: terrillmoore
7+
8+
---
9+
10+
Thanks for your contribution!
11+
12+
**What document is involved?**
13+
14+
If this is an existing document, please include the full path to the file.
15+
16+
If there's a need for a new document, please suggest the places in existing docs that should link to it.
17+
18+
Make sure you mention the version, and please also check the current version at GitHub, to be sure that the problem hasn't already been corrected for a pending release.
19+
20+
**What changes are needed?**
21+
22+
Indicate the changes you think are needed. Explicit help is always better. File a PR with your changes if possible!

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ script:
326326
- _notstm32l0 || arduino --verify --board $(_stm32l0opts 'mcci_catena_4618' us915 ) $MCCI_STM32_OPTS $PWD/examples/raw-halconfig/raw-halconfig.ino
327327
- _notstm32l0 || arduino --verify --board $(_stm32l0opts 'mcci_catena_4630' us915 ) $MCCI_STM32_OPTS $PWD/examples/raw-halconfig/raw-halconfig.ino
328328
- _notstm32l0 || arduino --verify --board $(_stm32l0opts 'mcci_catena_4801' us915 ) $MCCI_STM32_OPTS $PWD/examples/raw-halconfig/raw-halconfig.ino
329+
- _notstm32l0 || arduino --verify --board $(_stm32l0opts 'mcci_catena_4802' us915 ) $MCCI_STM32_OPTS $PWD/examples/raw-halconfig/raw-halconfig.ino
329330

330331
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4551' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
331332
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4610' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
@@ -335,6 +336,7 @@ script:
335336
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4618' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
336337
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4630' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
337338
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4801' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
339+
- _notstm32l0 || { _projcfg COMPILE_REGRESSION_TEST CFG_us915 CFG_sx1276_radio && arduino --verify --board $(_stm32l0opts 'mcci_catena_4802' projcfg) $MCCI_STM32_OPTS $PWD/examples/ttn-otaa-halconfig-us915/ttn-otaa-halconfig-us915.ino ; }
338340

339341

340342
### end of file ###

README.md

Lines changed: 83 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ modified to run in the Arduino environment, allowing using the SX1272,
55
SX1276 transceivers and compatible modules (such as some HopeRF RFM9x
66
modules and the Murata LoRa modules).
77

8-
This library mostly exposes the functions defined by LMIC, it makes no
8+
Information about the LoRaWAN protocol is summarized in [LoRaWAN-at-a-glance](doc/LoRaWAN-at-a-glance.pdf). Full information is available from the [LoRa Alliance](https://lora-alliance.org).
9+
10+
A support forum is available at [forum.mcci.io](https://forum.mcci.io/c/device-software/arduino-lmic/5).
11+
12+
The base Arduino library mostly exposes the functions defined by LMIC. It makes no
913
attempt to wrap them in a higher level API that is more in the Arduino
1014
style. To find out how to use the library itself, see the examples, or
11-
see the PDF file in the doc subdirectory.
15+
see the PDF files in the doc subdirectory.
1216

13-
The [MCCI `arduino-lorawan`](https://github.com/mcci-catena/arduino-lorawan) library provides a higher level, more Arduino-like wrapper which may be useful.
17+
A separate library, [MCCI `arduino-lorawan`](https://github.com/mcci-catena/arduino-lorawan), provides a higher level, more Arduino-like wrapper which may be useful.
1418

1519
This library requires Arduino IDE version 1.6.6 or above, since it
1620
requires C99 mode to be enabled by default.
1721

18-
[![GitHub release](https://img.shields.io/github/release/mcci-catena/arduino-lmic.svg)](https://github.com/mcci-catena/arduino-lmic/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/mcci-catena/arduino-lmic/latest.svg)](https://github.com/mcci-catena/arduino-lmic/compare/v3.2.0...master) [![Build Status](https://travis-ci.com/mcci-catena/arduino-lmic.svg?branch=master)](https://travis-ci.com/mcci-catena/arduino-lmic)
22+
[![GitHub release](https://img.shields.io/github/release/mcci-catena/arduino-lmic.svg)](https://github.com/mcci-catena/arduino-lmic/releases/latest) [![GitHub commits](https://img.shields.io/github/commits-since/mcci-catena/arduino-lmic/latest.svg)](https://github.com/mcci-catena/arduino-lmic/compare/v3.3.0...master) [![Build Status](https://travis-ci.com/mcci-catena/arduino-lmic.svg?branch=master)](https://travis-ci.com/mcci-catena/arduino-lmic)
1923

2024
**Contents:**
2125

@@ -33,75 +37,78 @@ requires C99 mode to be enabled by default.
3337
<!-- TOC depthFrom:2 updateOnSave:true -->
3438

3539
- [Installing](#installing)
40+
- [Getting Help](#getting-help)
41+
- [If it's not working](#if-its-not-working)
42+
- [If you've found a bug](#if-youve-found-a-bug)
3643
- [Features](#features)
3744
- [Additional Documentation](#additional-documentation)
38-
- [PDF/Word Documentation](#pdfword-documentation)
39-
- [Adding Regions](#adding-regions)
40-
- [Known bugs and issues](#known-bugs-and-issues)
41-
- [Timing Issues](#timing-issues)
42-
- [Working with MCCI Murata-based boards](#working-with-mcci-murata-based-boards)
43-
- [Event-Handling Issues](#event-handling-issues)
45+
- [PDF/Word Documentation](#pdfword-documentation)
46+
- [Adding Regions](#adding-regions)
47+
- [Known bugs and issues](#known-bugs-and-issues)
48+
- [Timing Issues](#timing-issues)
49+
- [Working with MCCI Murata-based boards](#working-with-mcci-murata-based-boards)
50+
- [Event-Handling Issues](#event-handling-issues)
4451
- [Configuration](#configuration)
45-
- [Selecting the LoRaWAN Version](#selecting-the-lorawan-version)
46-
- [Selecting V1.0.2](#selecting-v102)
47-
- [Selecting V1.0.3](#selecting-v103)
48-
- [Selecting the LoRaWAN Region Configuration](#selecting-the-lorawan-region-configuration)
49-
- [eu868, as923, in866, kr920](#eu868-as923-in866-kr920)
50-
- [us915, au915](#us915-au915)
51-
- [Selecting the target radio transceiver](#selecting-the-target-radio-transceiver)
52-
- [Controlling use of interrupts](#controlling-use-of-interrupts)
53-
- [Disabling PING](#disabling-ping)
54-
- [Disabling Beacons](#disabling-beacons)
55-
- [Enabling Network Time Support](#enabling-network-time-support)
56-
- [Rarely changed variables](#rarely-changed-variables)
57-
- [Changing debug output](#changing-debug-output)
58-
- [Getting debug from the RF library](#getting-debug-from-the-rf-library)
59-
- [Selecting the AES library](#selecting-the-aes-library)
60-
- [Defining the OS Tick Frequency](#defining-the-os-tick-frequency)
61-
- [Setting the SPI-bus frequency](#setting-the-spi-bus-frequency)
62-
- [Changing handling of runtime assertion failures](#changing-handling-of-runtime-assertion-failures)
63-
- [Disabling JOIN](#disabling-join)
64-
- [Disabling Class A MAC commands](#disabling-class-a-mac-commands)
65-
- [Disabling Class B MAC commands](#disabling-class-b-mac-commands)
66-
- [Disabling user events](#disabling-user-events)
67-
- [Disabling external reference to `onEvent()`](#disabling-external-reference-to-onevent)
68-
- [Enabling long messages](#enabling-long-messages)
69-
- [Enabling LMIC event logging calls](#enabling-lmic-event-logging-calls)
70-
- [Special purpose](#special-purpose)
52+
- [Selecting the LoRaWAN Version](#selecting-the-lorawan-version)
53+
- [Selecting V1.0.2](#selecting-v102)
54+
- [Selecting V1.0.3](#selecting-v103)
55+
- [Selecting the LoRaWAN Region Configuration](#selecting-the-lorawan-region-configuration)
56+
- [eu868, as923, in866, kr920](#eu868-as923-in866-kr920)
57+
- [us915, au915](#us915-au915)
58+
- [Selecting the target radio transceiver](#selecting-the-target-radio-transceiver)
59+
- [Controlling use of interrupts](#controlling-use-of-interrupts)
60+
- [Disabling PING](#disabling-ping)
61+
- [Disabling Beacons](#disabling-beacons)
62+
- [Enabling Network Time Support](#enabling-network-time-support)
63+
- [Rarely changed variables](#rarely-changed-variables)
64+
- [Changing debug output](#changing-debug-output)
65+
- [Getting debug from the RF library](#getting-debug-from-the-rf-library)
66+
- [Selecting the AES library](#selecting-the-aes-library)
67+
- [Defining the OS Tick Frequency](#defining-the-os-tick-frequency)
68+
- [Setting the SPI-bus frequency](#setting-the-spi-bus-frequency)
69+
- [Changing handling of runtime assertion failures](#changing-handling-of-runtime-assertion-failures)
70+
- [Disabling JOIN](#disabling-join)
71+
- [Disabling Class A MAC commands](#disabling-class-a-mac-commands)
72+
- [Disabling Class B MAC commands](#disabling-class-b-mac-commands)
73+
- [Disabling user events](#disabling-user-events)
74+
- [Disabling external reference to `onEvent()`](#disabling-external-reference-to-onevent)
75+
- [Enabling long messages](#enabling-long-messages)
76+
- [Enabling LMIC event logging calls](#enabling-lmic-event-logging-calls)
77+
- [Special purpose](#special-purpose)
7178
- [Supported hardware](#supported-hardware)
7279
- [Pre-Integrated Boards](#pre-integrated-boards)
7380
- [PlatformIO](#platformio)
7481
- [Manual configuration](#manual-configuration)
75-
- [Power](#power)
76-
- [SPI](#spi)
77-
- [DIO pins](#dio-pins)
78-
- [Reset](#reset)
79-
- [RXTX](#rxtx)
80-
- [RXTX Polarity](#rxtx-polarity)
81-
- [Pin mapping](#pin-mapping)
82-
- [Advanced initialization](#advanced-initialization)
83-
- [HalConfiguration_t methods](#halconfiguration_t-methods)
84-
- [LoRa Nexus by Ideetron](#lora-nexus-by-ideetron)
82+
- [Power](#power)
83+
- [SPI](#spi)
84+
- [DIO pins](#dio-pins)
85+
- [Reset](#reset)
86+
- [RXTX](#rxtx)
87+
- [RXTX Polarity](#rxtx-polarity)
88+
- [Pin mapping](#pin-mapping)
89+
- [Advanced initialization](#advanced-initialization)
90+
- [HalConfiguration_t methods](#halconfiguration_t-methods)
91+
- [LoRa Nexus by Ideetron](#lora-nexus-by-ideetron)
8592
- [Example Sketches](#example-sketches)
8693
- [Timing](#timing)
87-
- [Controlling protocol timing](#controlling-protocol-timing)
88-
- [`LMIC_setClockError()`](#lmic_setclockerror)
89-
- [Interrupts and Arduino system timing](#interrupts-and-arduino-system-timing)
94+
- [Controlling protocol timing](#controlling-protocol-timing)
95+
- [`LMIC_setClockError()`](#lmic_setclockerror)
96+
- [Interrupts and Arduino system timing](#interrupts-and-arduino-system-timing)
9097
- [Downlink data rate](#downlink-data-rate)
9198
- [Encoding Utilities](#encoding-utilities)
92-
- [sflt16](#sflt16)
93-
- [JavaScript decoder](#javascript-decoder)
94-
- [uflt16](#uflt16)
95-
- [uflt16 JavaScript decoder](#uflt16-javascript-decoder)
96-
- [sflt12](#sflt12)
97-
- [sflt12f JavaScript decoder](#sflt12f-javascript-decoder)
98-
- [uflt12](#uflt12)
99-
- [uflt12f JavaScript decoder](#uflt12f-javascript-decoder)
99+
- [sflt16](#sflt16)
100+
- [JavaScript decoder](#javascript-decoder)
101+
- [uflt16](#uflt16)
102+
- [uflt16 JavaScript decoder](#uflt16-javascript-decoder)
103+
- [sflt12](#sflt12)
104+
- [sflt12f JavaScript decoder](#sflt12f-javascript-decoder)
105+
- [uflt12](#uflt12)
106+
- [uflt12f JavaScript decoder](#uflt12f-javascript-decoder)
100107
- [Release History](#release-history)
101108
- [Contributions](#contributions)
102109
- [Trademark Acknowledgements](#trademark-acknowledgements)
103110
- [License](#license)
104-
- [Support Open Source Hardware and Software](#support-open-source-hardware-and-software)
111+
- [Support Open Source Hardware and Software](#support-open-source-hardware-and-software)
105112

106113
<!-- /TOC -->
107114
<!-- markdownlint-restore -->
@@ -120,6 +127,16 @@ To install this library:
120127

121128
For more info, see [https://www.arduino.cc/en/Guide/Libraries](https://www.arduino.cc/en/Guide/Libraries).
122129

130+
## Getting Help
131+
132+
### If it's not working
133+
134+
Ask questions at [`forum.mcci.io`](https://forum.mcci.io/c/device-software/arduino-lmic/5). Wireless is tricky, so don't be afraid to ask. The LMIC has been used successfully in a lot of applications, but it's common to have problems getting it working. To keep the code size down, there are not a lot of debugging features, and the features are not always easy to use.
135+
136+
### If you've found a bug
137+
138+
Raise a GitHub issue at [`github.com/mcci-catena/arduino-lmic`](https://github.com/mcci-catena/arduino-lmic/issues/).
139+
123140
## Features
124141

125142
The LMIC library provides a fairly complete LoRaWAN Class A and Class B
@@ -462,7 +479,7 @@ The following boards are pre-integrated.
462479
- Adafruit [Feather 32u4 LoRa 900 MHz][1] (SX1276)
463480
- Adafruit [Feather M0 LoRa 900 MHz][2] (SX1276)
464481
- MCCI Catena 4410, 4420, [4450][3], [4460][4] and [4470][5] boards (based on Adafruit Feather boards plus wings) (SX1276)
465-
- MCCI Catena 4551, [4610][6], 4611, [4612][7], 4617, [4618][7a], 4630, and [4801][8] boards (based on the Murata CMWX1ZZABZ-078 module) (SX1276)
482+
- MCCI Catena 4551, [4610][6], 4611, [4612][7], 4617, [4618][7a], 4630, [4801][8] and 4802[12] boards (based on the Murata CMWX1ZZABZ-078 module) (SX1276)
466483
- [TTGo LoRa32 V1][10] (based on the ESP32)
467484
- [Heltec WiFi LoRa 32 V2][11] (based on the ESP32)
468485

@@ -477,6 +494,7 @@ The following boards are pre-integrated.
477494
[8]: https://store.mcci.com/collections/lorawan-iot-and-the-things-network/products/catena-4801
478495
[10]: https://makeradvisor.com/tools/ttgo-lora32-sx1276-esp32-oled/
479496
[11]: https://heltec.org/project/wifi-lora-32/
497+
[12]: https://store.mcci.com/collections/lorawan-iot-and-the-things-network/products/catena-4802
480498

481499
> To help you know if you have to worry, we'll call such boards "pre-integrated" and prefix each section with suitable guidance.
482500
@@ -1220,6 +1238,12 @@ function uflt12f(rawUflt12)
12201238

12211239
## Release History
12221240

1241+
- v3.3.0 is primarily a maintenance and roll-up release.
1242+
1243+
- Added [LoRaWAN-at-a-glance](doc/LoRaWAN-at-a-glance.pdf) and a [state diagram of the LMIC](doc/LMIC-FSM.pdf).
1244+
- Several PRs from Matthijs Kooijman to improve compatibility with the original Arduino LMIC ([#608](https://github.com/mcci-catena/arduino-lmic/issue/608), [#609](https://github.com/mcci-catena/arduino-lmic/issue/609)).
1245+
- Numerous documentation improvements contributed by the community ([#431](https://github.com/mcci-catena/arduino-lmic/issue/), [#612](https://github.com/mcci-catena/arduino-lmic/issue/612), [#614](https://github.com/mcci-catena/arduino-lmic/issue/614), [#625](https://github.com/mcci-catena/arduino-lmic/issue/625)).
1246+
12231247
- v3.2.0 has the following changes:
12241248

12251249
- [#550](https://github.com/mcci-catena/arduino-lmic/issue/550) fixes debug prints in `ttn-otaa.ino`.

doc/LMIC-v3.0.99.docx

-97.8 KB
Binary file not shown.

doc/LMIC-v3.3.0-redline.pdf

561 KB
Binary file not shown.

doc/LMIC-v3.3.0.docx

99 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)