MAP-73 Update EC Bite Device Server
This story started out as a follow-up story of MAP-40 from PI21 to finish up some remaining work for the BITE device server. It later became a story to simplify how the BITE DS works, as follows:
- Remove all unnecessary attributes (and their methods and references to them) including:
targetTalons
test_id
input_data_id
config_method
bite_config_id
bite_initial_timestamp_time_offset
test_parameters
bite_json
test_param_location
talon_instance
bite_mac_address
- Add the following attributes (and their methods):
bite_config_data
filter_data
cbf_input_data
- Add commands that take in a file as a string and load in those 3 new attributes
- Remove any reference to
tests.json
file - Remove obsolete json files
- Remove
load_in_input_json()
and simplifyinit()
- Rename
bite.py
tobite_device.py
- Add error handling if invalid jsons are loaded
- All commands now return a tuple that consists of:
[ [ResultCode], [message] ]
- Changed
num_taps
tonum_coeffs
inbite_client.py
, asnum_taps
doesn't exist in the filters.
Edited by Mae