Make Configuration block more visible
Moved down PSK a bit down to make it clear, that it doesnt need to be changed. Made it more clear which lines need to be checked/modified
This commit is contained in:
parent
16ec24c705
commit
3cb1042fb4
|
@ -3,9 +3,8 @@
|
||||||
#define REGION RegionCode_EU865 // define your region here. For US, RegionCode_US, CN RegionCode_Cn etc.
|
#define REGION RegionCode_EU865 // define your region here. For US, RegionCode_US, CN RegionCode_Cn etc.
|
||||||
char MESHTASTIC_NAME[12] = {"Default"}; // Channel Name, but without "-Xy" suffix , e.g. use "Test" instead of "Test-A"
|
char MESHTASTIC_NAME[12] = {"Default"}; // Channel Name, but without "-Xy" suffix , e.g. use "Test" instead of "Test-A"
|
||||||
#define MESHTASTIC_SPEED 3 // 0 = short range, 1 = medium range, 2 = long range, 3 = very long range
|
#define MESHTASTIC_SPEED 3 // 0 = short range, 1 = medium range, 2 = long range, 3 = very long range
|
||||||
|
|
||||||
#define TX_MAX_POWER 22 // max output power in dB, keep in mind the maximums set by law and the hardware
|
#define TX_MAX_POWER 22 // max output power in dB, keep in mind the maximums set by law and the hardware
|
||||||
#define MESHTASTIC_PSK { 0x10, 0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0xbf }
|
// CONFIGURATION END
|
||||||
|
|
||||||
#define RGB_GREEN 0x000300 // receive mode --- not longer used (save energy)
|
#define RGB_GREEN 0x000300 // receive mode --- not longer used (save energy)
|
||||||
#define RGB_RED 0x030000 // send mode
|
#define RGB_RED 0x030000 // send mode
|
||||||
|
@ -29,6 +28,9 @@ typedef enum _RegionCode {
|
||||||
} RegionCode;
|
} RegionCode;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// the PSK is not used for encrypion/decryption, you can leave it as it is
|
||||||
|
#define MESHTASTIC_PSK { 0x10, 0xd4, 0xf1, 0xbb, 0x3a, 0x20, 0x29, 0x07, 0x59, 0xf0, 0xbc, 0xff, 0xab, 0xcf, 0x4e, 0x69, 0xbf }
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32_t to, from, id;
|
uint32_t to, from, id;
|
||||||
uint8_t flags; // The bottom three bits of flags are used to store hop_limit, bit 4 is the WANT_ACK flag
|
uint8_t flags; // The bottom three bits of flags are used to store hop_limit, bit 4 is the WANT_ACK flag
|
||||||
|
|
Loading…
Reference in New Issue