From 2f3f10bffcd17e12738ffd23214e3ef9ed6995f6 Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 19 Jun 2020 12:47:47 +0300 Subject: [PATCH 1/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5abedc4..1838586 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ It is possible to use modem **in client mode** with other generic Linux ax25/apr # sudo beacon -c NOCALL-7 -d "CQ WIDE1-1 WIDE2-1" ax25 "anyone on lora?" # sudo beacon -c NOCALL-7 -d "APZMDM WIDE1-1" ax25 "!0000.00N/00000.00E#test position report" ``` +- Connect to another client with NET/ROM as `sudo axcall -s NOCALL-1 ax25 NOCALL-10` # Test Results ![alt text](images/setup.png) From 112e8ca9d96abe4858181154f7582ffef64b2ace Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 19 Jun 2020 12:58:14 +0300 Subject: [PATCH 2/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1838586..adb3946 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,9 @@ It is possible to use modem **in client mode** with other generic Linux ax25/apr - Run `axlisten` to capture incoming and outgoing traffic as `sudo axlisten -a` - Use `beacon` utility to send custom packet as ``` - # sudo beacon -c NOCALL-7 -d "BEACON WIDE3-3" ax25 "beacon over lora" - # sudo beacon -c NOCALL-7 -d "CQ WIDE1-1 WIDE2-1" ax25 "anyone on lora?" - # sudo beacon -c NOCALL-7 -d "APZMDM WIDE1-1" ax25 "!0000.00N/00000.00E#test position report" + # sudo beacon -s -c NOCALL-7 -d "BEACON WIDE3-3" ax25 "beacon over lora" + # sudo beacon -s -c NOCALL-7 -d "CQ WIDE1-1 WIDE2-1" ax25 "anyone on lora?" + # sudo beacon -s -c NOCALL-7 -d "APZMDM WIDE1-1" ax25 "!0000.00N/00000.00E#test position report" ``` - Connect to another client with NET/ROM as `sudo axcall -s NOCALL-1 ax25 NOCALL-10` From af96dd9f4a12f1e143c27e53d68e10235f482d55 Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 19 Jun 2020 13:02:49 +0300 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adb3946..f407db1 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ It is possible to use modem **in client mode** with other generic Linux ax25/apr # sudo beacon -s -c NOCALL-7 -d "CQ WIDE1-1 WIDE2-1" ax25 "anyone on lora?" # sudo beacon -s -c NOCALL-7 -d "APZMDM WIDE1-1" ax25 "!0000.00N/00000.00E#test position report" ``` -- Connect to another client with NET/ROM as `sudo axcall -s NOCALL-1 ax25 NOCALL-10` +- Connect to another client as `sudo axcall -s NOCALL-1 ax25 NOCALL-10` # Test Results ![alt text](images/setup.png) From 0bc28bcd1e80c4d1117611cc646b3fd451b57673 Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 19 Jun 2020 14:25:02 +0300 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f407db1..37eaa1d 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ All work was done on ESP32-WROOM with custom made LoRa shield, if your ESP32 boa - lora spread factor `cfg.LoraSf`, 12 (should decode down to -20dB, choosen with the goal for minimum signal decode) - lora coding rate `cfg.LoraCodingRate`, 7 - lora output power `cfg.LoraPower`, 20 (max 20 dBm ~ 100mW, change to lower value if needed) - - sync word `cfg.LoraSync`, 0x3f + - sync word `cfg.LoraSync`, 0x34 - consider minimum decode level based on on BW + SF and required throughput ![alt text](images/bandwidth_vs_sf.jpg) - use 80 MHz ESP32 frequency in Arduino SDK, it will prolong battery life when operating portable, higher CPU speed is not required, there are no CPU intensive operations - uses LoRa **built-in checksum** calculation to drop broken packets @@ -78,7 +78,7 @@ It is possible to use modem **in client mode** with other generic Linux ax25/apr ``` - Run `rfcomm` to setup serial over Bluetooth at `/dev/rfcomm0`: `sudo rfcomm bind 0 01:02:03:04:05:06` - At this stage you can already start using `xastir` or any other application, which can operate over KISS Serial TNC -- Alternatively, you can setup `AX25` network interface with `sudo kissattach /dev/rfcomm0 ax25` command, but previously need to update `/etc/ax25/axports` with new line as `ax25 CALLSIGN-10 9600 255 1 comment` +- Alternatively, you can setup `AX25` network interface with `sudo kissattach /dev/rfcomm0 ax25` command, but previously need to update `/etc/ax25/axports` with new line as `ax25 CALLSIGN-10 9600 255 1 comment`, you can also specify IP address if there is a need to run TCP/IP over AX25 - Run `axlisten` to capture incoming and outgoing traffic as `sudo axlisten -a` - Use `beacon` utility to send custom packet as ``` From 4cd3a0b2aabe27820d4ee5330b649e9d4be53e21 Mon Sep 17 00:00:00 2001 From: sh123 Date: Fri, 19 Jun 2020 14:25:45 +0300 Subject: [PATCH 5/5] Update esp32_loraprs.ino --- esp32_loraprs.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32_loraprs.ino b/esp32_loraprs.ino index 8c41fd4..a46e209 100644 --- a/esp32_loraprs.ino +++ b/esp32_loraprs.ino @@ -20,7 +20,7 @@ void initializeConfig() { cfg.LoraBw = 125e3; cfg.LoraSf = 12; cfg.LoraCodingRate = 7; - cfg.LoraSync = 0x3f; + cfg.LoraSync = 0x34; cfg.LoraPower = 20; // aprs configuration