Simple transparent bridge example for the RF Sub 1GHz module
Copyright 2021 Nathael Pajani <nathael.pajani@ed3l.fr>
/* ****************************************************************************
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*************************************************************************** */
This app uses the RF-Sub1GHz module from Techno-Innov to create an example of a
transparent bridge between UART0 and 868MHz RF.
This example has been kept very simple, thus there's no check on what's
received on the serial line, which has to be valid RF packets (with first byte
indicating length and second byte indicating destination address or broadcast).
The RF-Sub1GHz module uses CC1101 transceiver to provide Sub 1GHz Rf
connectivity.
Depending on the version, the module also integrates a TMP101 temparature
sensor, the usual bi-color led used for status, a RTC quartz, a DC-DC step-up
for button battery power source support, and extension ports with a set of
gpio, including ADC, PWM, I2C, SPI, UART and SWD debug port.
Refer to the RF-Sub1GHz module's reference manual for more information.