in pygatt/backends/bgapi/bgapi.py, in function _scan_rsp_data():
line 554:
# End of field
field_name = (
constants.scan_response_data_type[field_value[0]])
line 583:
data_dict[field_name] = bytearray(field_value)
at every fileld end, no check is performed on the existance of the key 'field_name' prior to assignment.
BLE standard allows for certain data types to be repeated.