update README.md

This commit is contained in:
Verkehrsrot 2019-09-20 21:30:23 +02:00
parent 8fba63a53f
commit b587a5604e
3 changed files with 22 additions and 9 deletions

View File

@ -311,7 +311,7 @@ Note: all settings are stored in NVRAM and will be reloaded when device starts.
Example for EU868: Example for EU868:
DataRate Radio Bit/s DataRate Configuration Bit/s
0 LoRa: SF12 / 125 kHz 250 0 LoRa: SF12 / 125 kHz 250
1 LoRa: SF11 / 125 kHz 440 1 LoRa: SF11 / 125 kHz 440
2 LoRa: SF10 / 125 kHz 980 2 LoRa: SF10 / 125 kHz 980
@ -320,20 +320,33 @@ Note: all settings are stored in NVRAM and will be reloaded when device starts.
5 LoRa: SF7 / 125 kHz 5470 5 LoRa: SF7 / 125 kHz 5470
6* LoRa: SF7 / 250 kHz 11000 6* LoRa: SF7 / 250 kHz 11000
7* FSK: 50 kbps 50000 7* FSK: 50 kbps 50000
8 .. 14 reserved for future use (RFU)
15 ignored (device keeps current setting)
*) not supported by TheThingsNetwork *) not supported by TheThingsNetwork
0x06 set LoRa TXpower 0x06 set LoRa TXpower
0 ... 15 [default: 14] 0 ... 15 [default: 7]
TXPower Configuration
0 Max EIRP (usually +16dB)
1 -2dB
2 -4dB
3 -6dB
4 -8dB
5 -10dB
6 -12dB
7 -14dB
8 .. 14 reserved for future use (RFU)
15 ignored (device keeps current setting)
0x07 set LoRa Adaptive Data Rate mode 0x07 set LoRa Adaptive Data Rate mode
0 = ADR off 0 = ADR off
1 = ADR on [default] 1 = ADR on [default]
Note: set ADR to off, if device is moving, set to on, if not. If ADR is set to off, SF value is shown inverted on display.
If ADR is set to on, SF value is shown inverted on display.
0x08 do nothing 0x08 do nothing

View File

@ -7,7 +7,7 @@
; ---> SELECT THE TARGET PLATFORM HERE! <--- ; ---> SELECT THE TARGET PLATFORM HERE! <---
[board] [board]
halfile = generic.h ;halfile = generic.h
;halfile = ebox.h ;halfile = ebox.h
;halfile = eboxtube.h ;halfile = eboxtube.h
;halfile = ecopower.h ;halfile = ecopower.h
@ -18,7 +18,7 @@ halfile = generic.h
;halfile = ttgov21old.h ;halfile = ttgov21old.h
;halfile = ttgov21new.h ;halfile = ttgov21new.h
;halfile = ttgofox.h ;halfile = ttgofox.h
;halfile = ttgobeam.h halfile = ttgobeam.h
;halfile = ttgobeam10.h ;halfile = ttgobeam10.h
;halfile = fipy.h ;halfile = fipy.h
;halfile = lopy.h ;halfile = lopy.h
@ -46,7 +46,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
release_version = 1.8.3 release_version = 1.8.3
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 3 debug_level = 4
extra_scripts = pre:build.py extra_scripts = pre:build.py
otakeyfile = ota.conf otakeyfile = ota.conf
lorakeyfile = loraconf.h lorakeyfile = loraconf.h

View File

@ -49,7 +49,7 @@
#define RETRANSMIT_RCMD 5 // [seconds] wait time before retransmitting rcommand results #define RETRANSMIT_RCMD 5 // [seconds] wait time before retransmitting rcommand results
#define PAYLOAD_BUFFER_SIZE 51 // maximum size of payload block per transmit #define PAYLOAD_BUFFER_SIZE 51 // maximum size of payload block per transmit
#define LORADRDEFAULT 5 // 0 .. 15, LoRaWAN datarate, according to regional LoRaWAN specs [default = 5] #define LORADRDEFAULT 5 // 0 .. 15, LoRaWAN datarate, according to regional LoRaWAN specs [default = 5]
#define LORATXPOWDEFAULT 14 // 0 .. 15, LoRaWAN TX power #define LORATXPOWDEFAULT 7 // 0 .. 15, LoRaWAN TX power [default = 7]
#define MAXLORARETRY 500 // maximum count of TX retries if LoRa busy #define MAXLORARETRY 500 // maximum count of TX retries if LoRa busy
#define SEND_QUEUE_SIZE 10 // maximum number of messages in payload send queue [1 = no queue] #define SEND_QUEUE_SIZE 10 // maximum number of messages in payload send queue [1 = no queue]
@ -75,7 +75,7 @@
#define TIME_SYNC_INTERVAL_RETRY 10 // retry time sync after lost sync each .. minutes [default = 10], 0 means off #define TIME_SYNC_INTERVAL_RETRY 10 // retry time sync after lost sync each .. minutes [default = 10], 0 means off
#define TIME_SYNC_COMPILEDATE 0 // set to 1 to use compile date to initialize RTC after power outage [default = 0] #define TIME_SYNC_COMPILEDATE 0 // set to 1 to use compile date to initialize RTC after power outage [default = 0]
#define TIME_SYNC_LORAWAN 0 // set to 1 to use LORA network as time source, 0 means off [default = 0] #define TIME_SYNC_LORAWAN 0 // set to 1 to use LORA network as time source, 0 means off [default = 0]
#define TIME_SYNC_LORASERVER 0 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0] #define TIME_SYNC_LORASERVER 1 // set to 1 to use LORA timeserver as time source, 0 means off [default = 0]
// settings for syncing time with timeserver applications // settings for syncing time with timeserver applications
#define TIME_SYNC_SAMPLES 1 // number of time requests for averaging #define TIME_SYNC_SAMPLES 1 // number of time requests for averaging