-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStandard_Settings.py
24 lines (17 loc) · 1.13 KB
/
Standard_Settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Customer file locations
OPFILE_NAME = "custfile.txt"
OPFILE_LOCATION = "."
#Recordfile locations
RECORDFILE_LOCATION = "/home/pi/Projects/pineapple/PiApplication/DataFiles" # Where to store the records file, program automatically added '/' at the end
RECORDFILE_NAME = "DATA_" # The Base name part of the file
RECORDFILE_EXT = ".rec" # The extension for the record files
RECORDFILE_OLD = ".oldrec" # The extension used when the record can't be written and is stored for future analysis
RECORD_TRY_COUNT = 10 # How many times, when connected the Data Accessor will try and send a record
EEPROM_READ_RETRY = 5 # How many times it will try and read data from the EEPROM
RECORDFILE_MIN_SIZE = 1 # The minimum value when len(record) in the recordfile, to cater for '[[]]' empty files
RECORDFILE_MAX_SIZE = 255 # The maximum value when len(record) in the recordfile
#Comms general values
REPLY_WAIT = 5 # How long to wait for a response
RETRIES = 5 # How many attempts to take to communicate
def test():
return