def _get_fsapi_value_list(self, doc: str):
    self._fsapi.write_log(f'Getting List, result: {doc}')
    xml = minidom.parseString(doc).firstChild
    if (not (xml.getElementsByTagName('status')[0].firstChild.data == 'FS_OK')):
        return None
    ret_store = []
    res = xml.getElementsByTagName('item')
    for item in res:
        index = int((item.getAttribute('key') or '-1'))
        attrs = {}
        attrs['key'] = index
        for field in item.getElementsByTagName('field'):
            fn = field.getAttribute('name')
            fv = ''
            for tag_type in ['c8_array', 'u8', 'u32', 's16']:
                for val in field.getElementsByTagName(tag_type):
                    if (val.firstChild is None):
                        fv = None
                    else:
                        fv = val.firstChild.data
            attrs[fn] = fv
        ret_store.append(attrs)
    self._fsapi.write_log(f'Parsed List, result: {ret_store}')
    return ret_store
def _get_fsapi_value_list(self, doc: str):
    self._fsapi.write_log(f'Getting List, result: {doc}')
    xml = minidom.parseString(doc).firstChild
    if (not (xml.getElementsByTagName('status')[0].firstChild.data == 'FS_OK')):
        return None
    ret_store = []
    res = xml.getElementsByTagName('item')
    for item in res:
        index = int((item.getAttribute('key') or '-1'))
        attrs = {}
        attrs['key'] = index
        for field in item.getElementsByTagName('field'):
            fn = field.getAttribute('name')
            fv = 
            for tag_type in ['c8_array', 'u8', 'u32', 's16']:
                for val in field.getElementsByTagName(tag_type):
                    if (val.firstChild is None):
                        fv = None
                    else:
                        fv = val.firstChild.data
            attrs[fn] = fv
        ret_store.append(attrs)
    self._fsapi.write_log(f'Parsed List, result: {ret_store}')
    return ret_store