From 7d7e1f85a7ff1dac345a11481afe9ac4417e6609 Mon Sep 17 00:00:00 2001 From: tuxphone <67556506+tuxphone@users.noreply.github.com> Date: Sat, 19 Sep 2020 15:15:14 +0200 Subject: [PATCH] Update README.md --- README.md | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 2040eb7..07618d3 100644 --- a/README.md +++ b/README.md @@ -16,21 +16,10 @@ Will work with any packet meeting the radio settings, but the serial output is b Modify radio settings for your own channels: -Look for the following defines and change to your needs. The settings will be stored in "ChanSet" and used to configure the radio. +Edit the CONFIGURATION block in MeshRadio.h -#define LORA_SPREADING_FACTOR 12 // [SF5..SF12] - -#define LORA_CODINGRATE 4 // [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8] - -#define LORA_CHAN_NUM 0 // Channel Number (meshtastic specific) - - -Note: with "HW_VERSION" you select your country/continent settings. For US use HW_VERSION_US, for CN use HW_VERSION_CN. See Meshradio.h - -#define HW_VERSION_EU865 // define your region _before_ including MeshRadio.h ! - -#include "MeshRadio.h" - - -ChannelSettings ChanSet={ TX_OUTPUT_POWER, ChannelSettings_ModemConfig_Bw125Cr48Sf4096, mPSK, "Default", - LORA_BANDWIDTH, LORA_SPREADING_FACTOR, LORA_CODINGRATE, LORA_CHAN_NUM }; +e.g. +HW_VERSION_EU865 - defines your region (to EU). For US, use HW_VERSION_US, for CN use HW_VERSION_CN etc. +MESHTASTIC_SPEED 3 - defines your speed to "very long range". Other values are: 0 = short range, 1 = medium range, 2 = long range, 3 = very long range +MESHTASTIC_NAME[12] = {"Default"} - sets yor Channel Name, but without "-Xy" suffix , e.g. use "Test" instead of "Test-A" +TX_OUTPUT_POWER 22 - sets output power to 22 dB. Keep in mind the maximums set by law and the hardware