| 67 | } |
| 68 | |
| 69 | QList<QString> RegMap_API::search(QString searchParam) |
| 70 | { |
| 71 | QList<uint32_t> resultIndexes; |
| 72 | DeviceRegisterMap *devRegMap = getActiveDevRegMap(); |
| 73 | resultIndexes = Search::searchForRegisters(devRegMap->registerMapTemplate->getRegisterList(), searchParam); |
| 74 | QList<QString> resultList; |
| 75 | |
| 76 | for(int i = 0; i < resultIndexes.size(); i++) { |
| 77 | resultList.append(QString::number(resultIndexes[i])); |
| 78 | } |
| 79 | return resultList; |
| 80 | } |
| 81 | |
| 82 | void RegMap_API::readInterval(QString startAddr, QString stopAddr) |
| 83 | { |