| 7221 | } |
| 7222 | |
| 7223 | bool Driver::CheckNodeConfigRevision |
| 7224 | ( |
| 7225 | Node *node |
| 7226 | ) |
| 7227 | { |
| 7228 | DNSLookup *lu = new DNSLookup; |
| 7229 | lu->NodeID = node->GetNodeId(); |
| 7230 | /* make up a string of what we want to look up */ |
| 7231 | std::stringstream ss; |
| 7232 | ss << std::hex << std::setw(4) << std::setfill('0') << node->GetProductId() << "."; |
| 7233 | ss << std::hex << std::setw(4) << std::setfill('0') << node->GetProductType() << "."; |
| 7234 | ss << std::hex << std::setw(4) << std::setfill('0') << node->GetManufacturerId() << ".db.openzwave.com"; |
| 7235 | |
| 7236 | lu->lookup = ss.str(); |
| 7237 | lu->type = DNS_Lookup_ConfigRevision; |
| 7238 | return m_dns->sendRequest(lu); |
| 7239 | } |
| 7240 | |
| 7241 | bool Driver::CheckMFSConfigRevision |
| 7242 | ( |
no test coverage detected