Skip to content

Commit

Permalink
Add library identification
Browse files Browse the repository at this point in the history
  • Loading branch information
weekroom committed Jan 8, 2025
1 parent 185fc3a commit cda0fbf
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
22 changes: 22 additions & 0 deletions library.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "M5-LoRaWAN-RAK",
"description": "Library for M5Stack M5Unit LoRaWAN",
"keywords": "M5-LoRaWAN-RAK",
"authors": {
"name": "M5Stack",
"url": "http://www.m5stack.com"
},
"repository": {
"type": "git",
"url": "https://github.com/m5stack/M5-LoRaWAN-RAK.git"
},
"version": "1.0.0",
"frameworks": [
"arduino"
],
"platforms": [
"espressif32",
"native"
]

}
9 changes: 9 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name=M5-LoRaWAN-RAK
version=1.0.0
author=M5Stack
maintainer=M5Stack
sentence=Library for M5Stack M5Unit LoRaWAN
paragraph=M5Stack, LoRaWAN, See more on http://M5Stack.com
category=Display
url=https://github.com/m5stack/M5-LoRaWAN-RAK.git
architectures=esp32
1 change: 0 additions & 1 deletion src/rak3172_lorawan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

bool RAK3172LoRaWAN::init(HardwareSerial* serial, int rx, int tx, rak3172_bps_t baudRate)
{

RAK3172::init(serial, rx, tx, baudRate);
delay(100);
return (sendCommand("AT+NWM=1") && sendCommand("AT"));
Expand Down
1 change: 0 additions & 1 deletion src/rak3172_p2p.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ void RAK3172P2P::update()

bool RAK3172P2P::init(HardwareSerial* serial, int rx, int tx, rak3172_bps_t baudRate)
{

RAK3172::init(serial, rx, tx, baudRate);
restart();
delay(100);
Expand Down

0 comments on commit cda0fbf

Please sign in to comment.