1
0
Fork 0

only send device IP until binding is better implimented

This commit is contained in:
Kevin Matz 2023-05-21 14:18:24 -04:00
parent 2b8be50db8
commit 97802bbebf
1 changed files with 2 additions and 1 deletions

View File

@ -418,6 +418,7 @@ void Device::txArtPollReply(std::shared_ptr<pollreply_data> reply)
reply = std::make_shared<pollreply_data>();
/// \todo complete data field population of ArtPollReply
reply->my_ip = deviceIp().address.ipv4.value;
// reply->net_sub_switch = ;
// reply->ubea_version = ;
reply->status = device_status;
@ -435,7 +436,7 @@ void Device::txArtPollReply(std::shared_ptr<pollreply_data> reply)
reply->style = styleCode;
const auto mac = deviceMac();
std::copy(mac.cbegin(), mac.cend(), reply->mac_address);
reply->bind_ip = deviceIp().address.ipv4.value;
// reply->bind_ip = reply->my_ip;
// reply->bind_index = ;
auto packet = std::make_shared<ArtPollReply>(reply);