Update README.md
This commit is contained in:
parent
d82d0f7e46
commit
7d7e1f85a7
23
README.md
23
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
|
||||
|
|
Loading…
Reference in New Issue