Skip to content

MAP-73 Update EC Bite Device Server

Mae requested to merge map-74-update-bite-ds into main

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:

  1. 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
  1. Add the following attributes (and their methods):
  • bite_config_data
  • filter_data
  • cbf_input_data
  1. Add commands that take in a file as a string and load in those 3 new attributes
  2. Remove any reference to tests.json file
  3. Remove obsolete json files
  4. Remove load_in_input_json() and simplify init()
  5. Rename bite.py to bite_device.py
  6. Add error handling if invalid jsons are loaded
  7. All commands now return a tuple that consists of: [ [ResultCode], [message] ]
  8. Changed num_taps to num_coeffs in bite_client.py, as num_taps doesn't exist in the filters.
Edited by Mae

Merge request reports