# config.py ver 0.3.0
# 9-19-2010 Nathan Fritsche
# 

interval_sec = 60000

### iDigi Settings ###
idigi_addr = "developer.idigi.com"
port = "80"
username = "nathanf"
password = "123idigi"

logfiledir = "./log/"
#output_type = "txt"  # xml or xls not yet supported
logfilename = "processed.txt"
logfilepath = logfiledir + logfilename

copy_output_to_idigi = "False"

# firmware image files (*.ebl) are loaded from the /ebl/ directory
firmwaredir = "./ebl/"
zb_filename = "XBP24-ZB_2141.ebl"
#zb_filename = "XBP24-ZB_2170.ebl"

# ex: verRequired_zb = "0x2170"
zb_version_required = "0x2141"
#zb_version_required = "0x2170"

# TODO: add the ability to update all fw types,
# keeping required versions and ebl names in a list
filename_znet = ""
znet_version_required = ""

###################
## SPECIAL FLAGS ##
###################
# "forceUpdate" = (Boolean) fw with the same protocol will be upgraded \
#                  regardless of version.
forceUpdate = True

# "deleteFwFile" = (Boolean) fw file will be deleted after successful upgr
# (not yet supported)
deleteFwFile = False

# condition variables for upgrade
radio_upg_candidates = ["S2", "S2Pro", "S2B Pro"]
