Changed name to RadioLib
This commit is contained in:
parent
f4254c6258
commit
2101203d07
64 changed files with 194 additions and 178 deletions
|
@ -15,7 +15,7 @@ before_install:
|
||||||
- export PATH=$PATH:$HOME/arduino-ide
|
- export PATH=$PATH:$HOME/arduino-ide
|
||||||
install:
|
install:
|
||||||
- mkdir -p $HOME/Arduino/libraries
|
- mkdir -p $HOME/Arduino/libraries
|
||||||
- ln -s $PWD $HOME/Arduino/libraries/KiteLib
|
- ln -s $PWD $HOME/Arduino/libraries/RadioLib
|
||||||
script:
|
script:
|
||||||
# build all example sketches
|
# build all example sketches
|
||||||
- cd examples
|
- cd examples
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# RadioLib [](https://travis-ci.org/jgromes/KiteLib)
|
# RadioLib [](https://travis-ci.org/jgromes/RadioLib)
|
||||||
|
|
||||||
### _One radio library to rule them all!_
|
### _One radio library to rule them all!_
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/*
|
/*
|
||||||
KiteLib CC1101 Transmit Example
|
RadioLib CC1101 Transmit Example
|
||||||
|
|
||||||
This example transmits packets using CC1101 FSK radio module.
|
This example transmits packets using CC1101 FSK radio module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// CC1101 is in slot A on the shield
|
// CC1101 is in slot A on the shield
|
||||||
CC1101 cc = Kite.ModuleA;
|
CC1101 cc = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib HC05 Example
|
RadioLib HC05 Example
|
||||||
|
|
||||||
This example sends data using HC05 Bluetooth module.
|
This example sends data using HC05 Bluetooth module.
|
||||||
HC05 works exactly like a Serial line, data are sent to the paired device.
|
HC05 works exactly like a Serial line, data are sent to the paired device.
|
||||||
|
@ -7,10 +7,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// HC05 module is in slot A on the shield
|
// HC05 module is in slot A on the shield
|
||||||
HC05 bluetooth = Kite.ModuleA;
|
HC05 bluetooth = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib HTTP GET Example
|
RadioLib HTTP GET Example
|
||||||
|
|
||||||
This example sends HTTP GET request using ESP8266 WiFi module.
|
This example sends HTTP GET request using ESP8266 WiFi module.
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// ESP8266 module is in slot A on the shield
|
// ESP8266 module is in slot A on the shield
|
||||||
ESP8266 wifi = Kite.ModuleA;
|
ESP8266 wifi = RadioShield.ModuleA;
|
||||||
|
|
||||||
// create HTTP client instance using the wifi module
|
// create HTTP client instance using the wifi module
|
||||||
// the default port used for HTTP is 80
|
// the default port used for HTTP is 80
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib HTTP POST Example
|
RadioLib HTTP POST Example
|
||||||
|
|
||||||
This example sends HTTP POST request using ESP8266 WiFi module.
|
This example sends HTTP POST request using ESP8266 WiFi module.
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// ESP8266 module is in slot A on the shield
|
// ESP8266 module is in slot A on the shield
|
||||||
ESP8266 wifi = Kite.ModuleA;
|
ESP8266 wifi = RadioShield.ModuleA;
|
||||||
|
|
||||||
// create HTTP client instance using the wifi module
|
// create HTTP client instance using the wifi module
|
||||||
// the default port used for HTTP is 80
|
// the default port used for HTTP is 80
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/*
|
/*
|
||||||
KiteLib JDY08 Example
|
RadioLib JDY08 Example
|
||||||
|
|
||||||
This example sends data using JDY08 Bluetooth module.
|
This example sends data using JDY08 Bluetooth module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// JDY08 module is in slot A on the shield
|
// JDY08 module is in slot A on the shield
|
||||||
JDY08 ble = Kite.ModuleA;
|
JDY08 ble = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib MQTT Publish Example
|
RadioLib MQTT Publish Example
|
||||||
|
|
||||||
This example publishes MQTT messages using ESP8266 WiFi module.
|
This example publishes MQTT messages using ESP8266 WiFi module.
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// ESP8266 module is in slot A on the shield
|
// ESP8266 module is in slot A on the shield
|
||||||
ESP8266 wifi = Kite.ModuleA;
|
ESP8266 wifi = RadioShield.ModuleA;
|
||||||
|
|
||||||
// create MQTT client instance using the wifi module
|
// create MQTT client instance using the wifi module
|
||||||
// the default port used for MQTT is 1883
|
// the default port used for MQTT is 1883
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib MQTT Subscribe Example
|
RadioLib MQTT Subscribe Example
|
||||||
|
|
||||||
This example subscribes to MQTT topic using ESP8266 WiFi module.
|
This example subscribes to MQTT topic using ESP8266 WiFi module.
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// ESP8266 module is in slot A on the shield
|
// ESP8266 module is in slot A on the shield
|
||||||
ESP8266 wifi = Kite.ModuleA;
|
ESP8266 wifi = RadioShield.ModuleA;
|
||||||
|
|
||||||
// create MQTT client instance using the wifi module
|
// create MQTT client instance using the wifi module
|
||||||
// the default port used for MQTT is 1883
|
// the default port used for MQTT is 1883
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Receive Example
|
RadioLib RF69 Receive Example
|
||||||
|
|
||||||
This example receives packets using RF69 FSK radio module.
|
This example receives packets using RF69 FSK radio module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Receive with AES Example
|
RadioLib RF69 Receive with AES Example
|
||||||
|
|
||||||
This example receives packets using RF69 FSK radio module.
|
This example receives packets using RF69 FSK radio module.
|
||||||
Packets are decrypted using hardware AES.
|
Packets are decrypted using hardware AES.
|
||||||
|
@ -7,10 +7,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Receive with Address Example
|
RadioLib RF69 Receive with Address Example
|
||||||
|
|
||||||
This example receives packets using RF69 FSK radio module.
|
This example receives packets using RF69 FSK radio module.
|
||||||
Packets can have 1-byte address of the destination node.
|
Packets can have 1-byte address of the destination node.
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,6 +1,21 @@
|
||||||
#include <KiteLib.h>
|
/*
|
||||||
|
RadioLib RF69 Receive with Inerrupts Example
|
||||||
|
|
||||||
RF69 rf = Kite.ModuleA;
|
This example listens for FSK transmissions and tries to
|
||||||
|
receive them. Once a packet is received, an interrupt is
|
||||||
|
triggered. To successfully receive data, the following
|
||||||
|
settings have to be the same on both transmitter
|
||||||
|
and receiver:
|
||||||
|
- carrier frequency
|
||||||
|
- bandwidth
|
||||||
|
- spreading factor
|
||||||
|
- coding rate
|
||||||
|
- sync word
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <RadioLib.h>
|
||||||
|
|
||||||
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX127x Settings Example
|
RadioLib SX127x Settings Example
|
||||||
|
|
||||||
This example shows how to change all the properties of RF69 radio.
|
This example shows how to change all the properties of RF69 radio.
|
||||||
KiteLib currently supports the following settings:
|
RadioLib currently supports the following settings:
|
||||||
- pins (SPI slave select, digital IO 0, digital IO 1)
|
- pins (SPI slave select, digital IO 0, digital IO 1)
|
||||||
- carrier frequency
|
- carrier frequency
|
||||||
- bit rate
|
- bit rate
|
||||||
|
@ -13,12 +13,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
RF69 rf1 = Kite.ModuleA;
|
RF69 rf1 = RadioShield.ModuleA;
|
||||||
|
|
||||||
// if you're not using Kite shield, you can specify
|
// if you're not using RadioShield, you can specify
|
||||||
// the connection yourself
|
// the connection yourself
|
||||||
// NSS pin: 6
|
// NSS pin: 6
|
||||||
// DIO0 pin: 4
|
// DIO0 pin: 4
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Transmit Example
|
RadioLib RF69 Transmit Example
|
||||||
|
|
||||||
This example transmits packets using RF69 FSK radio module.
|
This example transmits packets using RF69 FSK radio module.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Transmit with AES Example
|
RadioLib RF69 Transmit with AES Example
|
||||||
|
|
||||||
This example transmits packets using RF69 FSK radio module.
|
This example transmits packets using RF69 FSK radio module.
|
||||||
Packets are encrypted using hardware AES.
|
Packets are encrypted using hardware AES.
|
||||||
|
@ -7,10 +7,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RF69 Transmit to Address Example
|
RadioLib RF69 Transmit to Address Example
|
||||||
|
|
||||||
This example transmits packets using RF69 FSK radio module.
|
This example transmits packets using RF69 FSK radio module.
|
||||||
Packets can have 1-byte address of the destination node.
|
Packets can have 1-byte address of the destination node.
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// RF69 module is in slot A on the shield
|
// RF69 module is in slot A on the shield
|
||||||
RF69 rf = Kite.ModuleA;
|
RF69 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib RTTY Transmit Example
|
RadioLib RTTY Transmit Example
|
||||||
|
|
||||||
This example sends RTTY message using SX1278's
|
This example sends RTTY message using SX1278's
|
||||||
FSK modem.
|
FSK modem.
|
||||||
|
@ -7,14 +7,15 @@
|
||||||
Other modules that can be used for RTTY:
|
Other modules that can be used for RTTY:
|
||||||
- SX1272/73/76/77/79
|
- SX1272/73/76/77/79
|
||||||
- RF69
|
- RF69
|
||||||
|
- SX1231
|
||||||
- CC1101
|
- CC1101
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 fsk = Kite.ModuleA;
|
SX1278 fsk = RadioShield.ModuleA;
|
||||||
|
|
||||||
// create RTTY client instance using the FSK module
|
// create RTTY client instance using the FSK module
|
||||||
RTTYClient rtty(&fsk);
|
RTTYClient rtty(&fsk);
|
||||||
|
@ -63,7 +64,7 @@ void setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// KiteLib also provides ITA2 ("Baudot") support
|
// RadioLib also provides ITA2 ("Baudot") support
|
||||||
rtty.begin(434, 183, 45, ITA2);
|
rtty.begin(434, 183, 45, ITA2);
|
||||||
|
|
||||||
// All transmissions in loop() (strings and numbers)
|
// All transmissions in loop() (strings and numbers)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX1231 Receive Example
|
RadioLib SX1231 Receive Example
|
||||||
|
|
||||||
This example receives packets using SX1231 FSK radio module.
|
This example receives packets using SX1231 FSK radio module.
|
||||||
|
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1231 module is in slot A on the shield
|
// SX1231 module is in slot A on the shield
|
||||||
SX1231 rf = Kite.ModuleA;
|
SX1231 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX1231 Transmit Example
|
RadioLib SX1231 Transmit Example
|
||||||
|
|
||||||
This example transmits packets using SX1231 FSK radio module.
|
This example transmits packets using SX1231 FSK radio module.
|
||||||
|
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1231 module is in slot A on the shield
|
// SX1231 module is in slot A on the shield
|
||||||
SX1231 rf = Kite.ModuleA;
|
SX1231 rf = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX127x Channel Activity Detection Example
|
RadioLib SX127x Channel Activity Detection Example
|
||||||
|
|
||||||
This example scans the current LoRa channel and detects
|
This example scans the current LoRa channel and detects
|
||||||
valid LoRa preambles. Preamble is the first part of
|
valid LoRa preambles. Preamble is the first part of
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 lora = Kite.ModuleA;
|
SX1278 lora = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX127x Receive Example
|
RadioLib SX127x Receive Example
|
||||||
|
|
||||||
This example listens for LoRa transmissions using SX127x Lora modules.
|
This example listens for LoRa transmissions using SX127x Lora modules.
|
||||||
To successfully receive data, the following settings have to be the same
|
To successfully receive data, the following settings have to be the same
|
||||||
|
@ -15,10 +15,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 lora = Kite.ModuleA;
|
SX1278 lora = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib Receive with Inerrupts Example
|
RadioLib SX127x Receive with Inerrupts Example
|
||||||
|
|
||||||
This example listens for LoRa transmissions and tries to
|
This example listens for LoRa transmissions and tries to
|
||||||
receive them. Once a packet is received, an interrupt is
|
receive them. Once a packet is received, an interrupt is
|
||||||
|
@ -16,10 +16,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 lora = Kite.ModuleA;
|
SX1278 lora = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX127x Settings Example
|
RadioLib SX127x Settings Example
|
||||||
|
|
||||||
This example shows how to change all the properties of LoRa transmission.
|
This example shows how to change all the properties of LoRa transmission.
|
||||||
KiteLib currently supports the following settings:
|
RadioLib currently supports the following settings:
|
||||||
- pins (SPI slave select, digital IO 0, digital IO 1)
|
- pins (SPI slave select, digital IO 0, digital IO 1)
|
||||||
- carrier frequency
|
- carrier frequency
|
||||||
- bandwidth
|
- bandwidth
|
||||||
|
@ -15,13 +15,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 loraSX1278 = Kite.ModuleA;
|
SX1278 loraSX1278 = RadioShield.ModuleA;
|
||||||
|
|
||||||
// SX1272 module is in slot B on the shield
|
// SX1272 module is in slot B on the shield
|
||||||
SX1272 loraSX1272 = Kite.ModuleB;
|
SX1272 loraSX1272 = RadioShield.ModuleB;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib SX127x Transmit Example
|
RadioLib SX127x Transmit Example
|
||||||
|
|
||||||
This example transmits packets using SX1278 LoRa radio module.
|
This example transmits packets using SX1278 LoRa radio module.
|
||||||
Each packet contains up to 256 bytes of data, in the form of:
|
Each packet contains up to 256 bytes of data, in the form of:
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 lora = Kite.ModuleA;
|
SX1278 lora = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib Transmit with Inerrupts Example
|
RadioLib Transmit with Inerrupts Example
|
||||||
|
|
||||||
This example transmits LoRa packets with one second delays
|
This example transmits LoRa packets with one second delays
|
||||||
between them. Each packet contains up to 256 bytes
|
between them. Each packet contains up to 256 bytes
|
||||||
|
@ -12,10 +12,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// SX1278 module is in slot A on the shield
|
// SX1278 module is in slot A on the shield
|
||||||
SX1278 lora = Kite.ModuleA;
|
SX1278 lora = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib XBee API Receive Example
|
RadioLib XBee API Receive Example
|
||||||
|
|
||||||
This example receives packets using XBee API mode.
|
This example receives packets using XBee API mode.
|
||||||
In API mode, many XBee modules can form a mesh network.
|
In API mode, many XBee modules can form a mesh network.
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// XBee module is in slot A on the shield
|
// XBee module is in slot A on the shield
|
||||||
XBee bee = Kite.ModuleA;
|
XBee bee = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib XBee API Transmit Example
|
RadioLib XBee API Transmit Example
|
||||||
|
|
||||||
This example transmits packets using XBee API mode.
|
This example transmits packets using XBee API mode.
|
||||||
In API mode, many XBee modules can form a mesh network.
|
In API mode, many XBee modules can form a mesh network.
|
||||||
|
@ -9,10 +9,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// XBee module is in slot A on the shield
|
// XBee module is in slot A on the shield
|
||||||
XBee bee = Kite.ModuleA;
|
XBee bee = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib XBee Transparent Operation Example
|
RadioLib XBee Transparent Operation Example
|
||||||
|
|
||||||
This example transmits packets using XBee Transparent mode.
|
This example transmits packets using XBee Transparent mode.
|
||||||
In Transparent mode, two XBee modules act like a Serial line.
|
In Transparent mode, two XBee modules act like a Serial line.
|
||||||
|
@ -11,10 +11,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// include the library
|
// include the library
|
||||||
#include <KiteLib.h>
|
#include <RadioLib.h>
|
||||||
|
|
||||||
// XBee module is in slot A on the shield
|
// XBee module is in slot A on the shield
|
||||||
XBeeSerial bee = Kite.ModuleA;
|
XBeeSerial bee = RadioShield.ModuleA;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
KiteLib Module Template header file
|
RadioLib Module Template header file
|
||||||
|
|
||||||
Before opening pull request, please make sure that:
|
Before opening pull request, please make sure that:
|
||||||
1. All files MUST be compiled without errors using default Arduino IDE settings.
|
1. All files MUST be compiled without errors using default Arduino IDE settings.
|
||||||
|
@ -12,8 +12,8 @@
|
||||||
If at any point you are unsure about the required style, please refer to the rest of the modules.
|
If at any point you are unsure about the required style, please refer to the rest of the modules.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _KITELIB_<module_name>_H
|
#ifndef _RADIOLIB_<module_name>_H
|
||||||
#define _KITELIB_<module_name>_H
|
#define _RADIOLIB_<module_name>_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Header file for each module MUST include Module.h.
|
Header file for each module MUST include Module.h.
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
#######################################
|
#######################################
|
||||||
# Syntax Coloring Map For KiteLib
|
# Syntax Coloring Map For RadioLib
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# Datatypes (KEYWORD1)
|
# Datatypes (KEYWORD1)
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
KiteLib KEYWORD1
|
RadioLib KEYWORD1
|
||||||
Kite KEYWORD1
|
RadioShield KEYWORD1
|
||||||
Module KEYWORD1
|
Module KEYWORD1
|
||||||
|
|
||||||
CC1101 KEYWORD1
|
CC1101 KEYWORD1
|
||||||
|
@ -37,7 +37,7 @@ RTTYClient KEYWORD1
|
||||||
# Methods and Functions (KEYWORD2)
|
# Methods and Functions (KEYWORD2)
|
||||||
#######################################
|
#######################################
|
||||||
|
|
||||||
# KiteLib
|
# RadioLib
|
||||||
ModuleA KEYWORD2
|
ModuleA KEYWORD2
|
||||||
ModuleB KEYWORD2
|
ModuleB KEYWORD2
|
||||||
Module KEYWORD2
|
Module KEYWORD2
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
name=KiteLib
|
name=RadioLib
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
author=Jan Gromes <gipsonek@gmail.com>
|
author=Jan Gromes <gipsonek@gmail.com>
|
||||||
maintainer=Jan Gromes <gipsonek@gmail.com>
|
maintainer=Jan Gromes <gipsonek@gmail.com>
|
||||||
sentence=Arduino library for the KITE shield
|
sentence=Universal wireless communication library for Arduino
|
||||||
paragraph=Enables user-friendly control of the KITE shield and various wireless modules.
|
paragraph=Enables user-friendly control of the RadioShield and various wireless modules.
|
||||||
category=Communication
|
category=Communication
|
||||||
url=https://github.com/jgromes/KiteLib
|
url=https://github.com/jgromes/RadioLib
|
||||||
architectures=*
|
architectures=*
|
||||||
includes=KiteLib.h
|
includes=RadioLib.h
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_ISERIAL_H
|
#ifndef _RADIOLIB_ISERIAL_H
|
||||||
#define _KITELIB_ISERIAL_H
|
#define _RADIOLIB_ISERIAL_H
|
||||||
|
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#include "KiteLib.h"
|
|
||||||
|
|
||||||
KiteShield::KiteShield() {
|
|
||||||
ModuleA = new Module(KITE_CS_A, KITE_RX_A, KITE_TX_A, KITE_INT_0, KITE_INT_1);
|
|
||||||
ModuleB = new Module(KITE_CS_B, KITE_RX_B, KITE_TX_B, KITE_INT_0, KITE_INT_1);
|
|
||||||
}
|
|
||||||
|
|
||||||
KiteShield Kite;
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_MODULE_H
|
#ifndef _RADIOLIB_MODULE_H
|
||||||
#define _KITELIB_MODULE_H
|
#define _RADIOLIB_MODULE_H
|
||||||
|
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
//#include <Wire.h>
|
//#include <Wire.h>
|
||||||
|
|
8
src/RadioLib.cpp
Normal file
8
src/RadioLib.cpp
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#include "RadioLib.h"
|
||||||
|
|
||||||
|
Radio::Radio() {
|
||||||
|
ModuleA = new Module(RADIOSHIELD_CS_A, RADIOSHIELD_RX_A, RADIOSHIELD_TX_A, RADIOSHIELD_INT_0, RADIOSHIELD_INT_1);
|
||||||
|
ModuleB = new Module(RADIOSHIELD_CS_B, RADIOSHIELD_RX_B, RADIOSHIELD_TX_B, RADIOSHIELD_INT_0, RADIOSHIELD_INT_1);
|
||||||
|
}
|
||||||
|
|
||||||
|
Radio RadioShield;
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_H
|
#ifndef _RADIOLIB_H
|
||||||
#define _KITELIB_H
|
#define _RADIOLIB_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
@ -28,18 +28,18 @@
|
||||||
#include "protocols/HTTP.h"
|
#include "protocols/HTTP.h"
|
||||||
#include "protocols/MQTT.h"
|
#include "protocols/MQTT.h"
|
||||||
|
|
||||||
#define KITE_CS_A 10
|
#define RADIOSHIELD_CS_A 10
|
||||||
#define KITE_RX_A 9
|
#define RADIOSHIELD_RX_A 9
|
||||||
#define KITE_TX_A 8
|
#define RADIOSHIELD_TX_A 8
|
||||||
#define KITE_CS_B 5
|
#define RADIOSHIELD_CS_B 5
|
||||||
#define KITE_RX_B 7
|
#define RADIOSHIELD_RX_B 7
|
||||||
#define KITE_TX_B 6
|
#define RADIOSHIELD_TX_B 6
|
||||||
#define KITE_INT_0 2
|
#define RADIOSHIELD_INT_0 2
|
||||||
#define KITE_INT_1 3
|
#define RADIOSHIELD_INT_1 3
|
||||||
|
|
||||||
class KiteShield {
|
class Radio {
|
||||||
public:
|
public:
|
||||||
KiteShield();
|
Radio();
|
||||||
|
|
||||||
Module* ModuleA;
|
Module* ModuleA;
|
||||||
Module* ModuleB;
|
Module* ModuleB;
|
||||||
|
@ -49,6 +49,6 @@ class KiteShield {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern KiteShield Kite;
|
extern Radio RadioShield;
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_TYPES_H
|
#ifndef _RADIOLIB_TYPES_H
|
||||||
#define _KITELIB_TYPES_H
|
#define _RADIOLIB_TYPES_H
|
||||||
|
|
||||||
#if ARDUINO >= 100
|
#if ARDUINO >= 100
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
@ -7,9 +7,9 @@
|
||||||
#include "WProgram.h"
|
#include "WProgram.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define KITELIB_DEBUG
|
//#define RADIOLIB_DEBUG
|
||||||
|
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
#define DEBUG_BEGIN(x) Serial.begin (x)
|
#define DEBUG_BEGIN(x) Serial.begin (x)
|
||||||
#define DEBUG_PRINT(x) Serial.print (x)
|
#define DEBUG_PRINT(x) Serial.print (x)
|
||||||
#define DEBUG_PRINT_BIN(x) Serial.print (x, BIN)
|
#define DEBUG_PRINT_BIN(x) Serial.print (x, BIN)
|
||||||
|
|
|
@ -18,7 +18,7 @@ int16_t CC1101::begin(float freq, float br, float rxBw, float freqDev) {
|
||||||
if(version == 0x14) {
|
if(version == 0x14) {
|
||||||
flagFound = true;
|
flagFound = true;
|
||||||
} else {
|
} else {
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
Serial.print(F("CC1101 not found! ("));
|
Serial.print(F("CC1101 not found! ("));
|
||||||
Serial.print(i + 1);
|
Serial.print(i + 1);
|
||||||
Serial.print(F(" of 10 tries) CC1101_REG_VERSION == "));
|
Serial.print(F(" of 10 tries) CC1101_REG_VERSION == "));
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_CC1101_H
|
#ifndef _RADIOLIB_CC1101_H
|
||||||
#define _KITELIB_CC1101_H
|
#define _RADIOLIB_CC1101_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_ESP8266_H
|
#ifndef _RADIOLIB_ESP8266_H
|
||||||
#define _KITELIB_ESP8266_H
|
#define _RADIOLIB_ESP8266_H
|
||||||
|
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_HC05_H
|
#ifndef _RADIOLIB_HC05_H
|
||||||
#define _KITELIB_HC05_H
|
#define _RADIOLIB_HC05_H
|
||||||
|
|
||||||
#include "ISerial.h"
|
#include "ISerial.h"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_JDY08_H
|
#ifndef _RADIOLIB_JDY08_H
|
||||||
#define _KITELIB_JDY08_H
|
#define _RADIOLIB_JDY08_H
|
||||||
|
|
||||||
#include "ISerial.h"
|
#include "ISerial.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ int16_t RF69::begin(float freq, float br, float rxBw, float freqDev, int8_t powe
|
||||||
if(version == 0x24) {
|
if(version == 0x24) {
|
||||||
flagFound = true;
|
flagFound = true;
|
||||||
} else {
|
} else {
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
Serial.print(F("RF69 not found! ("));
|
Serial.print(F("RF69 not found! ("));
|
||||||
Serial.print(i + 1);
|
Serial.print(i + 1);
|
||||||
Serial.print(F(" of 10 tries) RF69_REG_VERSION == "));
|
Serial.print(F(" of 10 tries) RF69_REG_VERSION == "));
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_RF69_H
|
#ifndef _RADIOLIB_RF69_H
|
||||||
#define _KITELIB_RF69_H
|
#define _RADIOLIB_RF69_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_RFM95_H
|
#ifndef _RADIOLIB_RFM95_H
|
||||||
#define _KITELIB_RFM95_H
|
#define _RADIOLIB_RFM95_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_RFM96_H
|
#ifndef _RADIOLIB_RFM96_H
|
||||||
#define _KITELIB_RFM96_H
|
#define _RADIOLIB_RFM96_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_RFM97_H
|
#ifndef _RADIOLIB_RFM97_H
|
||||||
#define _KITELIB_RFM97_H
|
#define _RADIOLIB_RFM97_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@ int16_t SX1231::begin(float freq, float br, float rxBw, float freqDev, int8_t po
|
||||||
flagFound = true;
|
flagFound = true;
|
||||||
_chipRevision = version;
|
_chipRevision = version;
|
||||||
} else {
|
} else {
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
Serial.print(F("SX127x not found! ("));
|
Serial.print(F("SX127x not found! ("));
|
||||||
Serial.print(i + 1);
|
Serial.print(i + 1);
|
||||||
Serial.print(F(" of 10 tries) SX127X_REG_VERSION == "));
|
Serial.print(F(" of 10 tries) SX127X_REG_VERSION == "));
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1231_H
|
#ifndef _RADIOLIB_SX1231_H
|
||||||
#define _KITELIB_SX1231_H
|
#define _RADIOLIB_SX1231_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1272_H
|
#ifndef _RADIOLIB_SX1272_H
|
||||||
#define _KITELIB_SX1272_H
|
#define _RADIOLIB_SX1272_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1273_H
|
#ifndef _RADIOLIB_SX1273_H
|
||||||
#define _KITELIB_SX1273_H
|
#define _RADIOLIB_SX1273_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "SX1272.h"
|
#include "SX1272.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1276_H
|
#ifndef _RADIOLIB_SX1276_H
|
||||||
#define _KITELIB_SX1276_H
|
#define _RADIOLIB_SX1276_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "SX1278.h"
|
#include "SX1278.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1277_H
|
#ifndef _RADIOLIB_SX1277_H
|
||||||
#define _KITELIB_SX1277_H
|
#define _RADIOLIB_SX1277_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "SX1278.h"
|
#include "SX1278.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1278_H
|
#ifndef _RADIOLIB_SX1278_H
|
||||||
#define _KITELIB_SX1278_H
|
#define _RADIOLIB_SX1278_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX1279_H
|
#ifndef _RADIOLIB_SX1279_H
|
||||||
#define _KITELIB_SX1279_H
|
#define _RADIOLIB_SX1279_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "SX1278.h"
|
#include "SX1278.h"
|
||||||
|
|
|
@ -1034,7 +1034,7 @@ bool SX127x::findChip(uint8_t ver) {
|
||||||
if(version == ver) {
|
if(version == ver) {
|
||||||
flagFound = true;
|
flagFound = true;
|
||||||
} else {
|
} else {
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
Serial.print(F("SX127x not found! ("));
|
Serial.print(F("SX127x not found! ("));
|
||||||
Serial.print(i + 1);
|
Serial.print(i + 1);
|
||||||
Serial.print(F(" of 10 tries) SX127X_REG_VERSION == "));
|
Serial.print(F(" of 10 tries) SX127X_REG_VERSION == "));
|
||||||
|
@ -1084,7 +1084,7 @@ void SX127x::clearIRQFlags() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
void SX127x::regDump() {
|
void SX127x::regDump() {
|
||||||
Serial.println();
|
Serial.println();
|
||||||
Serial.println(F("ADDR\tVALUE"));
|
Serial.println(F("ADDR\tVALUE"));
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_SX127X_H
|
#ifndef _RADIOLIB_SX127X_H
|
||||||
#define _KITELIB_SX127X_H
|
#define _RADIOLIB_SX127X_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
|
@ -848,7 +848,7 @@ class SX127x: public PhysicalLayer {
|
||||||
*/
|
*/
|
||||||
int16_t disableAddressFiltering();
|
int16_t disableAddressFiltering();
|
||||||
|
|
||||||
#ifdef KITELIB_DEBUG
|
#ifdef RADIOLIB_DEBUG
|
||||||
void regDump();
|
void regDump();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_XBEE_H
|
#ifndef _RADIOLIB_XBEE_H
|
||||||
#define _KITELIB_XBEE_H
|
#define _RADIOLIB_XBEE_H
|
||||||
|
|
||||||
#include "ISerial.h"
|
#include "ISerial.h"
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_HTTP_H
|
#ifndef _RADIOLIB_HTTP_H
|
||||||
#define _KITELIB_HTTP_H
|
#define _RADIOLIB_HTTP_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "TransportLayer.h"
|
#include "TransportLayer.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_MQTT_H
|
#ifndef _RADIOLIB_MQTT_H
|
||||||
#define _KITELIB_MQTT_H
|
#define _RADIOLIB_MQTT_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "TransportLayer.h"
|
#include "TransportLayer.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_PHYSICAL_LAYER_H
|
#ifndef _RADIOLIB_PHYSICAL_LAYER_H
|
||||||
#define _KITELIB_PHYSICAL_LAYER_H
|
#define _RADIOLIB_PHYSICAL_LAYER_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_RTTY_H
|
#ifndef _RADIOLIB_RTTY_H
|
||||||
#define _KITELIB_RTTY_H
|
#define _RADIOLIB_RTTY_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
#include "PhysicalLayer.h"
|
#include "PhysicalLayer.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef _KITELIB_TRANSPORT_LAYER_H
|
#ifndef _RADIOLIB_TRANSPORT_LAYER_H
|
||||||
#define _KITELIB_TRANSPORT_LAYER_H
|
#define _RADIOLIB_TRANSPORT_LAYER_H
|
||||||
|
|
||||||
#include "TypeDef.h"
|
#include "TypeDef.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue