From 0d2fc70abbacca88cd15bc2d8832c27acd896709 Mon Sep 17 00:00:00 2001 From: Manuel Bleichenbacher Date: Sat, 21 Jul 2018 21:54:29 +0200 Subject: [PATCH] Fix license --- LICENSE | 2 +- README.md | 24 ------------------------ examples/hello_world/main/main.cpp | 9 +++++---- examples/send_recv/main/main.cpp | 9 +++++---- include/TheThingsNetwork.h | 9 +++++---- src/TheThingsNetwork.cpp | 9 +++++---- src/config.h | 9 +++++---- src/hal_esp32.c | 9 +++++---- src/hal_esp32.h | 9 +++++---- 9 files changed, 36 insertions(+), 53 deletions(-) diff --git a/LICENSE b/LICENSE index 8346651..2dc34d6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Manuel Bl. +Copyright (c) 2018 Manuel Bleichenbacher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 43afc2c..862f900 100644 --- a/README.md +++ b/README.md @@ -13,27 +13,3 @@ Follow the detailed [Get Started Guide](https://github.com/manuelbl/ttn-esp32/wi ## Supported Boards All boards with Semtech SX127x chips, RFM9x and compatibles are supported. It includes boards from ttgo, Heltec and HopeRF. - - -## Resources - -### SPI bus and pins - -Before the TTN device is configured, the SPI bus / host (`SPI_HOST`, `HSPI_HOST` or `VSPI_HOST`) must be configured by calling `spi_bus_initialize()`. In the SPI configuration, the pin number for SCK, MISO and MOSI are specified. - -The pin number of NSS (the radio chip's SPI chip select) is specified by calling `TheThingsNetwork::configurePins()`. - -The SPI bus frequency can be changed by running `make menuconfig`. - -### SX127x pins - -Except for the SPI pins, the pins connected to the SX127x radio chip are configured by calling `TheThingsNetwork::configurePins()`. The pins *RXTX* and *RTS* are optional. The chip can be used without connecting them. - -### Timer - -To implement the LoRaWAN protocol, a timer is needed. The ESP32 has four timers. By default, - timer 1 of timer group 0 is used. It can be changed by running `make menuconfig`. - -### Background thread - -Most of the LoRaWAN code is run in a background process with high priority (as the timing is crucial). The default priority is 10. It can be changed by running `make menuconfig`. diff --git a/examples/hello_world/main/main.cpp b/examples/hello_world/main/main.cpp index 6ee9bc2..289ea2c 100644 --- a/examples/hello_world/main/main.cpp +++ b/examples/hello_world/main/main.cpp @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * Sample program showing how to send a test message every 30 second. *******************************************************************************/ diff --git a/examples/send_recv/main/main.cpp b/examples/send_recv/main/main.cpp index b6b9e6d..5fa8265 100644 --- a/examples/send_recv/main/main.cpp +++ b/examples/send_recv/main/main.cpp @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * Sample program showing how to send and receive messages. *******************************************************************************/ diff --git a/include/TheThingsNetwork.h b/include/TheThingsNetwork.h index 5413634..2d4f906 100644 --- a/include/TheThingsNetwork.h +++ b/include/TheThingsNetwork.h @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * This the hardware abstraction layer to run LMIC in on ESP32 using ESP-iDF. *******************************************************************************/ diff --git a/src/TheThingsNetwork.cpp b/src/TheThingsNetwork.cpp index a56b5c0..0ca6d79 100644 --- a/src/TheThingsNetwork.cpp +++ b/src/TheThingsNetwork.cpp @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * This the hardware abstraction layer to run LMIC in on ESP32 using ESP-iDF. *******************************************************************************/ diff --git a/src/config.h b/src/config.h index bc6c60d..478f72b 100644 --- a/src/config.h +++ b/src/config.h @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * This the hardware abstraction layer to run LMIC in on ESP32 using ESP-iDF. *******************************************************************************/ diff --git a/src/hal_esp32.c b/src/hal_esp32.c index af3cc62..00cc96a 100755 --- a/src/hal_esp32.c +++ b/src/hal_esp32.c @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * Hardware abstraction layer to run LMIC on a ESP32 using ESP-iDF. *******************************************************************************/ diff --git a/src/hal_esp32.h b/src/hal_esp32.h index c2aa37e..0a7ec5f 100644 --- a/src/hal_esp32.h +++ b/src/hal_esp32.h @@ -1,10 +1,11 @@ /******************************************************************************* + * + * ttn-esp32 - The Things Network device library for ESP-IDF / SX127x + * * Copyright (c) 2018 Manuel Bleichenbacher * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * Licensed under MIT License + * https://opensource.org/licenses/MIT * * Hardware abstraction layer to run LMIC on a ESP32 using ESP-iDF. *******************************************************************************/